Commit a1d7cbd7 authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Commit Bot

[css-masking] Migrate clip-path-reference-box-2 to WPT

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

Bug: 1063749
Change-Id: I207d3241ef7b13e13a3b25e5582109840bf217b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143819
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758418}
parent 7275f14f
<!DOCTYPE html>
<title>CSS Masking: clip path with floated element</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="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=418484">
<link rel="match" href="reference/clip-path-reference-box-002-ref.html">
<meta name="assert" content="Check that the 'clip-path' property uses the border box as the reference box.">
<style>
.clipped {
width: 100px;
height: 200px;
background-color: green;
-webkit-clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
}
</style>
......
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