Closed Bug 1768525 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34002 - Replace cached ::first-line style from getComputedStyle

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34002 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34002
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Replace cached ::first-line style from getComputedStyle

getComputedStyle may cache a ComputedStyle when requesting ::first-line
compared to which style should be used when the line is laid out. Make
sure we overwrite the cached one when the applied ::first-line style
originates from a parent block.

Bug: 1323201
Change-Id: Ief4ab7d07c751d7de339bbef3e6b839a48b6fddf
Reviewed-on: https://chromium-review.googlesource.com/3629301
WPT-Export-Revision: b6649f2643b326a11071621e63beeb7aa1561195

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a1dfbd580cd
[wpt PR 34002] - Replace cached ::first-line style from getComputedStyle, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b1c0394c821c
[wpt PR 34002] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.