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 XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>CSS Test: Borders. border–radius using slash: 50px 10mm 3pc 15% / 0.5in 25px 10% 70pt</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
@ -12,13 +12,13 @@
|
|||
<meta name="assert" content="To verify border-radius property set with values (in different units) using slash, works as expected" />
|
||||
<style type="text/css">
|
||||
/* <![CDATA[ */
|
||||
div
|
||||
div
|
||||
{
|
||||
border:2px solid #a1a1a1;
|
||||
border:2px solid #a1a1a1;
|
||||
background:#dddddd;
|
||||
width:200px;
|
||||
height: 100px;
|
||||
border-radius: 50px 10mm 6pc 15% / 0.5in 25px 30% 70pt;
|
||||
border-radius: 50px 10mm 6pc 15% / 0.5in 25px 30% 70pt;
|
||||
}
|
||||
#reference
|
||||
{
|
||||
|
@ -29,9 +29,9 @@
|
|||
}
|
||||
/* ]]> */
|
||||
</style>
|
||||
<!--
|
||||
<!--
|
||||
<script type="text/javascript" src="js/css3_test_helper.js"></script>
|
||||
-->
|
||||
-->
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
|
@ -41,29 +41,29 @@
|
|||
<li>PASS if the two boxes below are the same and all 4 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("50px 48px", "37px 25px", "96px 30%", "15% 93px");
|
||||
|
||||
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>
|
||||
-->
|
||||
-->
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue