Closed
Bug 577508
Opened 14 years ago
Closed 14 years ago
HTML5 parser regresses bug 253951
Categories
(Core :: DOM: HTML Parser, defect, P2)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: bzbarsky, Assigned: hsivonen)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
3.62 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
The HTML5 parser's FlushPendingNotifications doesn't start layout on layout flushes. As a result, bug 253951 is reintroduced. I wish we had a way to write a test for this. :( Maybe we should think of a better way to fix that bug than flushing?
Assignee | ||
Comment 1•14 years ago
|
||
Not sure yet if this starts layout more often than necessary.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Assignee | ||
Updated•14 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 457871 [details] [diff] [review] Make FlushPendingNotifications call nsContentSink::StartLayout This early layout start is triggered on only two pages in the tp4 pageset, so I guess this code doesn't run too often to be a problem.
Attachment #457871 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 457871 [details] [diff] [review] Make FlushPendingNotifications call nsContentSink::StartLayout Oops. This patch causes unit test badness. :-(
Attachment #457871 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 4•14 years ago
|
||
How so?
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4) > How so? The patch starts layout but doesn't flush ops. There are mochitests that want to read colors but get all white data back if layout has started before ops have been flushed.
Assignee | ||
Comment 6•14 years ago
|
||
Well, at least *a* mochitest: http://mxr-test.konigsberg.mozilla.org/mozilla-central/source/layout/base/tests/test_bug469170.html?force=1
Updated•14 years ago
|
blocking2.0: ? → final+
Assignee | ||
Comment 7•14 years ago
|
||
The same patch as before but dealing with yet another test that used a data: URL withou onload.
Attachment #457871 -
Attachment is obsolete: true
Attachment #472721 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 8•14 years ago
|
||
Comment on attachment 472721 [details] [diff] [review] Make FlushPendingNotifications call nsContentSink::StartLayout, run a test on onload r=me
Attachment #472721 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 9•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/353a0ee16d78
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•