New issue
Advanced search Search tips

Issue 685925 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

The 'display' property should not apply to the ::first-line or ::first-letter pseudo-elements

Project Member Reported by kojii@chromium.org, Jan 27 2017

Issue description

The CSS Display spec
1.1. Module interactions
https://www.w3.org/TR/css-display-3/#placement

states that:

> None of the properties in this module apply to the ::first-line or ::first-letter pseudo-elements.

But Blink runs different code path when 'display' is applied to ::first-line.

Note, I'm not sure if the "apply" in the spec means to change the computed value, or the used value. Need to test other browsers and read the spec more, or check with WG.

This is originally derived from  issue 684684 .
 
Status: Available (was: Untriaged)
Labels: Hotlist-Interop
Labels: Update-Quarterly
Cc: -r...@opera.com futhark@chromium.org
kojii@ Is there a test case for this?

Comment 5 by shend@chromium.org, Nov 27 2017

Labels: ApproachableBug

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

#4: from  crbug.com/684684#c13 
  ::first-line { display: flex; }
should be ignored and that should not result in different layout tree from when without this line.

I don't remember exactly what it was, but you may also need to specify "::first-letter { float: left }" to see the different tree.
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
Cc: kojii@chromium.org
Status: Available (was: Untriaged)

Sign in to add a comment