Bug 218791 - Allow more properties for ::marker pseudo-element
Summary: Allow more properties for ::marker pseudo-element
Status: RESOLVED DUPLICATE of bug 231972
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-11 01:13 PST by Antoine Quint
Modified: 2021-10-25 06:26 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2020-11-11 01:13:37 PST
The implementation of isValidMarkerStyleProperty() in PropertyCascade.cpp only supports a small list of properties from an old Editor's draft (25 July 2017). The latest draft (https://drafts.csswg.org/css-lists-3/#marker-properties as of this writing) now says this:

    3.1.1. Properties Applying to ::marker

    All properties can be set on a ::marker pseudo-element and will have a computed value; however, only the following CSS properties actually apply to a marker box:

    - the text-combine-upright, unicode-bidi, and direction properties
    - the content property
    - all animation and transition properties

We should update our implementation to match this.
Comment 1 Radar WebKit Bug Importer 2020-11-11 01:14:05 PST
<rdar://problem/71274398>
Comment 2 Antoine Quint 2020-11-11 01:44:12 PST
Animation and transitions properties are already being added as part of bug 218792.
Comment 3 Tim Nguyen (:ntim) 2021-10-25 06:26:04 PDT

*** This bug has been marked as a duplicate of bug 231972 ***