Closed
Bug 976364
Opened 10 years ago
Closed 10 years ago
'perspective' should trigger creation of a stacking context
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Keywords: css3)
Attachments
(1 file)
4.51 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
I'm separating this out from bug 968555. The 'perspective' CSS property should trigger creation of a stacking context.
Assignee | ||
Comment 1•10 years ago
|
||
While it seems a little silly since 'perspective' doesn't require atomicity (rather, it adds an additional transformation to any 3-D descendants, which already require atomicity), the spec requires it, and it matches WebKit.
Attachment #8381018 -
Flags: review?(matt.woodrow)
Comment 2•10 years ago
|
||
Comment on attachment 8381018 [details] [diff] [review] Make 'perspective' create a stacking context. Review of attachment 8381018 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/generic/nsFrame.cpp @@ +2186,2 @@ > || disp->mMixBlendMode != NS_STYLE_BLEND_NORMAL > || nsSVGIntegrationUtils::UsingEffectsForFrame(child); Might be worth splitting this large set of conditions out into a helper.
Attachment #8381018 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 3•10 years ago
|
||
I'm inclined to leave it, since there's also an advantage to having the code right there rather than having to go look at another function.
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/221426a61d0f (and previous try run at https://tbpl.mozilla.org/?tree=Try&rev=49d369b164bb)
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/221426a61d0f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•