mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 939546644b4d333218fd9c2c0f68c60752ff1e95
This commit is contained in:
parent
b26fac3f78
commit
0ad6e78b23
435 changed files with 7534 additions and 3290 deletions
|
@ -0,0 +1,24 @@
|
|||
<!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 four percentage values</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 border image is sliced into nine regions with inward offsets, '40%' from the top, '15%' from the right,'20%' from the bottom, and '5%' from the left edges of the image. Percentages are relative to the size of the image: the width of the image for the horizontal offsets, the height for vertical offsets." name="assert">
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
border: 40px double red;
|
||||
border-image-slice: 40% 15% 20% 5%;
|
||||
border-image-source: url("../support/9grid40-30-20-10-red.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>
|
Loading…
Add table
Add a link
Reference in a new issue