Closed Bug 1411860 Opened 7 years ago Closed 7 years ago

Make the creation of nsDisplaySubDocument unconditional

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

Details

Attachments

(1 file)

The conditional creation of nsDisplaySubDocument may cause wrong painting count when using retained display list. A related testcase is "layout/base/tests/test_scroll_event_ordering.html".
Comment on attachment 8922218 [details]
Bug 1411860 - Create nsDisplaySubDocument unconditionally.

https://reviewboard.mozilla.org/r/193240/#review198476
Attachment #8922218 - Flags: review?(matt.woodrow) → review+
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/9facbd5bc72a
Create nsDisplaySubDocument unconditionally. r=mattwoodrow
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c6307a06e78
Create nsDisplaySubDocument unconditionally. r=mattwoodrow
Backout by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a402f6926b4b
Backed out 2 changesets (bug 1411860, bug 1411886) for failing reftests layout/reftests/bugs/409084-1{a,b}.html on OS X. r=backout on a CLOSED TREE
Backed out bug 1411860 and bug 1411886 for failing reftests layout/reftests/bugs/409084-1{a,b}.html on OS X:

https://hg.mozilla.org/integration/mozilla-inbound/rev/a402f6926b4b5aa6777282d604a903126ee2610c

Push with failure: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=be44e8cd8503ba234372f7fe3d120607f1f00aea&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=retry&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception
Next push which ran it on more OS X variants: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=6eac731d5c33a24ef8d69a410554f201ab21a9ab&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=retry&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=139877411&repo=mozilla-inbound

REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/tasks/task_1509028499/build/tests/reftest/tests/layout/reftests/bugs/409084-1a.html == file:///Users/cltbld/tasks/task_1509028499/build/tests/reftest/tests/layout/reftests/bugs/409084-1-ref.html | image comparison, max difference: 1, number of differing pixels: 460
REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/tasks/task_1509028499/build/tests/reftest/tests/layout/reftests/bugs/409084-1b.html == file:///Users/cltbld/tasks/task_1509028499/build/tests/reftest/tests/layout/reftests/bugs/409084-1-ref.html | image comparison, max difference: 1, number of differing pixels: 460
Flags: needinfo?(ethlin)
I should override GetLayerState for nsDisplaySubDocument and return different state according to 'mShouldFlatten'.
Flags: needinfo?(ethlin)
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5c215bc2abdd
Create nsDisplaySubDocument unconditionally. r=mattwoodrow
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b47ad61d282f
(follow-up) add display list changes for the bug. r=me
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: