[Webkit-unassigned] [Bug 218895] New: Opacity doesn't work on picture element if child img is display block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 13 02:31:15 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=218895
Bug ID: 218895
Summary: Opacity doesn't work on picture element if child img
is display block
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jameslong at xigen.co.uk
If a picture element is given an opacity, the opacity is applied. However, if the picture element has a child img element that has display:block, the opacity isn't honoured unless the picture element has display:block as well.
Expected behaviour: the opacity should be applied even with a display:block child.
This affects Opera, Chrome and the latest version of Edge. It doesn't affect pre-webkit Edge and it doesn't affect Firefox.
You can see this bug in this fiddle: https://jsfiddle.net/Skateside/k6zbeq1j/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201113/3e8a35a6/attachment.htm>
More information about the webkit-unassigned
mailing list