WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
View All
Add attachment
proposed patch, testcase, etc.
Emilio Cobos Álvarez (:emilio)
Comment 1
2018-04-24 09:43:08 PDT
https://lists.w3.org/Archives/Public/www-style/2011May/0710.html
and
https://bugzilla.mozilla.org/show_bug.cgi?id=660682
Look relevant here...
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.
Ahmad Saleem
Comment 4
2024-09-07 17:52:37 PDT
Is it same as?
https://wpt.fyi/results/css/css-color/inline-opacity-float-child.html?label=master&label=experimental&aligned&q=safari%3Afail%20chrome%3Apass%20firefox%3Apass
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug