Issue metadata
Sign in to add a comment
|
Underlined shadowed text renders improperly
Reported by
rober...@gmail.com,
Oct 20 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 Example URL: http://www.j-archive.com/showgame.php?game_id=5438 Steps to reproduce the problem: 1. Go to example URL 2. See category heading ON THE COVER OF ROLLING STONE 3. Compare to how same page renders in Safari, Firefox, Internet Explorer What is the expected behavior? Drop shadow should not obscure text underline What went wrong? Drop shadow obscures (i.e., sits on a layer "above") the text underline Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? N/A Chrome version: 61.0.3163.100 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: HTML code for this particular example is <td class="category_name">ON THE COVER OF <em class="underline">ROLLING STONE</em></td> In the stylesheet, td.category_name specifies text-shadow: 2px 2px 0px #000000; em.underline specifies font-style: normal; text-decoration: underline;
,
Oct 23 2017
According to the cited spec the correct painting order is shadows, underlines, overlines, text, emphasis marks, line-through. Somehow we have text shadows being painted after the underlines of the underlined shadowed text.
,
Oct 23 2017
,
Oct 23 2017
,
Oct 23 2017
,
Oct 23 2017
This is a duplicate of http://crbug.com/713376. IIRC my change fixed underlines and changed shadow paint behavior, fixing some cases and breaking others. Shadows were already incorrect in some cases before my patch. The test case in this issue is incorrect on Chrome but renders correctly in FF and Safari. It's a good test case to focus on since the ones I mentioned in the duped issue are more complex. Attached minor reduction. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Oct 23 2017Labels: -Type-Bug -Pri-2 hasbisect-per-revision M-64 Needs-Milestone OS-Linux OS-Mac Pri-1 Type-Bug-Regression
Owner: wkorman@chromium.org
Status: Assigned (was: Unconfirmed)