[Webkit-unassigned] [Bug 42815] getBoundingClientRect Broken for SVG Elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 25 19:35:31 PDT 2010


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


Cosmin Truta <ctruta at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65517|                            |review?, commit-queue?
               Flag|                            |




--- Comment #3 from Cosmin Truta <ctruta at chromium.org>  2010-08-25 19:35:31 PST ---
Created an attachment (id=65517)
 --> (https://bugs.webkit.org/attachment.cgi?id=65517)
Fix and layout test

(In reply to comment #1)
I wonder if it's necessary to create this separate code path for SVG inside Element::getBoundingClientRect, when it's simpler to just add box model object capabilities to the SVG render. I replaced the base class of RenderSVGModelObject with RenderPath (which is a subclass of RenderBoxModelObject), and everything just starts working.

-- 
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