text-decoration propagated from ::first-line does not disappear in ::before
Reported by
oriol-bu...@hotmail.com,
Mar 25 2017
|
|||||||||
Issue descriptionUserAgent: 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.
,
Mar 27 2017
,
Mar 27 2017
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..
,
Mar 27 2017
,
Mar 27 2017
,
Nov 27 2017
cc some font people, in case they can tell us about text-decoration.
,
Dec 6 2017
,
Dec 6
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
,
Dec 10
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by bugsnash@chromium.org
, Mar 26 2017672 bytes
672 bytes View Download