Closed
Bug 296083
Opened 20 years ago
Closed 20 years ago
[FIXr]{ib} Counter weirdness in block-in-inline situations
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.8beta3
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
(Keywords: testcase)
Attachments
(2 files)
417 bytes,
text/html
|
Details | |
6.43 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
asa
:
approval1.8b3+
|
Details | Diff | Splinter Review |
See bug 3247 comment 116 -- we seem to mess up when a counter is incremented on
a split inline.
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Comment 2•20 years ago
|
||
So I'm betting the problem here is that we add both of the inlines in the split
to the counter list and they both have a style context that has the
counter-increment on it.
Assignee | ||
Comment 3•20 years ago
|
||
This is a bit of a hack, but I don't see a safe better way -- we need to init
the frames before we start setting them special, so InitAndRestoreFrame has no
obvious way to know that this frame shouldn't be getting counter stuff.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #188233 -
Flags: superreview?(dbaron)
Attachment #188233 -
Flags: review?(dbaron)
Assignee | ||
Updated•20 years ago
|
Priority: -- → P1
Summary: {ib} Counter weirdness in block-in-inline situations → [FIX]{ib} Counter weirdness in block-in-inline situations
Target Milestone: --- → mozilla1.8beta3
Comment on attachment 188233 [details] [diff] [review]
Proposed fix
r+sr=dbaron, but in the long run I'd like to actually make this use
next/prev-in-flow linkage, and have a bit that indicates that the flow is
fixed. This could solve a bunch of problems related to block-within-inline,
bidi continuations (nextBidi property), and :first-letter.
Attachment #188233 -
Flags: superreview?(dbaron)
Attachment #188233 -
Flags: superreview+
Attachment #188233 -
Flags: review?(dbaron)
Attachment #188233 -
Flags: review+
Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 188233 [details] [diff] [review]
Proposed fix
Requesting 1.8b3 approval. This is also a very safe fix for a counter problem
that arises when a block is a child of an inline.
Attachment #188233 -
Flags: approval1.8b3?
Assignee | ||
Comment 6•20 years ago
|
||
Agreed that using in-flow linkage for {ib} would simplify a bunch of stuff...
Summary: [FIX]{ib} Counter weirdness in block-in-inline situations → [FIXr]{ib} Counter weirdness in block-in-inline situations
Updated•20 years ago
|
Attachment #188233 -
Flags: approval1.8b3? → approval1.8b3+
Assignee | ||
Comment 7•20 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•