::first-line inheritance is incorrect
Reported by
bzbar...@mit.edu,
Jul 28 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0 Steps to reproduce the problem: 1. Load the testcase. What is the expected behavior? Green border around the text. What went wrong? There's a red border. Did this work before? No Does this work in other browsers? Yes Chrome version: 61.0.3163.13 (Official Build) dev (64-bit) Channel: n/a OS Version: OS X 10.12 Flash Version: Shockwave Flash 26.0 r0 See https://drafts.csswg.org/css-pseudo-4/#first-line-inheritance for the current spec draft. The previous spec draft said that reset properties inherit from the block instead of the first-line. In either case, border-color should be inheriting from the block, since Chrome doesn't apply border styles to ::first-line.
,
Jul 28 2017
,
Jul 31 2017
Over to kojii as he recently fixed the same issue for first-letter.
,
Aug 2 2017
Able to reproduce the issue using #61.0.3163.13, 60.0.3112.78 on Mac 10.12.5, Linux Ubuntu 14.04, Win 10. Observed the red boarder overlapped on the green boarder. This seems to be a Non-Regression issue as same behavior is seen since M45. Please find the screenshot of M45. Note: 1. Issue is seen in M62 as well. 2. Removing Bisect label as this is a Non-Regression issue. @kojii: Could you please take a look at this. Thanks!!
,
Aug 2 2017
Thank you for reporting this Boris. The test is simper and more directly address the problem but the root cause is the same as issue 707533. IIUC our handling of :first-line only works well to children of the block container, descendants sometimes works and sometimes don't. Allow me to dup to issue 707533 to discuss in one place. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by pbomm...@chromium.org
, Jul 28 2017Labels: Needs-Bisect M-62
Status: Untriaged (was: Unconfirmed)