Bug 172057 - The rects returned by Element/Range.getClientRects() should not be rounded
Summary: The rects returned by Element/Range.getClientRects() should not be rounded
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks: 172058
  Show dependency treegraph
 
Reported: 2017-05-12 16:13 PDT by Simon Fraser (smfr)
Modified: 2017-05-12 22:43 PDT (History)
9 users (show)

See Also:


Attachments
Patch (70.32 KB, patch)
2017-05-12 16:19 PDT, Simon Fraser (smfr)
cdumez: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1.16 MB, application/zip)
2017-05-12 17:21 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews123 for ios-simulator-wk2 (16.88 MB, application/zip)
2017-05-12 17:49 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews103 for mac-elcapitan (1019.34 KB, application/zip)
2017-05-12 17:51 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews112 for mac-elcapitan (1.94 MB, application/zip)
2017-05-12 18:19 PDT, Build Bot
no flags Details
Patch (105.24 KB, patch)
2017-05-12 21:46 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2017-05-12 16:13:57 PDT
The rects returned by Element/Range.getClientRects() should not be rounded
Comment 1 Simon Fraser (smfr) 2017-05-12 16:19:26 PDT
Created attachment 309965 [details]
Patch
Comment 2 Chris Dumez 2017-05-12 16:21:20 PDT
Comment on attachment 309965 [details]
Patch

r=me
Comment 3 Radar WebKit Bug Importer 2017-05-12 16:49:41 PDT
<rdar://problem/32168253>
Comment 4 Build Bot 2017-05-12 17:21:01 PDT
Comment on attachment 309965 [details]
Patch

Attachment 309965 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/3729189

New failing tests:
fast/multicol/client-rects-spanners-complex.html
Comment 5 Build Bot 2017-05-12 17:21:03 PDT
Created attachment 309973 [details]
Archive of layout-test-results from ews106 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 6 Build Bot 2017-05-12 17:49:01 PDT
Comment on attachment 309965 [details]
Patch

Attachment 309965 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/3729226

New failing tests:
fast/transforms/bounding-rect-zoom.html
fast/multicol/client-rects.html
fast/multicol/newmulticol/client-rects.html
fast/multicol/client-rects-spanners.html
fast/dom/Range/simple-line-layout-getclientrects.html
fast/multicol/client-rects-spanners-complex.html
Comment 7 Build Bot 2017-05-12 17:49:03 PDT
Created attachment 309979 [details]
Archive of layout-test-results from ews123 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews123  Port: ios-simulator-wk2  Platform: Mac OS X 10.11.6
Comment 8 Build Bot 2017-05-12 17:51:11 PDT
Comment on attachment 309965 [details]
Patch

Attachment 309965 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/3729358

New failing tests:
fast/multicol/client-rects-spanners-complex.html
Comment 9 Build Bot 2017-05-12 17:51:13 PDT
Created attachment 309982 [details]
Archive of layout-test-results from ews103 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 10 Build Bot 2017-05-12 18:19:29 PDT
Comment on attachment 309965 [details]
Patch

Attachment 309965 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/3729474

New failing tests:
fast/visual-viewport/client-rects-relative-to-layout-viewport.html
fast/multicol/client-rects-spanners-complex.html
Comment 11 Build Bot 2017-05-12 18:19:30 PDT
Created attachment 309987 [details]
Archive of layout-test-results from ews112 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews112  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 12 Simon Fraser (smfr) 2017-05-12 21:46:22 PDT
Created attachment 310010 [details]
Patch
Comment 13 Simon Fraser (smfr) 2017-05-12 22:43:36 PDT
https://trac.webkit.org/changeset/216817/webkit