Page MenuHomePhabricator

Centralnotice.js causes (non-fatal) error in Safari 3.2.2
Closed, ResolvedPublic

Description

Centralnotice.js creates some custom CSS definitions using a document.writeln ("\x3cstyle...").

For some reason unknown to me, this causes Safari 3.2.2 (Webkit 525.28.1) to note an error "[The HTML that caused this error was generated by a script.] <style> is not allowed inside <div>. Moving <style> into the <head>."

The error is not fatal (the Safari error message seems to indicate that Safari can deal with it), but maybe it'd be better to use appendCSS from wikibits.js to generate that CSS.


Version: unspecified
Severity: normal

Details

Reference
bz18250

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz18250.

*** This bug has been marked as a duplicate of bug 19704 ***