Closed
Bug 484400
Opened 16 years ago
Closed 15 years ago
Incorrect float containing block used in ContentRemoved if the frame being removed is positioned
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: bzbarsky, Assigned: tnikkel)
References
Details
Attachments
(1 file, 1 obsolete file)
4.52 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
See bug 162063 comment 21 and the testcases for first-letter in that bug.
![]() |
Reporter | |
Comment 1•15 years ago
|
||
Timothy, want to take this?
Component: Layout: Misc Code → Layout: Images
OS: Mac OS X → Mac System 9.x
Target Milestone: --- → mozilla1.9.2
Version: Trunk → Other Branch
Assignee | ||
Comment 2•15 years ago
|
||
Sure.
I assume changing those other fields was accidental? Unless this bug affects Mac System 9.x users much more than everyone else. :)
Component: Layout: Images → Layout: Misc Code
OS: Mac System 9.x → All
Hardware: x86 → All
Target Milestone: mozilla1.9.2 → ---
Version: Other Branch → Trunk
Assignee | ||
Comment 3•15 years ago
|
||
Assignee: nobody → tnikkel
Attachment #411921 -
Flags: review?(bzbarsky)
![]() |
Reporter | |
Comment 4•15 years ago
|
||
Er, yeah. I have no idea why those other fields changed. ;)
![]() |
Reporter | |
Comment 5•15 years ago
|
||
Comment on attachment 411921 [details] [diff] [review]
patch
Make the reference use a <span> around the T and style the <span>, assuming that still passes? With that, looks great.
![]() |
Reporter | |
Updated•15 years ago
|
Attachment #411921 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5)
> (From update of attachment 411921 [details] [diff] [review])
> Make the reference use a <span> around the T and style the <span>, assuming
> that still passes? With that, looks great.
It does on Linux, but fails on Windows and Mac, so I'll leave it without a styled fake first-letter span. We have tests to make sure that we apply first-letter at all, so it should be fine.
Assignee | ||
Comment 7•15 years ago
|
||
They fail because they are shifted by about 1 pixel, not because of anything seriously wrong.
Assignee | ||
Comment 8•15 years ago
|
||
I realized that this change could trigger the assertion that "containingBlock == GetFloatContainingBlock(parentFrame)" lower down in ContentRemoved. But there is no reason for that assertion to hold true, so remove it. And I noticed that we create an unused frame construction state, so got rid of that (and the same in CharacterDataChanged).
Attachment #411921 -
Attachment is obsolete: true
Attachment #416728 -
Flags: review?(bzbarsky)
![]() |
Reporter | |
Updated•15 years ago
|
Attachment #416728 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 9•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•