Closed
Bug 740072
Opened 13 years ago
Closed 13 years ago
Perspective origin checks the parent frame instead of style parent
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(1 file)
4.56 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
We're looking at the wrong style context when looking for perpsective-origin, and thus missing it sometimes. Since this leaves us with the default (50% 50%), our drawing becomes dependent on the size of the parent frame, this test checks this.
Attachment #610217 -
Flags: review?(roc)
Attachment #610217 -
Flags: review?(roc) → review+
Comment 1•13 years ago
|
||
Comment on attachment 610217 [details] [diff] [review]
Use the style parent for perspective-origin
>+.parentWithPerspective {
>+ -moz-perspective: 100px;
>+ -moz-perspective-origin: 150px 150px;
>+ -webkit-perspective: 100px;
>+ -webkit-perspective-origin: 150px 150px;
>+ /* Changing width/height to 500px should not change the rendering. */
>+ height:100%;
>+}
>...
>+.parentWithPerspective {
>+ -moz-perspective: 100px;
>+ -moz-perspective-origin: 150px 150px;
>+ -webkit-perspective: 100px;
>+ -webkit-perspective-origin: 250px 150px;
>+ /* Changing width/height to 500px should not change the rendering. */
>+ height:500px;
>+}
Is it deliberate that you changed -webkit-perspective-origin from 150px 150px to 250px 150px here? (Or that you included -webkit- properties at all?)
Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → matt.woodrow
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in
before you can comment on or make changes to this bug.
Description
•