New issue
Advanced search Search tips

Issue 705238 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

text-decoration propagated from ::first-line does not disappear in ::before

Reported by oriol-bu...@hotmail.com, Mar 25 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Steps to reproduce the problem:
Set some text-decoration in a ::first-line pseudo-element.

Use display:inline-block, float:left or position:absolute in the ::before pseudo-element.

What is the expected behavior?
According to https://drafts.csswg.org/css-text-decor-3/#line-decoration,

> Note that text decorations are not propagated to any out-of-flow descendants, nor to the contents of atomic inline-level descendants such as inline blocks and inline tables.

What went wrong?
The text decoration is propagated to the ::before.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 59.0.3033.0  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0

Firefox does it properly.
 
testcase.htm
4.0 KB View Download
Labels: Needs-Bisect
Attached a minimized repro.
minimized.html
672 bytes View Download

Comment 2 by ajha@chromium.org, Mar 27 2017

Labels: Needs-Triage-M59
Cc: jmukthavaram@chromium.org
Labels: -Needs-Bisect -Needs-Triage-M59 M-59 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue.
Able to reproduce the issue on Mac-10.12.3,Windows 7 & 10, Ubuntu 14.04 using Chrome stable version-57.0.2987.110 and canary-59.0.3051.3 with the given 2 html files in comment#1 & comment#2.Observed "::before" text displayed with underline.
This is Non-regression issue, Observed from M30 and confirming this issue to get more inputs from Dev team.
Please find the attached screencast for reference.
Thanks..
705238.mp4
782 KB View Download
Status: Available (was: Untriaged)
Labels: Update-Quarterly

Comment 6 by meade@chromium.org, Nov 27 2017

Cc: drott@chromium.org e...@chromium.org
Labels: ApproachableBug Code-PseudoSelectors
cc some font people, in case they can tell us about text-decoration.
Labels: -Update-Quarterly
Project Member

Comment 8 by sheriffbot@chromium.org, Dec 6

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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment