Closed
Bug 619117
Opened 14 years ago
Closed 14 years ago
Invalidation problems on massivehealth.com
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jrmuizel, Assigned: roc)
References
Details
(Keywords: regression, Whiteboard: [softblocker][fx4-fixed-bugday])
Attachments
(3 files)
If you mouse over the images near the bottom of the page we sometimes leave artifacts of the images.
Reporter | ||
Comment 1•14 years ago
|
||
This is a regression from 3.6 and I expect this has to do layers
blocking2.0: --- → ?
Keywords: regression
Reporter | ||
Comment 2•14 years ago
|
||
The layout of the photographs doesn't seem that deterministic so you have 'rearrange' them a couple of time to have this show up. You should be able to see it just bellow when one of the photographs is angled so that it hangs low.
It happens also on Win7. There are no artifacts in 20100718 build (after landing bug 564991 with lot of changes in layers), but there are artifacts in 20100901 build, although they are different than in the latest build.
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
For now, I think this is something that can wait until .next or a dot release, but I'd like to hear from Timothy or Robert as to whether it's indicative of a larger problem.
Comment 6•14 years ago
|
||
The other artifacts in this testcase are gone now, so we only need to figure out when the tips of the photos don't get erased (which seems to be a distinct issue).
For that problem
The first bad revision is:
changeset: 51893:f6916eb6b678
user: Robert O'Callahan <robert@ocallahan.org>
date: Thu Sep 02 14:07:37 2010 -0400
summary: Bug 584494 - Regression: Transform rotation testcase performs significantly worse - r=dbaron
Keywords: regressionwindow-wanted
Comment 7•14 years ago
|
||
Based on that we might not want to bump this to .next, but I don't really understand the regressing changeset.
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 8•14 years ago
|
||
Bug 624946 is probably the same thing. I think this needs to block.
blocking2.0: .x → ?
Component: Graphics → Layout
QA Contact: thebes → layout
Assignee | ||
Updated•14 years ago
|
blocking2.0: ? → final+
Assignee | ||
Updated•14 years ago
|
Assignee: tnikkel → roc
Comment 9•14 years ago
|
||
I started debugging this. I don't mind taking this, but I might not get to it in a timely manner.
Assignee | ||
Comment 10•14 years ago
|
||
Click on the body to trigger the bug.
Assignee | ||
Comment 11•14 years ago
|
||
This was actually reduced from bug 624946.
Comment 12•14 years ago
|
||
My debugging got as far as neither branch being taking here http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsAbsoluteContainingBlock.cpp#492 because the frame's rect was identical but the overflow rect had changed quite a bit.
Assignee | ||
Comment 13•14 years ago
|
||
The bug in this testcase is that nsCSSFrameConstructor::ProcessRestyledFrames indirectly calls nsFrame::InvalidateLayer(frame->GetOverflowRectRelativeToSelf()) which indirectly calls nsIFrame::InvalidateInternalAfterResize, which tries to apply the frame's current transform to the frame-relative damage area (GetOverflowRectRelativeToSelf()) to see what needs to be invalidated. But it uses the new transform, not the old transform, so it doesn't get the whole area that needs to be invalidated.
Assignee | ||
Comment 14•14 years ago
|
||
Sorry that's GetVisualOverflowRectRelativeToSelf in the previous comment.
Note that GetVisualOverflowRectRelativeToSelf is specifically coded to get the overflow rect *before* transformation.
Assignee | ||
Comment 15•14 years ago
|
||
Fixes bug 624946 as well.
Attachment #504621 -
Flags: review?(dbaron)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs review][softblocker]
If the transform has changed, don't you need to invalidate both old and new overflow area in the parent? Which one is this doing?
Assignee | ||
Comment 18•14 years ago
|
||
This is invalidating the old overflow area.
The new overflow area is invalidated by nsIFrame::FinishAndStoreOverflow.
Comment on attachment 504621 [details] [diff] [review]
fix
ok, could you clarify the comment above InvalidateTransformLayer to reflect that?
Attachment #504621 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 20•14 years ago
|
||
Sure.
Whiteboard: [needs review][softblocker] → [needs landing][softblocker]
Assignee | ||
Comment 21•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/bbf235e368ed
Followup test fix:
http://hg.mozilla.org/mozilla-central/rev/1fc29746701e
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing][softblocker] → [softblocker]
Comment 22•14 years ago
|
||
Div content is blured after changing scale - filed bug 628854
Comment 23•14 years ago
|
||
Verified fixed on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110204 Firefox/4.0b12pre
Status: RESOLVED → VERIFIED
Whiteboard: [softblocker] → [softblocker][fx4-fixed-bugday]
Comment 24•14 years ago
|
||
P.S., thanks Roc and JoeDrew and everyone. It's pretty awesome to have Firefox patched for my tiny website :)
Comment 25•14 years ago
|
||
(In reply to comment #24)
> P.S., thanks Roc and JoeDrew and everyone. It's pretty awesome to have Firefox
> patched for my tiny website :)
I don't think that was the *only* reason. ;)
You need to log in
before you can comment on or make changes to this bug.
Description
•