Commit 8b540121 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[css-masking] Migrate clip-path-css-tranform-mutated.html to WPT

This CL migrates clip-path-css-transform-mutated[-expected].html
tests from css3/masking to external/wpt/css/css-masking/clip-path
with WPT styles, adding links to the relevant specs,
and test description.

Additionally, this test is renamed to
clip-path-transform-mutated-001[-ref].html to be align with
existing test naming style.

Bug: 1063749
Change-Id: Ibf032f065eefdbc6300255aa7a6a0e58066acd15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143420Reviewed-by: default avatarStephen Chenney <schenney@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#758096}
parent 3e311d72
<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<title>CSS Masking: Test clip-path after updating its transform</title>
<link rel="author" title="Fredrik Söderquist" href="mailto:fs@opera.com">
<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-clip-path">
<link rel="issue" href="https://bugs.chromium.org/p/chromium/issues/detail?id=881700">
<link rel="match" href="reference/clip-path-transform-mutated-001-ref.html">
<meta name="assert" content="This test ensures that updating clipPath transform works properly.">
<script>
setup({ explicit_done: true });
</script>
<style>
#target {
width: 100px;
......@@ -15,7 +23,5 @@
</clipPath>
</svg>
<script>
runAfterLayoutAndPaint(function() {
clip.style.transform = 'scale(100, 100)';
}, true);
clip.style.transform = 'scale(100, 100)';
</script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment