mirror of
https://github.com/servo/servo.git
synced 2025-06-19 22:59:03 +01:00
25 lines
No EOL
1.1 KiB
HTML
25 lines
No EOL
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<title>CSS Test: The 'border-image-slice' property with the 'fill' keyword</title>
|
|
<link href="http://www.microsoft.com/" rel="author" title="Microsoft">
|
|
<link href="http://www.w3.org/TR/css3-background/#the-border-image-slice" rel="help">
|
|
<meta content="image" name="flags">
|
|
<meta content="This test checks that the 'fill' keyword, if present, causes the middle part of the border-image to be preserved." name="assert">
|
|
<style type="text/css">
|
|
div
|
|
{
|
|
background-color: red;
|
|
border: 40px double red;
|
|
border-image-slice: 40% 15% 20% 5% fill;
|
|
border-image-source: url("../support/9grid40-30-20-10-lime.png");
|
|
height: 100px;
|
|
margin: 50px;
|
|
width: 200px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is no red visible on the page.</p>
|
|
<div></div>
|
|
|
|
</body></html> |