[Webkit-unassigned] [Bug 95449] New: transition tweens calculate incorrectly when manipulating DOM and changing className
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 30 05:48:47 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95449
Summary: transition tweens calculate incorrectly when
manipulating DOM and changing className
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: o.gorter at activevideo.com
Created an attachment (id=161454)
--> (https://bugs.webkit.org/attachment.cgi?id=161454&action=review)
hit left/right and observe "holes"
If in the middle of an animation, and you add/remove DOM nodes, and set new endpoints, the animation tweens normally.
if in the middle of an animation, and you change node className's, and set new endpoints, the animation tweens normally.
But, if you manipulate the DOM *and* change some nodes className's, for those nodes, the positions for the new animation are off.
See the attached testcase which emulates an endless scrolling list with an animation of 1 second. Just hit left/right in quick succession and observe the "holes".
Turning off SET_FOCUS does not change classNames and the animation look continuous and without any holes.
Turning off DOM_CHANGE does not add/remove nodes, and the animation looks continues (but you cannot go far ...).
But both together cause "holes" to appear in the animation.
Even setting the same classname on an element still has the this effect, what actually gets styled seems irrelevant to this bug.
It is purely cosmetic, but it is in the way of some otherwise nice effects you can do with this.
--
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