Closed
Bug 629059
Opened 15 years ago
Closed 6 months ago
Containing block for absolutely positioned kids of relatively positioned inlines needs to be determined after whitespace trimming
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 489100
People
(Reporter: yves.vangoethem, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
|
438 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b10) Gecko/20100101 Firefox/4.0b10
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b10) Gecko/20100101 Firefox/4.0b10 ID:20110121161344
Firefox places an inline element with position absolute badly on the right border of an parent inline element positioned in relative.
Reproducible: Always
Steps to Reproduce:
1. Ctrl+U
2.
3.
Actual Results:
The absolute positioned element is placed a little outside the parent.
Expected Results:
The absolute positioned element should be placed exactly on the right border of the parent element like WebKit and IE do.
Comment 1•15 years ago
|
||
The padding is a red herring. What's going on here is that we position the abs pos box before whitespace trimming has happened. Testcase coming up that demonstrates this clearly.
Fixing bug 255139 might fix this.
Summary: Wrong right positioning of absolute inline element in relative inline parent → Containing block for absolutely positioned kids of relatively positioned inlines needs to be determined after whitespace trimming
Comment 2•15 years ago
|
||
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 3•15 years ago
|
||
Yeah I supposed it was due to the white-spaces, still hope it's gonna get a proper fix :)
Thanks!
| Reporter | ||
Comment 4•15 years ago
|
||
This was fixed in Opera with their latest release, any plans to fix it in Firefox soon? I updated my testcase accordingly.
Comment 5•15 years ago
|
||
> any plans to fix it in Firefox soon
Unlikely; it needs a pretty wholesale rewrite of how abs pos is handled. That needs to happen anyway, but it's a good bit of work.
Depends on: 255139
Component: Layout: Block and Inline → Layout: R & A Pos
See Also: → 743599
Updated•4 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Comment 7•6 months ago
|
||
I see the expected behavior with layout.abspos.fragment-aware-inline-cb.enabled=true (introduced in bug 489100). The tiny blue squares are at the top right corner at the red background rectangle. We'll flip the pref by default in bug 2041551.
You need to log in
before you can comment on or make changes to this bug.
Description
•