[Bug 27488] Dynamic CSS not loaded immediately

2011-03-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

Ilmari Karonen nos...@vyznev.net changed:

   What|Removed |Added

 CC||nos...@vyznev.net

--- Comment #5 from Ilmari Karonen nos...@vyznev.net 2011-03-08 15:20:09 UTC 
---
I wonder if implementing the suggestion I made in bug 25860 would solve at
least some of this?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-03-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

--- Comment #6 from WlaKom w...@polhome.com 2011-03-08 17:47:39 UTC ---
So far, the jumping page stopped, after I implemented your suggestion. Thank
you.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-03-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

--- Comment #7 from WlaKom w...@polhome.com 2011-03-08 23:19:34 UTC ---
The jumping page stopped, but only for articles. The forum pages are still
jumping and not stop with the selected title discussion at the top of the
page.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-03-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

w...@polhome.com changed:

   What|Removed |Added

 CC||w...@polhome.com

--- Comment #4 from w...@polhome.com 2011-03-02 16:54:36 UTC ---
Follow-up Nux comment.
It is very annoying and drive me crazy. 
Pages on plWiki jumping up and down every time I open it. Sometimes they are
empty for a while The same happens enWiki recently, when I open the forum to
the topic. Page jumps up, then to the center, then down, but not on the
selected title discussion.
In this way, it discouraged people from writing on Wikipedia.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-03-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

--- Comment #3 from Nux e...@wp.pl 2011-03-01 22:47:27 UTC ---
Bug 27620 seem to be related as both seem to be caused by the fact that all
scripts were moved from head to the bottom of a page. I see no workaround and I
think all/most scripts should be moved to head. It would certainly fix this
bug.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-02-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

--- Comment #1 from Roan Kattouw roan.katt...@gmail.com 2011-02-22 21:01:48 
UTC ---
(In reply to comment #0)
 Steps:
 1. Use document.write to include JS.
 2. Use document.write (not in onload!) to create dynamic CSS.
 
 Example script attached.
 
There's no attachment.

 I know what you think about document.write, but the bottom line is that it 
 used
 to work and it was a valid usage. If there is a workaround for that then I'm
 not aware of it.
 
document.write isn't necessarily evil, there are cases in which its use its
warranted. ResourceLoader itself uses it, even. However, RL will have broken
many usages of document.write that previously used to work.

Also, could you describe what happened before and what happens now?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-02-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

--- Comment #2 from Nux e...@wp.pl 2011-02-23 00:13:13 UTC ---
(In reply to comment #1)
 (In reply to comment #0)
  Steps:
  1. Use document.write to include JS.
  2. Use document.write (not in onload!) to create dynamic CSS.
  
  Example script attached.
  
 There's no attachment.

Sorry, I meant linked. It's this one:
http://pl.wikipedia.org/wiki/User:Nux/hideSidebar.dev.js
Have a look at what happens in Fast CSS init block of code.

  I know what you think about document.write, but the bottom line is that it 
  used
  to work and it was a valid usage. If there is a workaround for that then I'm
  not aware of it.
  
 document.write isn't necessarily evil, there are cases in which its use its
 warranted. ResourceLoader itself uses it, even. However, RL will have broken
 many usages of document.write that previously used to work.
 
 Also, could you describe what happened before and what happens now?

It used to work as if the CSS were loaded like normal, linked in header. This
is because I used document.write to insert a style element with some rules. Now
it looks like the page is being loaded and only after the elements are loaded
the CSS is applied. I'm guessing that this is because some scripts were moved
from the header below the footer. Hm... So anyway is there any workaround for
this?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

Nux e...@wp.pl changed:

   What|Removed |Added

URL|view-source:http://pl.wikip |http://pl.wikipedia.org/w/i
   |edia.org/w/index.php?title= |ndex.php?title=Wikipedysta:
   |Wikipedysta:Nux/hideSidebar |Nux/hideSidebar.dev.jsacti
   |.dev.jsaction=rawctype=te |on=rawctype=text/javascrip
   |xt/javascriptdontcountme=s |tdontcountme=s

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 27488] Dynamic CSS not loaded immediately

2011-02-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27488

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Normal  |Lowest
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l