New issue
Advanced search Search tips

Issue 869296 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[css-contain] 'contain: style' seems to incorrectly affect counter and counter-incrementing of descendants

Reported by goo...@gtalbot.org, Jul 31

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Example URL:
http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-style-counters-004.html

Steps to reproduce the problem:
http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-style-counters-004.html 

What is the expected behavior?
20 should be displayed

Reference file:

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-style-counters-003-ref.html

What went wrong?
0 is displayed

Does it occur on multiple sites: No

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? No
 Firefox 63.0a1 buildID=20180730221422

Chrome version: 69.0.3486.0  Channel: dev
OS Version: 
Flash Version: irrelevant

- Relevant section of spec (3.3 Style Containment)
https://www.w3.org/TR/css-contain-1/#containment-style
states
"
1. The counter-increment and counter-set properties must be scoped to the element's sub-tree and create a new counter.
"

- Counting of span descendants withOUT the involvement of 'contain: style' works as expected in

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/counter-span-descendant-004.html

while counting the span children with 'contain: style' also works as expected in

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-style-counters-003.html

so the problem must be with 'contain: style' which seems to affect counter-incrementing of descendants (but not children)

- Suggested Component: Blink>Layout and Blink>CSS

- Florian Rivoal should be added to CC list
 
Components: Blink>CSS Blink>Layout
Labels: Needs-Triage-M69
Cc: viswa.karala@chromium.org
Labels: -Type-Compat Triaged-ET Target-70 M-70 FoundIn-70 OS-Mac OS-Windows Type-Bug
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on chrome reported version# 69.0.3486.0, latest stable# 68.0.3440.84 and on latest chrome# 70.0.3508.0 with the URL provided in comment# 0. As this issue is seen from M-60(60.0.3112.0), hence considering this issue as Non-Regression and marking it as Untriaged.

Thanks!
Cc: futhark@chromium.org
Components: -Blink>Layout
Status: Available (was: Untriaged)

Sign in to add a comment