Re: [csswg-drafts] [css-text] Syntax for percentage-of-width-of-space for 'word-spacing' (#3232)

The CSS Working Group just discussed `percentage-of-width-of-space`, and agreed to the following:

* `RESOLVED: Reverse previous resolution. Add a unit instead, name tbd`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> topic: percentage-of-width-of-space<br>
&lt;emilio> github: https://github.com/w3c/csswg-drafts/issues/3232<br>
&lt;emilio> TabAtkins: last week we agreed to go ahead and accept that the new unit can just be a number<br>
&lt;emilio> ... it was since pointed out that in svg word-spacing is defined and SVG allows all length properties to be specified as number<br>
&lt;emilio> ... which maps to pixel<br>
&lt;emilio> ... after that I realized that word-spacing accepts quirky lengths<br>
&lt;emilio> ... so `word-spacing: 2` maps to pixels<br>
&lt;emilio> ... given we were not super-happy with numbers I propose to reverse the resolution<br>
&lt;emilio> ... and resolve that we will give it a unit name<br>
&lt;emilio> q+<br>
&lt;TabAtkins> emilio: we may be able to get away with numbers if we say that they mean spaces in non-quirks mode<br>
&lt;TabAtkins> emilio: All major browser engines map SVG attribute numbers to pixels at parse time<br>
&lt;TabAtkins> emilio: You can parse numbers at quirks mode and still have a specified value px<br>
&lt;TabAtkins> Rossen_: Then you'll have a type difference which is weird<br>
&lt;TabAtkins> emilio: If you get css text between a quirks and non-quirks stylesheet it can be confusing, but otherwise this is already an issue<br>
&lt;TabAtkins> emilio: Not opposed to a unit, just pointing out that it *is* possible<br>
&lt;Rossen_> ack emilio<br>
&lt;emilio> RESOLVED: Reverse previous resolution. Add a unit instead, name tbd<br>
&lt;fantasai> ScribeNick: fantasai<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3232#issuecomment-1104126663 using your GitHub account


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

Received on Wednesday, 20 April 2022 16:17:01 UTC