New issue
Advanced search Search tips

Issue 870142 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[css-contain] paint containment not applied (or clipping fails) on table cell

Reported by goo...@gtalbot.org, Aug 2

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-paint-cell-001.html

Steps to reproduce the problem:
http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-cell-001.html

and

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-cell-002.html

What is the expected behavior?
No red. FAIL should not be displayed.

Reference file:

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-047-ref.html

What went wrong?
There is red. FAIL 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=20180801223951

Chrome version: 70.0.3509.0  Channel: canary
OS Version: 
Flash Version: irrelevant

- Relevant section of spec (3.4 Paint Containment)
https://www.w3.org/TR/css-contain-1/#containment-paint
states
"
1. The contents of the element including both the paint of the descendants and their geometry must be clipped to the padding edge of the element’s principal box, (...)
"

- Suggested Component: Blink>Layout Blink>CSS

- Florian Rivoal should be added to CC list
 
Labels: Needs-Triage-M70
Components: Blink>CSS
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 Mac 10.13.3, Win-10 and Ubuntu 14.04 using chrome reported version #70.0.3509.0.
This is a non-regression issue as it is observed from M60 old builds. 
Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Components: -Blink>CSS Blink>Layout>Table
Owner: dgro...@chromium.org
Status: Assigned (was: Untriaged)
As I noted on https://bugzilla.mozilla.org/show_bug.cgi?id=1480288#c1, I think this is a bug in the test & is simply a misunderstanding about how table cell sizing works.  So I'm not sure there's actually anything to be fixed here, aside from in the testcase itself.
Setting the 'width' of the associated column to '4ch' and triggering the table layout algorithm to fixed ('table-layout: fixed') achieve the original intent of the tests. So,

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-cell-002-new.html

will replace 

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-cell-002.html


The contain-paint-cell-001 test can not be rehabilitated. So, it will be removed.

Since Chrome 69.0.3493.3 (Developer Edition) passes the contain-paint-cell-002-new test, please resolve or close this Issue as WORKSFORME.

Thank you.
> contain-paint-cell-001 test can not be rehabilitated.

Yes it can:

http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-paint-cell-001-new.html
Status: WontFix (was: Assigned)

Sign in to add a comment