[Webkit-unassigned] [Bug 11360] editing/pasteboard/copy-paste-bidi intermittently fails due to disappearance of anonymous RenderBlock

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 22 12:43:24 PDT 2006


http://bugs.webkit.org/show_bug.cgi?id=11360


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mitz at webkit.org,
                   |                            |justin.garcia at apple.com




------- Comment #1 from mitz at webkit.org  2006-10-22 12:43 PDT -------
I discovered that the undeterminism enters in
ReplaceSelectionCommand::removeRedundantStyles(). The iteration order over the
NodeStyleMap (in the for loop) isn't the same in every run (despite the order
of traversal in the while loop that fills up the map being deterministic, of
course).

You can probably simply replace the map with two vectors and iterate them
simultaneously, to ensure deterministic order. However, you can also consider
the current results as indicating two bugs in the rendering code: (a) leftover
empty anonymous block(s) and (b) the final render tree depends on the order of
operations.


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



More information about the webkit-unassigned mailing list