[Webkit-unassigned] [Bug 187524] New: getClientRects and getBoundingClientRect don't follow the spec for tables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 09:20:21 PDT 2018


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

            Bug ID: 187524
           Summary: getClientRects and getBoundingClientRect don't follow
                    the spec for tables
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bzbarsky at mit.edu
                CC: cdumez at apple.com

VERSION: Safari TP 57

STEPS TO REPRODUCE: Load attached testcase.

EXPECTED BEHAVIOR: Alert shows a list with two rects in it.

ACTUAL BEHAVIOR: Alert shows a list with only one rect.

ADDITIONAL INFORMATION: https://drafts.csswg.org/cssom-view/#dom-element-getclientrects says:

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

but WebKit seems to be returning only the anonymous container box.

Gecko follows the spec here, fwiw.

-- 
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/20180710/ce2b5955/attachment.html>


More information about the webkit-unassigned mailing list