Closed Bug 1821380 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38909 - Do not allow first-line-inherited styles to start transitions

Categories

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

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Do not allow first-line-inherited styles to start transitions

If a computed property value is inherited from ::first-line styles into

the styles for inline boxes on the first line, no transitions should
be started on those elements since those inherited values are not part
of those elements' computed styles.

However, transitions and animations running on the element without any
::first-line styles applied still need to be applied for ::first-line
rendering.

The way we accomplish that is to pass a parameter through StyleRequest
for that behavior.

Bug: 1422029
Change-Id: Ic957d4a596771d6ee5303bf5b43f8321ce47c034

Reviewed-on: https://chromium-review.googlesource.com/4315914
WPT-Export-Revision: 3db16074cd12f65e2b4174951a8aa6f768a69fea

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23bf7986c89e [wpt PR 38909] - Do not allow first-line-inherited styles to start transitions, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.