Closed Bug 539882 Opened 10 years ago Closed 10 years ago

[HTML5][Patch] content/html/document/test/test_bug324378.html fails

Categories

(Core :: DOM: HTML Parser, defect, P1)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hsivonen, Assigned: hsivonen)

Details

Attachments

(1 file, 1 obsolete file)

content/html/document/test/test_bug324378.html assumes that the attributes of a second <head> tag are added to the head element, but HTML5 says otherwise to align with IE/Safari behavior.
Attachment #421790 - Flags: review?(bzbarsky)
Summary: [HTML5] content/html/document/test/test_bug324378.html fails → [HTML5][Patch] content/html/document/test/test_bug324378.html fails
Comment on attachment 421790 [details] [diff] [review]
Change the test not to expect attributes to be added to head

r=bzbarsky
Attachment #421790 - Flags: review?(bzbarsky) → review+
Oops. Sorry. todo_is() is no good here, because it gives an UNEXPECTE-PASS when the pref is flipped.
Attachment #421790 - Attachment is obsolete: true
Attachment #422311 - Flags: review?(bzbarsky)
Attachment #422311 - Flags: review?(bzbarsky) → review+
Comment on attachment 422311 [details] [diff] [review]
Change the test not to expect attributes to be added to head without using todo

Please file a bug on uncommenting, put that bug# in the comment here, and make that bug depend on the "flip by default" bug?
(In reply to comment #4)
> (From update of attachment 422311 [details] [diff] [review])
> Please file a bug on uncommenting, put that bug# in the comment here, and make
> that bug depend on the "flip by default" bug?

Thanks. That bug is now bug 541918.
Pushed:
http://hg.mozilla.org/mozilla-central/rev/e7383a2e123d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.