Closed
Bug 237169
Opened 21 years ago
Closed 21 years ago
decomify and rename nsIFrame::IsPercentageBase
Categories
(Core :: Layout: Block and Inline, defect, P2)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: dbaron, Assigned: dbaron)
References
(Blocks 1 open bug)
Details
(Whiteboard: [patch])
Attachments
(1 file, 1 obsolete file)
35.45 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
brendan
:
approval1.7b+
|
Details | Diff | Splinter Review |
I want to deCOMify the signature of nsIFrame::IsPercentageBase and give it a
less cryptic name.
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Whiteboard: [patch]
![]() |
||
Comment 2•21 years ago
|
||
In my opinion we should move away from this api altogether in the long run. The
only users seem to be the reflow state, the style struct calculation code, and
computed style. The last two actually want GetContainingBlock(), while the
reflow state will need to be adjusted anyway to handle relatively positioned
inlines with absolutely positioned kids (which case is handled incorrectly by
the style struct and computed style code, by the way).
Assignee | ||
Comment 3•21 years ago
|
||
See also bug 236966.
Assignee | ||
Comment 4•21 years ago
|
||
Attachment #143639 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #143651 -
Flags: superreview?(bzbarsky)
Attachment #143651 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.7beta
![]() |
||
Comment 5•21 years ago
|
||
Comment on attachment 143651 [details] [diff] [review]
patch
r+sr=bzbarsky
Attachment #143651 -
Flags: superreview?(bzbarsky)
Attachment #143651 -
Flags: superreview+
Attachment #143651 -
Flags: review?(bzbarsky)
Attachment #143651 -
Flags: review+
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 143651 [details] [diff] [review]
patch
Simple cleanup that I'd like to land to get started with other things.
Attachment #143651 -
Flags: approval1.7b?
Comment 7•21 years ago
|
||
Comment on attachment 143651 [details] [diff] [review]
patch
a=brendan, sure.
/be
Attachment #143651 -
Flags: approval1.7b? → approval1.7b+
Assignee | ||
Comment 8•21 years ago
|
||
Fix checked in to trunk, 2004-03-11 20:40 -0800.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 9•21 years ago
|
||
This checkin breaks debug builds in nsComputedDOMStyle.cpp. A semicolon is missing:
Index: nsComputedDOMStyle.cpp
===================================================================
RCS file: /cvsroot/mozilla/content/html/style/src/nsComputedDOMStyle.cpp,v
retrieving revision 1.105
diff -u -r1.105 nsComputedDOMStyle.cpp
--- nsComputedDOMStyle.cpp 12 Mar 2004 04:40:16 -0000 1.105
+++ nsComputedDOMStyle.cpp 12 Mar 2004 08:53:35 -0000
@@ -2889,7 +2889,7 @@
nsIFrame* container = aFrame;
do {
container = container->GetParent();
- } while (container && !container->IsContainingBlock())
+ } while (container && !container->IsContainingBlock());
NS_POSTCONDITION(container, "Frame has no containing block");
return container;
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•21 years ago
|
||
bustage fix checked in.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•21 years ago
|
||
Oops. Thanks for fixing that.
Comment 12•21 years ago
|
||
*** Bug 231341 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•