[Webkit-unassigned] [Bug 46203] getClientRects()[0] != getBoundingClientRect()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 04:52:39 PDT 2011


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


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |krit at webkit.org
     Ever Confirmed|0                           |1




--- Comment #1 from Dirk Schulze <krit at webkit.org>  2011-09-28 04:52:39 PST ---
(In reply to comment #0)
> Created an attachment (id=68265)
 --> (https://bugs.webkit.org/attachment.cgi?id=68265&action=review) [details]
> CSSOM-SVG test case.
> 
> According to CSSOM View 7.1, getClientRects():
> 
> """
> If the element does not have an associated CSS layout box and is in the http://www.w3.org/2000/svg namespace return a ClientRectList object containing a single ClientRect object that describes the bounding box of the element as defined by SVG specification.
> """
>
I wonder what it means for the outer most SVGSVGElement. I expect that in this case we can have a list of more than jut one entries:

"""
Return a ClientRectList object containing a list of ClientRect objects in content order describing the border boxes (including those with a height or width of zero) with the following constraints:

If the element on which the method was invoked has a computed value for display property of table or inline-table include both the table box and the caption box, if any, but not the anonymous container box.

Replace each anonymous block box with its child box(es) and repeat this until no anonymous block boxes are left in the final list.
"""

http://www.w3.org/TR/cssom-view/#dom-element-getclientrects

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