New issue
Advanced search Search tips

Issue 663483 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

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 description

Chrome 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.
 
text-decoration-width.jpg
397 KB View Download
Components: Blink>Layout

Comment 2 by skobes@chromium.org, Nov 13 2016

Components: -Blink>Layout Blink>Fonts
Status: Available (was: Unconfirmed)
Project Member

Comment 3 by sheriffbot@chromium.org, Nov 13 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Comment 4 by e...@chromium.org, Nov 13 2017

Cc: drott@chromium.org
Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 14

Status: Untriaged (was: Available)
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
Status: WontFix (was: Untriaged)
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