Closed
Bug 225820
Opened 22 years ago
Closed 22 years ago
Refactor nsFrameFrame to fix bugs and improve code
Categories
(Core :: Layout, defect, P1)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Assigned: roc)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
77.49 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
Continuation of work in bug 212366
Assignee | ||
Comment 1•22 years ago
|
||
Okay... There are only a few changes from the last patch. The nsBlockFrame
change and the cosmetic fix that you requested is in there.
I don't know how visibility:hidden <frame>s worked before. To get it to work
now I had to make <frame>s work like <iframe>s and hook their view managers up
into the parent view hierarchy (nsDocumentViewer.cpp change); this ensures that
when the nsSubDocumentFrame's view is hidden, all the views in the subdocument
are treated as hidden. This change will also make <frame>s transparent by
default. I think that's the right thing. To get printing and print preview to
hide <frame>s I adjusted the logic in nsPrintEngine to generalize the IFRAME
hiding code to all subdocuments.
To get printing and print preview to work properly with IFRAMEs I had to
eliminate their assumptions about getting to the inner frame in nsPrintEngine.
I've tested all the testcases in all the bugs you mentioned, as well as the
IFRAME testcase you posted. They all seem to work. The position:relative bugs
that you were worried about were all about computing the correct overflow area.
That shouldn't affect or be affected by these changes.
Assignee | ||
Updated•22 years ago
|
Attachment #135606 -
Flags: superreview?(dbaron)
Attachment #135606 -
Flags: review?(dbaron)
Comment on attachment 135606 [details] [diff] [review]
revised patch
r+sr=dbaron, although this may be a little risky to land this close to the
freeze
Attachment #135606 -
Flags: superreview?(dbaron)
Attachment #135606 -
Flags: superreview+
Attachment #135606 -
Flags: review?(dbaron)
Attachment #135606 -
Flags: review+
Assignee | ||
Comment 3•22 years ago
|
||
Yeah. I think I'll save it for 1.7a.
Assignee | ||
Updated•22 years ago
|
Priority: -- → P1
Assignee | ||
Comment 4•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•