Re: [i18n-drafts] [questions/qa-upright-counters-in-vertical] List of properties applying to ::marker is incomplete (#632)

Well the CSS specification allows more adjustments than your list:

> All properties can be set on a [::marker](https://drafts.csswg.org/css-pseudo-4/#selectordef-marker) pseudo-element and will have a [computed value](https://drafts.csswg.org/css-cascade-5/#computed-value) which will then inherit to its text content.
>
> Example: Inheritable properties that apply to text can be set on the [::marker](https://drafts.csswg.org/css-pseudo-4/#selectordef-marker) pseudo-element: these will inherit to and take effect on its text contents. Some examples of such properties include:
>
>    - [text-transform](https://drafts.csswg.org/css-text-4/#propdef-text-transform), [letter-spacing](https://drafts.csswg.org/css-text-4/#propdef-letter-spacing), [word-spacing](https://drafts.csswg.org/css-text-4/#propdef-word-spacing) (see [[CSS-TEXT-3]](https://drafts.csswg.org/css-lists/#biblio-css-text-3))
>    - all the font properties (see [[CSS-FONTS-3]](https://drafts.csswg.org/css-lists/#biblio-css-fonts-3) and its successors)
>    - the [color](https://drafts.csswg.org/css-color-4/#propdef-color) property (see [[CSS-COLOR-3]](https://drafts.csswg.org/css-lists/#biblio-css-color-3))

So I would make it clearer that the list isn't exhaustive.

BTW, the full list of longhands that Blink allows on `::marker` is: animation-composition, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-range-start, animation-range-end, animation-timeline, animation-timing-function, animation-trigger-range-start, animation-trigger-range-end, animation-trigger-exit-range-start, animation-trigger-exit-range-end, animation-trigger-timeline, animation-trigger-type, transition-delay, transition-duration, transition-property, transition-behavior, transition-timing-function, color, direction, font-family, font-kerning, font-optical-sizing, font-palette, font-size, font-size-adjust, font-stretch, font-style, font-variant-ligatures, font-variant-caps, font-variant-east-asian, font-variant-numeric, font-variant-alternates, font-weight, font-synthesis-weight, font-synthesis-style, font-synthesis-small-caps, font-feature-settings, font-variation-settings, font-variant-emoji, font-variant-position, content, cursor, hyphens, letter-spacing, line-height, overflow-wrap, tab-size, text-combine-upright, text-decoration-skip-ink, text-shadow, text-transform, unicode-bidi, line-break, text-emphasis-color, text-emphasis-position, text-emphasis-style, white-space-collapse, text-wrap-mode, text-wrap-style, word-break, word-spacing, -internal-visited-color, -internal-forced-color, -internal-forced-visited-color

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/632#issuecomment-2704016507 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 6 March 2025 14:30:36 UTC