Closed
Bug 630891
Opened 13 years ago
Closed 13 years ago
nsSubDocumentFrames are always repainted when they move
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla2.0b12
People
(Reporter: pcwalton, Assigned: pcwalton)
Details
Attachments
(1 file)
1.07 KB,
patch
|
roc
:
review+
roc
:
approval2.0+
|
Details | Diff | Splinter Review |
nsSubDocumentFrames seem to always be repainted in full when they move: http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsSubDocumentFrame.cpp#677 This means that animating them via -moz-transform can never get the benefit of retained layers. Do we need this anymore? The comment seems to indicate otherwise...
Comment 1•13 years ago
|
||
Looks like that code originates from bug 124507. Where it seems it was extra debugging code accidentally checked in, the mistake was noticed, and a backout patch was made, but the backout patch never got checked in.
Assignee | ||
Comment 2•13 years ago
|
||
Removed and testing on try.
(In reply to comment #0) > nsSubDocumentFrames seem to always be repainted in full when they move: ITYM "even when they DON'T move" Great catch, by the way.
Assignee | ||
Comment 4•13 years ago
|
||
(In reply to comment #3) > (In reply to comment #0) > > nsSubDocumentFrames seem to always be repainted in full when they move: > > ITYM "even when they DON'T move" > > Great catch, by the way. Well, I meant when they do move, under -moz-transform. Animating e.g. an iframe via a transition on -moz-transform does move the iframe, but it shouldn't repaint with retained layers AIUI.
Assignee | ||
Comment 5•13 years ago
|
||
Here's a patch. Seems to work on try.
Attachment #509225 -
Flags: review?(roc) → review+
Comment on attachment 509225 [details] [diff] [review] Proposed patch. We'd better get this in for a beta.
Attachment #509225 -
Flags: approval2.0+
Assignee | ||
Comment 7•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b0325a41a167
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Target Milestone: --- → mozilla2.0b12
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•