Collapsed borders don't collapse correctly across composited layer boundaries.
Reported by
roie.mar...@gmail.com,
Jun 28 2016
|
|||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Example URL:
Steps to reproduce the problem:
Here's a minimal repro:
<body>
<table style="
border-collapse: collapse;
">
<tbody><tr style="
/* -webkit-filter: brightness(50%); */
">
<td style="
border: 5px solid red;
background-color: green;
/* -webkit-filter: brightness(100%); */
">aaa</td>
</tr>
</tbody></table>
</body>
Enabling the filter on the TR makes the inside of the TD's border disappear. Enabling the (no-op, I would think) filter on the TD causes the border to show fully, undarkened.
Disabling "border-collapse" on the table makes the TR's filter apply to the entire TD, including its border.
What is the expected behavior?
It's hard to say how much of the border should be counted as belonging to an individual row in collapsed borders mode, but it certainly shouldn't disappear. Also, "-webkit-filter:brightness(100%)" shouldn't have any effect on the output.
Note that this was discovered when I had 1px borders; they disappear entirely when my TR has a darkening filter.
What went wrong?
See above
Does it occur on multiple sites: N/A
Is it a problem with a plugin? N/A
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 51.0.2704.103 Channel: stable
OS Version: OS X 10.11.5
Flash Version: Shockwave Flash 22.0 r0
,
Jun 28 2016
Over to timloh@ for investigation or routing.
,
Jun 28 2016
Oops, forgot the owner :)
,
Jun 29 2016
I don't have any URLs because this is from an internal system. I can put a webpage up somewhere if you'd like (which would just be a copy of the code in my original bug report but might be more convenient for you). Let me know. Joey
,
Jun 29 2016
http://codepen.io/anon/pen/mEWjZq Paint/Compositing folks, could you have a look? The bug report says it's filters but it looks like it's just using any layer-inducing property (e.g. transform: translateZ(0px)).
,
Jun 29 2016
,
Sep 9 2016
Issue 645613 has been merged into this issue.
,
Sep 11 2017
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. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 11 2017
,
Sep 12
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
,
Sep 12
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by durga.behera@chromium.org
, Jun 28 2016Labels: Needs-Feedback