Re: [csswg-drafts] [css-pseudo][css-writing-modes] `text-orientation` and `::marker` (#9788)

Fair point.

I guess text-orientation has two (families of) effects:
* change how text is laid out
* change text-related units

It seems logical for the second one to be anchored on actual elements. The first one would make more sense to me to apply to text, so a possible fix for this issue would be to change the Applies To line from "all elements except[…]" to "text, and all elements except […]".

From a compat point of view, that ought to be largely OK:
* on `::marker` their may be sites where starting to apply it would be a change, but most likely it would be a desired change (people wouldn't specifically style markers if they didn't want an effect on markers).
* the on content of tables, it won't make a difference, because while table row groups, rows, column groups, and columns are excluded, table cells are not, and so we're already inheriting and applying it there, so there would not be a difference in behavior.

If we don't want to do that, I would argue that would ought to include it in the properties explicitly allowed on `::marker`.



-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9788#issuecomment-1890870039 using your GitHub account


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

Received on Sunday, 14 January 2024 07:20:27 UTC