servo/tests/wpt/web-platform-tests/css/css-backgrounds/border-image-outset-003.html
Pyfisch 7eff53e250 Implement border-image-outset
Add an automatic test for border-image-outset with a gradient.
Convert two tests from UTF-8 LE with CRLF line endings to
UTF-8 with LF endings as the old files could not be viewed with servo.

Closes #16638
2018-05-02 22:11:38 +02:00

22 lines
No EOL
656 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Background Image Outset</title>
<link rel="match" href="border-image-outset-003-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-image-outset" />
<style>
#a {
width: 300px;
height: 200px;
position: absolute;
left: 200px;
top: 150px;
border-width: 50px;
border-style: solid;
border-image: linear-gradient(green, green);
background-color: blue;
background-clip: content-box;
border-image-outset: 50px 10px 50px 100px;
border-image-slice: 33%;
}
</style>
<div id="a"></div>