Closed Bug 1776286 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34565 - [css-pseudo] Implement ::marker text as a LayoutTextFragment

Categories

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

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

[css-pseudo] Implement ::marker text as a LayoutTextFragment

The text of a ::marker with 'content: normal' used to be a LayoutText.

This prevented it from being updated when dynamically changing the
'text-transform' of the ::marker.

Using LayoutTextFragment aligns the behavior with the non-normal case
and solves the problem.

Fixes: 1338708

TEST=external/wpt/css/css-pseudo/marker-text-transform-dynamic.html

Change-Id: Ie50e46f1de00f87b3aa83e3c464085d7f4860bc3
Reviewed-on: https://chromium-review.googlesource.com/3719019
WPT-Export-Revision: 4e993931a158353d6db26333f652137393e15a7c

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.