mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Borders. border–radius using "inherit"</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
@ -14,16 +14,16 @@
|
|||
/* */
|
||||
body
|
||||
{
|
||||
border-top-left-radius: 20% 25px;
|
||||
border-top-left-radius: 20% 25px;
|
||||
border-bottom-right-radius: 20pt 3em;
|
||||
}
|
||||
div
|
||||
div
|
||||
{
|
||||
border:2px solid #a1a1a1;
|
||||
border:2px solid #a1a1a1;
|
||||
background:#dddddd;
|
||||
width:200px;
|
||||
height: 100px;
|
||||
border-radius: inherit;
|
||||
border-radius: inherit;
|
||||
}
|
||||
#reference
|
||||
{
|
||||
|
@ -34,9 +34,9 @@
|
|||
}
|
||||
/* */
|
||||
</style>
|
||||
<!--
|
||||
<!--
|
||||
<script type="text/javascript" src="js/css3_test_helper.js"></script>
|
||||
-->
|
||||
-->
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
|
@ -46,26 +46,26 @@
|
|||
<li>PASS if the two boxes below are the same and only top left and bottom right corners are rounded.</li>
|
||||
<li>FAIL if the output is not as expected.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- PLACE TEST CONTENT FROM HERE -->
|
||||
<div id="test"></div>
|
||||
<div id="test"></div>
|
||||
<p><br></p>
|
||||
<div id="reference"></div>
|
||||
<!--
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
var borders = new Array("border-top-left-radius", "border-top-right-radius",
|
||||
"border-bottom-right-radius", "border-bottom-left-radius");
|
||||
var expectedValues = new Array("20% 25px", "0px", "26px 48px", "0px");
|
||||
|
||||
var testResult = check_Multiple_CSS_property(borders, expectedValues);
|
||||
|
||||
|
||||
var testResult = check_Multiple_CSS_property(borders, expectedValues);
|
||||
|
||||
/* if (testResult.pass)
|
||||
// This portion of the code has been removed to ensure that the test case is not automated
|
||||
// This portion of the code has been removed to ensure that the test case is not automated
|
||||
else {
|
||||
// This portion of the code has been removed to ensure that the test case is not automated
|
||||
// This portion of the code has been removed to ensure that the test case is not automated
|
||||
} */
|
||||
|
||||
|
||||
if (top.FrameEnabled) top.fnLog(testResult);
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue