Closed Bug 1627226 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22683 - [css-filters] Migrate background-image-blur-repaint.html test to WPT

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22683 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22683
Details from upstream follow.

Mario Sanchez Prada <mario@igalia.com> wrote:

[css-filters] Migrate background-image-blur-repaint.html test to WPT

Migrate this test out of third_party/blink/web_tests/css3/filters
and into the WPT-specific directory, adding links to the relevant
specs and a test assertion describing its purpose.

Note that this test depends on the runAfterLayoutAndPaint() helper
function from run-after-layout-and-paint.js, which is based on
testRunner. Thus, this migration also includes the required changes
to the test to implement the same functionality in the reftest,
that is, relying on two chained runs of requestAnimationFrame()
to make sure that at least one frame has been rendered and then
using \<html class="reftest-wait"> as described in [1] to make
sure we don't take the screenshot until the desired changes have
been made (i.e. shrinking a box, in this particular test).

Last, a new file in external/wpt/css/filter-effects/support has
been added as required by this test, as well as by many other ones
under css3/filters that will be migrated in the future.

[1] https://web-platform-tests.org/writing-tests/reftests.html?highlight=reftests#controlling-when-comparison-occurs

Bug: 1063749
Change-Id: Iebc5db044597853ab47d723337c6235a84f9cf5b
Reviewed-on: https://chromium-review.googlesource.com/2134297
WPT-Export-Revision: ea649f587fa2a9c9f9a84902297c91157455f08a

Component: web-platform-tests → Web Painting
Product: Testing → Core
PR 22683 applied with additional changes from upstream: 919ca26d28f02c636d4fa3d4e910a6038f02d993
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0acf51dfba6b
[wpt PR 22683] - [css-filters] Migrate background-image-blur-repaint.html test to WPT, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.