w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.51k stars 669 forks source link

[css-text-decor-4] Allow maintaining text emphasis dots' size/position across descendants #1892

Open fantasai opened 7 years ago

fantasai commented 7 years ago

There were some great illustrations in #160, such as https://cloud.githubusercontent.com/assets/17156693/15734368/db4bf8ce-28c9-11e6-8fab-e2f73f9d7656.png

These look awkward in the sense that the size of the dots changes as the font size changes. Currently we are able to maintain the emphasis dots' color by having a property that holds this information, maybe it's worth doing something similar for the size and/or position?

fantasai commented 7 years ago

See also https://github.com/w3c/csswg-drafts/issues/160#issuecomment-269329831:

Another question, is the position of emphasis marks affected by presence of decoration lines? I mean, in the CO2 example, if there is no overline, should the emphasis marks be placed differently?

in response to https://github.com/w3c/csswg-drafts/issues/160#issuecomment-224200477