[wpt-sync] Sync PR 24453 - [FragmentItem] Limit reusing cached lines only when top-level child is clean
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24453 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24453
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
[FragmentItem] Limit reusing cached lines only when top-level child is clean
This patch simplifies |DirtyLinesFromNeedsLayout| to check
|NeedsLayout| of top-level children only.The previous code tried to reuse more lines, e.g.:
\<div>\<span>many lines of text\</span>\</div>
Most lines are reusable when appending to the end of "text".
But supporting this case complicates the logic, especially
when culled inline is involved.The new logic can't reuse lines in the above case, but still
can reuse liens if the\<span>
does not exist, and should
cover most common cases.Bug: 1102083
Change-Id: I4f76e154b834c8c00e5ce04ab251c4f1fcdabab0Reviewed-on: https://chromium-review.googlesource.com/2282821
WPT-Export-Revision: b929d5ba9d28b40997da2660f0e479596d634c16
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9df2901bcddecf14fca9923851ea8b5fe3d6d87d
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0110e577b7f [wpt PR 24453] - [FragmentItem] Limit reusing cached lines only when top-level child is clean, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•