You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-text-3][css-fonts-3][css-text-decor-3] Distinguish applying to text vs applying to boxes #5303
We've historically only used the 'Applies to' lines to apply to boxes, but it seems we do need to distinguish whether something applies to an inline box vs. line box vs. text:
For ::marker, a lot of properties don't apply to the marker box, because we don't know what kind of box an outside marker is yet. But they should inherit through to the text and apply there.
For display: contents, properties can be applied to an element that generates no box, but still be pass through to its text.
So I'm thinking we should update the propdef tables of properties that apply to text to say "and text", so we can better define how these cases work. I think the rough idea is to do that for:
color (and maybe all of css-color-adjust?)
all font properties
all inheritable css-text-decor properties
all properties in css-text that apply to inline boxes?
and, going forward, not do that for any properties that rely on knowing box geometry.
The CSS Working Group just discussed [css-text-3][css-fonts-3][css-text-decor-3] Distinguish applying to text vs applying to boxes.
The full IRC log of that discussion
<dael> Topic: [css-text-3][css-fonts-3][css-text-decor-3] Distinguish applying to text vs applying to boxes
<dael> github: https://github.com//issues/5303
<dael> fantasai: Looks like chris mirged the PR. This will change applies to line for as many specs as I can think of. I guess heads up it's merged. There were questions about writing modes where so far text-combine-upwrite does apply
<dael> fantasai: css 3 text we're getting toward 0 issues. If i18n and tag sign off I'll ask to transition next week
<chris> s/mirged/merged/
<dael> florian: On testing front we're doing pretty good. Large amount of tests and gaps documented. We have test for many things. Don't need all for CR.
<dael> astearns: Any other bits on this?
<fantasai> s/does apply/does apply and writing-mode does not/
<dael> astearns: It was just informative? No resolutions?
<fantasai> https://github.com//issues/5303
<dael> fantasai: I guess if we want to close 5303 which is the bug
<dael> astearns: Since PR is merged yes I assume
<dael> florian: Might have missed some, but none was wrong. Can open new issue for anything missed
Activity
[css-pseudo] Support 'line-height' property in ::marker
Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' prope…
Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' prope…
[css-text][css-text-decor][css-writing-modes][css-color][css-fonts][c…
frivoal commentedon Dec 3, 2020
Proposed PR in #5761
[css-text][css-text-decor][css-writing-modes][css-color][css-fonts][c…
Merge pull request #5761 from fantasai/applies-to-text
[css-writing-modes-3] Update text-combine-upright to say that it appl…
css-meeting-bot commentedon Dec 9, 2020
The CSS Working Group just discussed
[css-text-3][css-fonts-3][css-text-decor-3] Distinguish applying to text vs applying to boxes.The full IRC log of that discussion
<dael> Topic: [css-text-3][css-fonts-3][css-text-decor-3] Distinguish applying to text vs applying to boxes<dael> github: https://github.com//issues/5303
<dael> fantasai: Looks like chris mirged the PR. This will change applies to line for as many specs as I can think of. I guess heads up it's merged. There were questions about writing modes where so far text-combine-upwrite does apply
<dael> fantasai: css 3 text we're getting toward 0 issues. If i18n and tag sign off I'll ask to transition next week
<chris> s/mirged/merged/
<dael> florian: On testing front we're doing pretty good. Large amount of tests and gaps documented. We have test for many things. Don't need all for CR.
<dael> astearns: Any other bits on this?
<fantasai> s/does apply/does apply and writing-mode does not/
<dael> astearns: It was just informative? No resolutions?
<fantasai> https://github.com//issues/5303
<dael> fantasai: I guess if we want to close 5303 which is the bug
<dael> astearns: Since PR is merged yes I assume
<dael> florian: Might have missed some, but none was wrong. Can open new issue for anything missed
TalbotG commentedon Dec 19, 2020
CSS3Text property (white-space) that applies to inline boxes also apply to text
Tests:
http://www.gtalbot.org/BrowserBugsSection/CSS3Text/white-space-applies-to-text-007.html
http://www.gtalbot.org/BrowserBugsSection/CSS3Text/white-space-applies-to-text-008.html
References:
http://www.gtalbot.org/BrowserBugsSection/CSS3Text/reference/white-space-applies-to-text-007-ref.html
http://www.gtalbot.org/BrowserBugsSection/CSS3Text/reference/white-space-applies-to-text-008-ref.html
I will update PR26877 in a few min.
Bug 1668270 [wpt PR 25886] - [css-pseudo] Support 'line-height' prope…