Closed Bug 731587 Opened 13 years ago Closed 12 years ago

Transform makes an inline abs.pos. container

Categories

(Core :: Layout: Positioned, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla19

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

(Keywords: css3, testcase)

Attachments

(1 file)

The transform property applies to "block-level and atomic inline-level elements" http://www.w3.org/TR/css3-2d-transforms/#transform-property Since it doesn't apply to non-atomic inlines it shouldn't makes such elements be abs.pos. containers when specified.
Attached file Testcase
Dump the frame tree and you'll find: Block(body)(2)@0x1360bb0 < line 0x7fb1b0866510: count=1 state=inline ... < Inline(span)(1)@0x1361188 [state=0000002000000000] ... < Text(0)"Lorem ipsum dolor sit amet, consectetur adipiscing"@0x1361200 ... > AbsoluteList< Block(i)(1)@0x1361308 ... < line 0x1361510: ... < Text(0)"ABS"@0x13614a0 ... > >
Yes, agreed. Want to fix?
There are some obvious questions like how <button style="display: inline; transform: translate(0)"> should behave wrt abs pos descenadnts.... I bet there's no interop.
Sure, I can take a look since I'm working on related code...
Assignee: nobody → matspal
Keywords: css3
OS: Linux → All
Hardware: x86_64 → All
I can still reproduce in Firefox 18, but it works for me in the latest beta (Fx19).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Target Milestone: --- → mozilla19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: