Update web-platform-tests to revision 38bd28fe2368c650cf6e57be205cf3118dbd4997

This commit is contained in:
WPT Sync Bot 2019-02-25 20:41:08 -05:00
parent a28e15e4ea
commit 85fe63f512
165 changed files with 2144 additions and 2644 deletions

View file

@ -1,64 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using two length values: 40px 20px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-004.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to two length values, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 40px 20px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom 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[ */
var expectedBorderRadius = "40px 20px";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -0,0 +1,23 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-bottom-left-radius: 48px 28px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-bottom-left-radius: 48px 28px;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-left-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,64 +1,25 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using one percentage value: 20%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-003.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to percentage value, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 20%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-bottom-left-radius using one percentage</title>
<link rel="match" href="border-bottom-left-radius-004-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20%";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-bottom-left-radius: 20%;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-left-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-bottom-left-radius: 48px 14px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-bottom-left-radius: 48px 14px;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-left-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,63 +1,24 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using two percentage values: 20% 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-006.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to two precentage value, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 20% 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-bottom-left-radius using two percentages</title>
<link rel="match" href="border-bottom-left-radius-005-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20% 30%";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-bottom-left-radius: 20% 10%;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-left-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,63 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using two values: 40px 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-005.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to two values in different unit, works fine" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 40px 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom 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[ */
var expectedBorderRadius = "40px 30%";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,63 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using two values: 20% 25px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-009.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to two values in different unit, works fine" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 20% 25px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom 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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using two values: 4em 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-left-radius property set to two values in different units, works fine" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: 4em 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom 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[ */
var expectedBorderRadius = "64px 30%";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,67 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-left-radius using &quot;inherit&quot;</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-left-radius-007.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify if inherit feature works, when assigned to border-bottom-left-radius" />
<style type="text/css">
/* <![CDATA[ */
body
{
border-bottom-left-radius: 20% 25px;
}
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-left-radius: inherit;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom 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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-bottom-left-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,63 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using two length values: 40px 20px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-004.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set with two length values, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 40px 20px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right 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[ */
var expectedBorderRadius = "40px 20px";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -0,0 +1,23 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-bottom-right-radius: 48px 28px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-bottom-right-radius: 48px 28px;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-right-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,63 +1,25 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using one percentage value: 20%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-003.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set with one percentage value, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 20%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-bottom-right-radius using one percentage</title>
<link rel="match" href="border-bottom-right-radius-004-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20%";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-bottom-right-radius: 20%;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-right-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-bottom-right-radius: 48px 14px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-bottom-right-radius: 48px 14px;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-right-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,63 +1,24 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using two percentage value: 20% 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-006.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set with two percentage value works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 20% 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-bottom-right-radius using two percentages</title>
<link rel="match" href="border-bottom-right-radius-005-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20% 30%";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-bottom-right-radius: 20% 10%;
}
</style>
</head>
<body>
<p>The box should have a border-bottom-right-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,63 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using two value: 40px 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-005.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set to two value with different unit, works as expected"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 40px 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right 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[ */
var expectedBorderRadius = "40px 30%";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,63 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using two value: 20% 25px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-009.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set to two value with different unit, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 20% 25px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right 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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using two values: 4em 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<meta name="flags" content="" />
<meta name="assert" content="To verify border-bottom-right-radius property set to two values with different units, works as expected" />
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: 4em 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right 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[ */
var expectedBorderRadius = "64px 30%";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,67 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-bottom-right-radius using &quot;inherit&quot;</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="author" title="Nokia" href="http://www.nokia.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius" />
<link rel="match" href="border-bottom-right-radius-007.xht" />
<meta name="flags" content="" />
<meta name="assert" content="To verify if inherit feature works, when assigned to &quot;border&ndash;bottom&ndash;right&ndash;radius&quot; property" />
<style type="text/css">
/* <![CDATA[ */
body
{
border-bottom-right-radius: 20% 25px;
}
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-bottom-right-radius: inherit;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded bottom right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only bottom right 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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-bottom-right-radius", expectedBorderRadius);
// if (testResult.pass)
/* 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 */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,47 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
CSS Border and Background: border-image #5 border-image-slice
</title>
<meta name="assert" content="Negative values for the the border-image-slice property should not be supported" />
<link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / >
<link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-slice">
<link rel="match" href="support/reftest-border-image-5.png" />
<style type="text/css">
#filler {
background-color : #009900;
width : 40px;
height: 40px;
}
#test {
border : 10px solid red;
width : 40px;
height : 40px;
border-image-source: url(support/img-ref-1.png);
border-image-slice : -10;
}
</style>
</head>
<body>
<p>
Pass if the green square have smaller green squares at its corners and <strong>no</strong> red.
</p>
<div id="test">
<div id="filler"></div>
</div>
</body>
</html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>border-image-6-ref</title>
<style type="text/css">
#container {
position: relative;
width: 60px;
height: 60px;
}
#filler {
position: absolute;
top: 10px;
left: 10px;
width: 40px;
height: 40px;
background-color: #090;
}
.small {
position: absolute;
width: 10px;
height: 10px;
/* orange appears here to make it super-clear if this doesn't load */
background: url(support/img-ref-1.png) orange;
}
.small.top {
top: 0;
}
.small.bottom {
bottom: 0;
}
.small.left {
left: 0;
}
.small.right {
right: 0;
}
</style>
</head>
<body>
<p>
Pass if the green square have smaller green squares at its corners and <strong>no</strong> red borders.
</p>
<div id="container">
<div id="filler"></div>
<div class="small top left"></div>
<div class="small top right"></div>
<div class="small bottom left"></div>
<div class="small bottom right"></div>
</div>
</body>
</html>

