[Webkit-unassigned] [Bug 42706] -webkit-transform leaves seams between elements on some platforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 22 21:56:30 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42706





--- Comment #8 from Nico Weber <thakis at chromium.org>  2010-08-22 21:56:30 PST ---
Created an attachment (id=65074)
 --> (https://bugs.webkit.org/attachment.cgi?id=65074)
hacky patch to round clip rect as well

smfr, thanks for the comment. Your attachment shows jiggles with my first patch, because of the clip. If I remove the clip rect, the animation looks smooth and better than the current behavior.

Two possible remedies: Either don't do the pixel-rounding if a clip rect is set or pixel-round the clip rect too. The latter is pretty messy (rought attempt attached with this comment), but removes the jiggles for your test case. I'd vote for not doing the pixel rounding when a clip rect is set. That's almost as easy as the first patch I attached and should work in the majority of cases.

Here are screencasts that compare the current behavior with the behavior from the two patches, with both your attached test and your attached test without clip:


current behavior
no clip: http://screencast.com/t/ZmUwOTA3
clip: http://screencast.com/t/NjdhNjk2


round image and clip rects (new patch, attached with this comment)
no clip: http://screencast.com/t/YmQ5MDlj
clip: http://screencast.com/t/NjhkNjhmZ


round image rect only, keep float clip (first patch)
no clip: http://screencast.com/t/ZjI4ZGEyMGYt
clip: http://screencast.com/t/ZDMzMzRmM


wdyt?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list