NEW 184915
Text inside the block part of an IB split isn't affected by parent opacity.
https://bugs.webkit.org/show_bug.cgi?id=184915
Summary Text inside the block part of an IB split isn't affected by parent opacity.
Emilio Cobos Álvarez (:emilio)
Reported 2018-04-24 07:59:16 PDT
Created attachment 338649 [details] testcase.html STR: Load the attached test-case. Expected result: "Block" is grey, since it's inside a parent with opacity: 0.2. Actual result: "Block" is not affected by opacity. I _think_ Firefox and Edge are right on this one, but I'm not confident about how stacking contexts and IB splits interact to be 100% sure.
Attachments
testcase.html (224 bytes, text/html)
2018-04-24 07:59 PDT, Emilio Cobos Álvarez (:emilio)
no flags
Emilio Cobos Álvarez (:emilio)
Comment 1 2018-04-24 09:43:08 PDT
Emilio Cobos Álvarez (:emilio)
Comment 2 2018-04-24 11:10:45 PDT
So Mats Palmgren pointed out that recently the spec had been clarified around this in https://github.com/w3c/csswg-drafts/issues/1477#issuecomment-380771705: > In a block-in-inline split, the block is inside the inline in the box tree, and is a sibling of the two fragments of the inline in the fragment tree So it doesn't matter whether the spec refers to box or element tree, opacity should apply to the block.
Ahmad Saleem
Comment 3 2023-03-17 16:50:42 PDT
I am able to reproduce this bug in WebKit ToT as well based of (261811@main), it is still ‘Block’ does not have opacity.
Note You need to log in before you can comment on or make changes to this bug.