Bug
1540738 [wpt PR 15936] - [ElementTiming] Mimic FCP++ rect computations, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Mimic FCP++ rect computations
This CL changes ElementTiming rect computation to use a computation
similar to that used by FCP++, but relative to the owning frame.
The tests show that the new computation seems more accurate as they
uncovered a problem with the SVG test: default SVG size is 300x150 so
it was clipping the <image> element inside.
A test for rect coordinates relative to iframe is added.
Bug: 879270, 943138
Change-Id: Ib8fa266bda76843fbf7ca07f82ac5bb245d52c4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
1531503
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#645021}
--
wpt-commits:
5570bb27d55420f0639dab2415e618afdb94a6f6
wpt-pr: 15936