[Webkit-unassigned] [Bug 184303] New: Element.getClientRects returns only the first box fragment of fragmented elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 08:23:24 PDT 2018


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

            Bug ID: 184303
           Summary: Element.getClientRects returns only the first box
                    fragment of fragmented elements
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matt.curtis.biz at gmail.com
                CC: cdumez at apple.com

Created attachment 337170

  --> https://bugs.webkit.org/attachment.cgi?id=337170&action=review

An example document demonstrating the issue.

Overview: The W3C specification (https://drafts.csswg.org/cssom-view/#dom-element-getclientrects) states that Element.getClientRects should return the all box fragments for fragmented elements, however WebKit's implementation only seems to return the first.

Steps to Reproduce:

1) Create a document where the body is fragmented using (column-count: 2). See attached example document.

2) Run Element.getClientRects() on the first child element of the body.

Expected Results: Both box fragments are returned.

Build Date & Hardware: Safari Technology Preview 52, macOS 10.13.4.

Additional Builds and Platforms: Observed in simulator and on-device for iOS 11.3.

Additional Information: None.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180404/0c9cadf7/attachment-0002.html>


More information about the webkit-unassigned mailing list