Closed Bug 414298 Opened 17 years ago Closed 17 years ago

[FIX]Any change that causes a table reflow invalidates the whole table

Categories

(Core :: Layout: Tables, defect, P5)

x86
All
defect

Tracking

()

VERIFIED FIXED
mozilla1.9beta4

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: perf)

Attachments

(1 file)

See bug 377419 comment 38. Any time we have any kind of painting performance issue, this absolutely kills us, as we discovered in that bug. Case in point: changing the value of any combobox on pretty much any Bugzilla page is really slow. Ideally, we wouldn't be invalidating the world that way, but only invalidating the things that actually changed...
Flags: blocking1.9?
Blocks: 377419
Depends on: 91491
Flags: wanted1.9+
Flags: blocking1.9?
Flags: blocking1.9-
Priority: -- → P5
Attached patch Let's just do this (deleted) — Splinter Review
I tested the issue in bug 91491, and it's not a problem with this patch: it got fixed by bug 379353. I think this should be safe change to make; I did some testing and didn't run into any bugs. Note that the only substantive change is the one in nsTableFrame::Reflow. The rest is non-behavior-changing cleanup that just makes it more obvious that we always do that invalidate.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #301563 - Flags: superreview?(roc)
Attachment #301563 - Flags: review?(roc)
Summary: Any change that causes a table reflow invalidates the whole table → [FIX]Any change that causes a table reflow invalidates the whole table
Attachment #301563 - Flags: superreview?(roc)
Attachment #301563 - Flags: superreview+
Attachment #301563 - Flags: review?(roc)
Attachment #301563 - Flags: review+
Comment on attachment 301563 [details] [diff] [review] Let's just do this Requesting approval. This is probably low-to-medium-risk, but is a nice performance win on DHTML-like stuff in many situations. In the unlikely event that this turns out to have too many regressions, it'll be easy to just put the over-invalidation back in as late in the cycle as we want. So I think there's not that much risk to taking this patch.
Attachment #301563 - Flags: approval1.9?
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Depends on: 416073
It's quite likely this caused bug 416073
No longer depends on: 416129
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b4pre) Gecko/2008020702 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) V.Fixed, per bug 377419 comment 54 ... [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b4pre) Gecko/2008020803 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) ... and regression bug 419073 too :-)
Status: RESOLVED → VERIFIED
OS: Linux → All
Target Milestone: --- → mozilla1.9beta4
(In reply to comment #5) > ... and regression bug 419073 too :-) s/bug 419073/bug 416073/.
No longer depends on: 416181
Depends on: 424766
Depends on: 424465
Depends on: 425279
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: