Closed
Bug 240291
Opened 21 years ago
Closed 21 years ago
[FIXr]nsBlockFrame::AddFrames should handle <br> better
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: fixed1.7)
Attachments
(1 file)
1.50 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
asa
:
approval1.7+
|
Details | Diff | Splinter Review |
See bug 237735 comment 4 and bug 237735 comment 6. Basically, we should try to
create new lines at <br> during frame insertion to minimize the O(N^2) nature of
inserting frames a bit at a time.
Assignee | ||
Comment 1•21 years ago
|
||
This makes the testcase in bug 237735 run about 3 times faster... and I think
it shouldn't affect normal browsing much.
Assignee | ||
Updated•21 years ago
|
Attachment #145915 -
Flags: superreview?(dbaron)
Attachment #145915 -
Flags: review?(dbaron)
Attachment #145915 -
Flags: superreview?(dbaron)
Attachment #145915 -
Flags: superreview+
Attachment #145915 -
Flags: review?(dbaron)
Attachment #145915 -
Flags: review+
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 145915 [details] [diff] [review]
Proposed patch
Could this be approved for 1.7, please? It's quite safe (since reflow will end
up moving lines about anyway and ensuring that <br>s end lines), and improves
the performance of assigning large chunks of text to a textarea significantly.
Attachment #145915 -
Flags: approval1.7?
Assignee | ||
Updated•21 years ago
|
Summary: nsBlockFrame::AddFrames should handle <br> better → [FIXr]nsBlockFrame::AddFrames should handle <br> better
Comment 3•21 years ago
|
||
Comment on attachment 145915 [details] [diff] [review]
Proposed patch
a=asa (on behalf of drivers) for checkin to 1.7
Attachment #145915 -
Flags: approval1.7? → approval1.7+
Assignee | ||
Comment 4•21 years ago
|
||
Checked in for 1.8a; leaving open pending 1.7 checkin.
Assignee | ||
Comment 5•21 years ago
|
||
Checked in to 1.7 branch.
You need to log in
before you can comment on or make changes to this bug.
Description
•