[wpt-sync] Sync PR 26229 - Fix line cache when `-webkit-line-clamp` is specified
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26229 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26229
Details from upstream follow.
b'Koji Ishii <kojii@chromium.org>' wrote:
Fix line cache when
-webkit-line-clamp
is specified|NGBlockLayoutAlgorithm| has two branches, one when
|lines_until_clamp_| becomes |\<= 0| by the layout, and another
when it is |== 0|.To make sure we run all these logic, this patch:
- Updates |lines_until_clamp_| by the number of reused lines.
- Limits reusing only up to 1, so that conditions above go
normal layout codepath.Bug: 1140951
Change-Id: I15fe81b4957fe70d23bb88aae700642297bb1550Reviewed-on: https://chromium-review.googlesource.com/2491561
WPT-Export-Revision: 4455b386514d66c90734567571108393f639904c
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=04ca9f09d78ab3fc85263e32ea37ace64751c13f
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
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98107d0a1fe2 [wpt PR 26229] - Fix line cache when `-webkit-line-clamp` is specified, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•