Closed
Bug 1479054
Opened 8 years ago
Closed 8 years ago
[wpt-sync] Sync PR 12215 - Find LayoutText containing the first letter before attaching pseudo.
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12215 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/12215
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
> Find LayoutText containing the first letter before attaching pseudo.
>
> We assert that we find the same text node before creating the element as
> we find when attaching the first letter LayoutText. We used to attach
> the ::first-letter pseudo element before finding the LayoutText from
> which we get the first letter text.
>
> We did crash in a clusterfuzz test because FirstLetterTextLayoutObject()
> was confused by a combination of a grid, button, anonymous
> wrappers and continuations. Instead of trying to fix all bugs in
> FirstLetterTextLayoutObject(), find the LayoutText before attaching the
> ::first-letter to make sure we are consistent instead of chasing
> clusterfuzz issues.
>
> Reported the incorrectness for button, grid, and ::first-letter in
> 868380.
>
> Bug: 859285, 868380
> Change-Id: I335a32b466ab31858fb05ea5f650cf12ab674040
>
> Reviewed-on: https://chromium-review.googlesource.com/1152982
> WPT-Export-Revision: b99cb2fb8f82732605dccc213ef66d6d506d1923
| Assignee | ||
Updated•8 years ago
|
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d3f785d4abd65ced13ee0f5c213120c49d60ca7
| Assignee | ||
Comment 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
Ran 1 tests
PASS : 1
| Assignee | ||
Comment 5•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=6f1059b2442f3313f6d6c982c60e788807b9499b
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce77e99e9815
[wpt PR 12215] - Find LayoutText containing the first letter before attaching pseudo., a=testonly
Comment 7•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•