gecko-dev/testing/web-platform/tests/element-timing
Nicolás Peña Moreno dc8b49ab3b 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
2019-04-24 11:31:37 +01:00
..
resources Bug 1540738 [wpt PR 15936] - [ElementTiming] Mimic FCP++ rect computations, a=testonly 2019-04-24 11:31:37 +01:00
buffer-before-onload.html
cross-origin-element.sub.html Bug 1534110 [wpt PR 15702] - [ElementTiming] Expose cross origin elements that do not pass TAO, a=testonly 2019-04-01 14:43:13 +01:00
cross-origin-iframe-element.sub.html
image-carousel.html Bug 1540045 [wpt PR 16100] - [ElementTiming] Add carousel image test, a=testonly 2019-04-24 11:31:30 +01:00
image-clipped-svg.html Bug 1540738 [wpt PR 15936] - [ElementTiming] Mimic FCP++ rect computations, a=testonly 2019-04-24 11:31:37 +01:00
image-not-fully-visible.html
image-rect-iframe.html Bug 1540738 [wpt PR 15936] - [ElementTiming] Mimic FCP++ rect computations, a=testonly 2019-04-24 11:31:37 +01:00
image-TAO-wildcard.sub.html
images-repeated-resource.html
observe-child-element.html Bug 1534110 [wpt PR 15702] - [ElementTiming] Expose cross origin elements that do not pass TAO, a=testonly 2019-04-01 14:43:13 +01:00
observe-elementtiming.html
observe-large-image.html
observe-multiple-images.html
observe-svg-image.html Bug 1540738 [wpt PR 15936] - [ElementTiming] Mimic FCP++ rect computations, a=testonly 2019-04-24 11:31:37 +01:00
observe-video-poster.html Bug 1535608 [wpt PR 15774] - [ElementTiming] Allow timing for video poster image, a=testonly 2019-04-01 14:43:23 +01:00
progressively-loaded-image.html
supported-element-type.html