mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
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
This commit is contained in:
parent
245dcc2118
commit
7eff53e250
8 changed files with 119 additions and 19 deletions
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Blue Box with Green Frame</title>
|
||||
<style>
|
||||
#a {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
position: absolute;
|
||||
left: 100px;
|
||||
top: 100px;
|
||||
border-width: 50px;
|
||||
border-style: solid;
|
||||
border-image: linear-gradient(green, green);
|
||||
background-color: blue;
|
||||
background-clip: content-box;
|
||||
border-image-slice: 33%;
|
||||
padding-left: 100px;
|
||||
padding-top: 50px;
|
||||
padding-right: 10px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
</style>
|
||||
<div id="a"></div>
|
|
@ -0,0 +1,22 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue