If you play around with the selected text in the linked example there are frequent repaint errors
<rdar://problem/5632991>
I think the way to fix this is to implement a bool RenderSVGBlock::absolutePosition(int& xPos, int& yPos, bool fixed) const function which is absoluteTransform() aware.
Created attachment 47055 [details] Patch
Yay! Thanks for fixing.
Committed r53561: <http://trac.webkit.org/changeset/53561>
Committed r53561 -- only partial fix, selection for list markers is still borked
Committed r53562: <http://trac.webkit.org/changeset/53562>
Created attachment 47076 [details] Patch
Created attachment 47096 [details] Patch
Comment on attachment 47096 [details] Patch > +IntRect RenderListMarker::localSelectionRect() > +{ > + InlineBox* box = inlineBoxWrapper(); > + if (!box) > + return IntRect(); > + RootInlineBox* root = box->root(); > + if (!root) > + return IntRect(); No need to null-check root. > + IntRect localSelectionRect(); You should use this new function in selectionRectForRepaint() too instead of having duplicated code. r=me but please do ^ if possible.
Committed r53603: <http://trac.webkit.org/changeset/53603>