New issue
Advanced search Search tips

Issue 750268 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 707533
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

::first-line inheritance is incorrect

Reported by bzbar...@mit.edu, Jul 28 2017

Issue description

UserAgent: 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.
 
baz.html
225 bytes View Download
Cc: pbomm...@chromium.org
Labels: Needs-Bisect M-62
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on windows 7, 10 , Mac and Linux with latest Chrome Dev(61.0.3163.14), Beta and Stable(60.0.3112.78) and previous stable channels as well i.e., 57.0.2987.133 , 58.0.3029.110 and 59.0.3071.115


Labels: OS-Android OS-Chrome OS-Linux OS-Windows

Comment 3 by e...@chromium.org, Jul 31 2017

Owner: kojii@chromium.org
Status: Assigned (was: Untriaged)
Over to kojii as he recently fixed the same issue for first-letter.
Labels: -Needs-Bisect
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!!
Screenshot (10).png
92.3 KB View Download

Comment 5 by kojii@chromium.org, Aug 2 2017

Mergedinto: 707533
Status: Duplicate (was: Assigned)
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