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

Reply via email to