Closed
Bug 991046
Opened 12 years ago
Closed 12 years ago
box-shadow with transparent background and opacity does not respect overflow:hidden
Categories
(Core :: Web Painting, defect)
Tracking
()
VERIFIED
FIXED
mozilla31
People
(Reporter: danmana11, Assigned: mattwoodrow)
References
()
Details
(Keywords: regression)
Attachments
(2 files)
561 bytes,
text/html
|
Details | |
5.95 KB,
patch
|
roc
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Steps to reproduce:
When a child element has a transparent background, a box-shadow and opacity != 1 it does not respect the overflow property of its parent.
Setting a background-color different than "transparent", or opacity=1 solves the problem.
Issue is reproducible in Firefox 28, but did not occur in 26
Actual results:
The overflowing parts of the child element are visible, even if the parent has overflow:hidden
Expected results:
The overflowing parts of the child element should not be visible
Reporter | ||
Updated•12 years ago
|
![]() |
||
Comment 1•12 years ago
|
||
Seeing this on Mac too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(roc)
Keywords: regression,
regressionwindow-wanted
![]() |
||
Comment 2•12 years ago
|
||
Blocks: 939607
status-firefox28:
--- → affected
status-firefox29:
--- → affected
status-firefox30:
--- → affected
status-firefox31:
--- → affected
status-firefox-esr24:
--- → unaffected
tracking-firefox29:
--- → ?
tracking-firefox30:
--- → ?
tracking-firefox31:
--- → ?
Keywords: regressionwindow-wanted
Summary: boz-shadow with transparent background and opacity does not respect overflow hidden → box-shadow with transparent background and opacity does not respect overflow:hidden
Updated•12 years ago
|
Comment 3•12 years ago
|
||
Tracking it because it is a regression. Hopefully, we are going to get a fix for 29.
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 8403040 [details] [diff] [review]
Include the clip when flattening nsDisplayOpacity
Review of attachment 8403040 [details] [diff] [review]:
-----------------------------------------------------------------
But would it not be simpler to just refuse to flatten? Either way's fine.
Attachment #8403040 -
Flags: review?(roc) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
![]() |
||
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3627984da60d
https://hg.mozilla.org/mozilla-central/rev/3711e30f9967
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Comment 9•11 years ago
|
||
Too late for 29 but please nominate for uplift to Aurora.
Flags: needinfo?(matt.woodrow)
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8403040 [details] [diff] [review]
Include the clip when flattening nsDisplayOpacity
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 939607
User impact if declined: Incorrectly drawn content sometime
Testing completed (on m-c, etc.): Been on m-c, reftest added.
Risk to taking this patch (and alternatives if risky): Very low risk.
String or IDL/UUID changes made by this patch: None
Attachment #8403040 -
Flags: approval-mozilla-aurora?
Flags: needinfo?(matt.woodrow)
Updated•11 years ago
|
Attachment #8403040 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Verified as fixed on Firefox 30 beta 2 (20140505140302) and latest Aurora 31.0a2 (20140505004003) under Win 7 64-bit and Mac OSX 10.7.5.
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•