View file

@ -11,7 +11,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-slice">
<link rel="match" href="support/reftest-border-image-5.png" />
<link rel="match" href="border-image-6-ref.html" />
<style type="text/css">

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using two length values: 40px 20px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-004.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-left-radius property set to two length values, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 40px 20px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "40px 20px";
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
else {
// 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>

View file

@ -0,0 +1,23 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-top-left-radius: 48px 28px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-top-left-radius: 48px 28px;
}
</style>
</head>
<body>
<p>The box should have a border-top-left-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +1,25 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using one percentage value: 20%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-003.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-left-radius property set to one percentage value, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 20%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only top left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-top-left-radius using one percentage</title>
<link rel="match" href="border-top-left-radius-004-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20%";
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
else {
// 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>
background: orange;
border: 20px solid teal;
border-top-left-radius: 20%;
}
</style>
</head>
<body>
<p>The box should have a border-top-left-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-top-left-radius: 48px 14px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-top-left-radius: 48px 14px;
}
</style>
</head>
<body>
<p>The box should have a border-top-left-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +1,24 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using two percentage values: 20% 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-006.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-left-radius property set to two percentage values, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 20% 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only top left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-top-left-radius using two percentages</title>
<link rel="match" href="border-top-left-radius-005-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20% 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
else {
// 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>
background: orange;
border: 20px solid teal;
border-top-left-radius: 20% 10%;
}
</style>
</head>
<body>
<p>The box should have a border-top-left-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +0,0 @@
<!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">
<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"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-005.xht" />
<meta name="flags" content=""/>
<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
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 40px 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
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
else {
// 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>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using two values: 20% 25px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-009.xht" />
<meta name="flags" content=""/>
<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
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 20% 25px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "20% 25px";
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
else {
// 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>

View file

@ -1,59 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using two values: 4em 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<meta name="flags" content=""/>
<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
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: 4em 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p id="testdetails">
</p>
<p>
There should be a box with a rounded top left corner.</p>
<ul>
<li>PASS if only top left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<div id="test"></div>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "64px 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
else {
// 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>

View file

@ -1,66 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-left-radius using &quot;inherit&quot;</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-left-radius-007.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify inherit feature works, when it is assigned to border-top-left-radius."/>
<style type="text/css">
/* <![CDATA[ */
body
{
border-top-left-radius: 20% 25px;
}
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-left-radius: inherit;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top left corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "20% 25px";
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
else {
// 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>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using two length values: 40px 20px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-004.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to two length values, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 40px 20px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "40px 20px";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-top-right-radius: 48px 28px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-top-right-radius: 48px 28px;
}
</style>
</head>
<body>
<p>The box should have a border-top-right-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +1,24 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using one percentage value: 20%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-003.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to one percentage value, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 20%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only top left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-top-right-radius using one percentage</title>
<link rel="match" href="border-top-right-radius-004-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20%";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-top-right-radius: 20%;
}
</style>
</head>
<body>
<p>The box should have a border-top-right-radius of 48px 28px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>border-top-right-radius: 48px 14px reference</title>
<style type="text/css">
div
{
width: 200px;
height: 100px;
background: orange;
border: 20px solid teal;
border-top-right-radius: 48px 14px;
}
</style>
</head>
<body>
<p>The box should have a border-top-right-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +1,24 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using two percentage values: 20% 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-006.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to two percentage values, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 20% 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<li>PASS if only top left corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<head>
<title>border-top-right-radius using two percentages</title>
<link rel="match" href="border-top-right-radius-005-ref.xht" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius" />
<style type="text/css">
div
{
width: 200px;
height: 100px;
<!-- PLACE TEST CONTENT FROM HERE -->
<div id="test"></div>
<p><br/></p>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "20% 30%";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
background: orange;
border: 20px solid teal;
border-top-right-radius: 20% 10%;
}
</style>
</head>
<body>
<p>The box should have a border-top-right-radius of 48px 14px. The
horizontal radius should therefore be clearly larger than the
vertical radius.</p>
<div></div>
</body>
</html>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using two values: 40px 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-005.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to two values with different units, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 40px 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "40px 30%";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,62 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using two values: 20% 25px</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-009.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to two values with different units, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 20% 25px;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,59 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using two values: 4em 30%</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<meta name="flags" content=""/>
<meta name="assert" content="To verify border-top-right-radius property set to two values with different units, works fine"/>
<style type="text/css">
/* <![CDATA[ */
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: 4em 30%;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p id="testdetails">
</p>
<p>
There should be a box with a rounded top right corner.</p>
<ul>
<li>PASS if only top right corner is rounded.</li>
<li>FAIL if the output is not as expected.</li>
</ul>
<div id="test"></div>
<!--
<script type="text/javascript">
/* <![CDATA[ */
var expectedBorderRadius = "64px 30%";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -1,66 +0,0 @@
<!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">
<head>
<title>CSS Test: Borders. Border-top-right-radius using &quot;inherit&quot;</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<link rel="author" title="Nokia" href="http://www.nokia.com/"/>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-radius"/>
<link rel="match" href="border-top-right-radius-007.xht" />
<meta name="flags" content=""/>
<meta name="assert" content="To verify inherit feature works, when it is assigned to border-top-right-radius."/>
<style type="text/css">
/* <![CDATA[ */
body
{
border-top-right-radius: 20% 25px;
}
div
{
border:2px solid #a1a1a1;
background:#dddddd;
width:200px;
height: 100px;
border-top-right-radius: inherit;
}
/* ]]> */
</style>
<!--
<script type="text/javascript" src="js/css3_test_helper.js"></script>
-->
</head>
<body>
<p>
There should be a box with a rounded top right corner.
</p>
<!-- PASS AND FAIL CRITERIA ARE IN THE LIST BELOW -->
<ul>
<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[ */
var expectedBorderRadius = "20% 25px";
var testResult = check_CSS_property("border-top-right-radius", expectedBorderRadius);
/* if (testResult.pass)
// 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
} */
if (top.FrameEnabled) top.fnLog(testResult);
/* ]]> */
</script>
-->
</body>
</html>

View file

@ -20,6 +20,8 @@ test_invalid_value("border-image-slice", "-1 2% fill");
test_invalid_value("border-image-slice", "1 2 3 4 5");
test_invalid_value("border-image-slice", "1% fill 2%");
test_invalid_value("border-image-slice", "-10");
</script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B