Closed
Bug 514917
Opened 15 years ago
Closed 15 years ago
-moz-box-shadow is not calculated properly with absolute children
Categories
(Core :: Web Painting, defect, P4)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: stream, Assigned: dbaron)
References
Details
(Keywords: css3, testcase)
Attachments
(2 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
The shadow is painted correctly but takes even more invisible space if the same children element is not positioned absolute.
This causes unneeded scrollbars.
Reporter | ||
Updated•15 years ago
|
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 1•15 years ago
|
||
ComputeOutlineAndEffectsRect (in nsFrame.cpp) needs to add shadows to the frame's rect instead of the overflow rect. (And nsDisplayBoxShadowOuter::GetBounds could perhaps be more conservative, though that doesn't matter except for performance, I think.)
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #414602 -
Flags: review?(roc) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Er, except I should have used (0,0) instead of the top/left of the overflow rect.
Attachment #414602 -
Attachment is obsolete: true
Attachment #414621 -
Flags: review?(roc)
Attachment #414621 -
Flags: review?(roc) → review+
Reporter | ||
Comment 4•15 years ago
|
||
Any chance for landing on 3.6?
Assignee | ||
Comment 5•15 years ago
|
||
I don't think so.
Assignee | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Priority: -- → P4
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Updated•6 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
•