Automatic update from web-platform-tests [WPT] Move green-100x100 images Move the images from the css-masking directory to the general /images directory as they will shortly be used by a host of HTML-in-Canvas tests. Bug: 507356242 Change-Id: I5916994dd4796410e03ee7fa61652407439894ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7851076 Commit-Queue: Philip Rogers <pdr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Auto-Submit: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/main@{#1631808} -- wpt-commits: 84856289b8d5e93e82e5e82bc067c2ca1ce2cf28 wpt-pr: 59931
26 lines
626 B
HTML
26 lines
626 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Masking: mask on inline element</title>
|
|
<link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com">
|
|
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
<style type="text/css">
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
font-size: 100px;
|
|
line-height: 100px;
|
|
}
|
|
|
|
div.mask-by-png {
|
|
mask-image: url(/images/transparent-100x50-blue-100x50.png);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="mask-by-png">A</div>
|
|
<div class="mask-by-png">B</div>
|
|
</body>
|
|
</html>
|