Closed Bug 619117 Opened 14 years ago Closed 14 years ago

Invalidation problems on massivehealth.com

Categories

(Core :: Layout, defect)

defect
Not set
normal

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.
This is a regression from 3.6 and I expect this has to do layers
blocking2.0: --- → ?
Keywords: regression
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.
Attached image screenshot
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.
Assignee: nobody → tnikkel
blocking2.0: ? → .x
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
Based on that we might not want to bump this to .next, but I don't really understand the regressing changeset.
OS: Mac OS X → All
Hardware: x86 → All
Blocks: 624946
Bug 624946 is probably the same thing. I think this needs to block.
blocking2.0: .x → ?
Component: Graphics → Layout
QA Contact: thebes → layout
blocking2.0: ? → final+
Assignee: tnikkel → roc
I started debugging this. I don't mind taking this, but I might not get to it in a timely manner.
Attached file reduced testcase
Click on the body to trigger the bug.
This was actually reduced from bug 624946.
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.
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.
Sorry that's GetVisualOverflowRectRelativeToSelf in the previous comment. Note that GetVisualOverflowRectRelativeToSelf is specifically coded to get the overflow rect *before* transformation.
Attached patch fixSplinter Review
Fixes bug 624946 as well.
Attachment #504621 - Flags: review?(dbaron)
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?
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+
Sure.
Whiteboard: [needs review][softblocker] → [needs landing][softblocker]
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing][softblocker] → [softblocker]
Div content is blured after changing scale - filed bug 628854
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]
P.S., thanks Roc and JoeDrew and everyone. It's pretty awesome to have Firefox patched for my tiny website :)
(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.

Attachment

General

Created:
Updated:
Size: