The width of the line(s) drawn by text-decoration should depend on font-weight
Reported by
zalawa.x...@gmail.com,
Nov 8 2016
|
||||||
Issue descriptionChrome Version: 54.0.2840.87 (Build officiel) m (64 bits) Other browsers tested: Chrome 56.0.2913.0 canary: FAIL Safari 9.1.2 (10601.7.7): FAIL Firefox 49.0.2: OK IE 11.321.14393.0: OK EdgeHTML 14.14393: OK What steps will reproduce the problem? 1. Choose a font family with a lot of styles (Roboto, Lato, Open Sans). 2. Create a HTML `<h1>` element with some text. 3. Apply `font-weight: 100` and `text-decoration: underline` on. What is the expected result? The width of the line(s) drawn for text decoration should depend on the value of the `font-weight` CSS property defined on the HTML element. If you specify a light weight for a font, you don't expect a bold positioned line regardless the font size you have defined. What happens instead? It seems that the width of the line(s) drawn for text decoration depends only on the value of the `font-size` CSS property defined on the HTML element. To be honest, I didn't find any point about this subject into the CSS Text Decoration Module Level 3 or CSS Fonts Module Level 3 specifications but it seems legitimate.
,
Nov 13 2016
,
Nov 13 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 13 2017
,
Nov 14
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 14
In the CSS working group it was decided to allow additional styling through text-underline-thickness and text-underline-offset, which would allow styling the underlines in a more flexible way. I am closing this issue as WontFix as the CSS Text Decorations specification does not specify any way of automatic scaling of underline thickness with font-weight, but does now provide a way for custom thickness styling. Please see issue 905390 . |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by dtapu...@chromium.org
, Nov 9 2016