mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -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-top-left-radius using two values: 40px 30%</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
@@ -12,19 +12,19 @@
|
||||
<meta name="assert" content="To verify border-top-left-radius property set to two values with different units, works fine" />
|
||||
<style type="text/css">
|
||||
/* <![CDATA[ */
|
||||
div
|
||||
div
|
||||
{
|
||||
border:2px solid #a1a1a1;
|
||||
border:2px solid #a1a1a1;
|
||||
background:#dddddd;
|
||||
width:200px;
|
||||
height: 100px;
|
||||
border-top-left-radius: 40px 30%;
|
||||
border-top-left-radius: 40px 30%;
|
||||
}
|
||||
/* ]]> */
|
||||
</style>
|
||||
<!--
|
||||
<!--
|
||||
<script type="text/javascript" src="js/css3_test_helper.js"></script>
|
||||
-->
|
||||
-->
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
@@ -35,27 +35,27 @@
|
||||
<li>PASS if only top left corner is rounded.</li>
|
||||
<li>FAIL if the output is not as expected.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<!-- PLACE TEST CONTENT FROM HERE -->
|
||||
|
||||
|
||||
<div id="test"></div>
|
||||
<p><br /></p>
|
||||
<!--
|
||||
<script type="text/javascript">
|
||||
/* <![CDATA[ */
|
||||
/* <![CDATA[ */
|
||||
var expectedBorderRadius = "40px 30%";
|
||||
|
||||
|
||||
var testResult = check_CSS_property("border-top-left-radius", expectedBorderRadius);
|
||||
|
||||
|
||||
/* 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>
|
||||
Reference in New Issue
Block a user