New issue
Advanced search Search tips

Issue 855589 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

nested elements with text-decoration don't generate their own text decorations.

Project Member Reported by emilio@chromium.org, Jun 22 2018

Issue description

Chrome Version       : Trunk
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: FAIL
    Firefox: OK
    IE/Edge: Haven't tested

What steps will reproduce the problem?
1. Load the attached test-case.

What is the expected result?
You should see two underlines.


What happens instead of that?
There's only one underline.

https://drafts.csswg.org/css-text-decor/#propdef-text-decoration-line specifies that text-decorations are added to an element. Blink propagates text decoration as a synthesized property and only paints using the inline's baseline / size, which is wrong, I'd think.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1466564.


Please provide any additional information below. Attach a screenshot if
possible.



 

Comment 1 by emilio@chromium.org, Jun 22 2018

nested-text-decor.html
196 bytes View Download
Labels: Needs-Milestone

Comment 3 by e...@chromium.org, Jun 28 2018

Components: -Blink>CSS
Status: Available (was: Unconfirmed)

Sign in to add a comment