Update web-platform-tests to revision f535a2e92b3c0b43996400b0f9bfae5b5579c4bd

This commit is contained in:
WPT Sync Bot 2020-11-05 08:19:34 +00:00
parent d42fbfb315
commit fbb3d28129
64 changed files with 1087 additions and 204 deletions

View file

@ -0,0 +1,3 @@
<!DOCTYPE html>
<div style="width: 100px; height: 30px; background: green"></div>
<div style="width: 30px; height: 70px; background: green"></div>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<title>CSS Masking: Test clip-path with mix-blend-mode with offset</title>
<link rel="author" title="Xianzhu Wang" href="mailto:wangxianzhu@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path">
<link rel="match" href="clip-path-blending-offset-ref.html">
<style>
div {
width: 100px;
height: 100px;
}
#clip-path {
overflow: hidden;
background: green;
clip-path: polygon(0 0, 100px 0, 100px 30px, 30px 30px, 30px 100px, 0 100px);
}
#blend {
position: absolute;
mix-blend-mode: multiply;
left: 40px;
top: 50px;
background: red;
}
</style>
<div id="clip-path">
<div id="blend"></div>
</div>

View file

@ -0,0 +1,11 @@
<!doctype html>
<meta name="flags" content="ahem">
<link rel="stylesheet" href="/fonts/ahem.css" />
<style>
#svgText {
font: 100px/1 Ahem;
}
</style>
<svg width="500" height="300">
<text id="svgText" x="10" y="100">Text</text>
</svg>

View file

@ -0,0 +1,24 @@
<!doctype html>
<link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="match" href="clip-path-svg-text-backdrop-filter-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" href="/fonts/ahem.css" />
<style>
.masked {
width: 500px;
height: 300px;
clip-path: url(#svgPath);
backdrop-filter: invert(100%);
background: transparent;
}
#svgText {
font: 100px/1 Ahem;
}
</style>
<div class="masked"></div>
<svg>
<clipPath id="svgPath">
<text id="svgText" x="10" y="100">Text</text>
</clipPath>
</svg>