Auto merge of #22941 - servo-wpt-sync:wpt_update_25-02-2019, r=jdm

Sync WPT with upstream (25-02-2019)

Automated downstream sync of changes from upstream as of 25-02-2019.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22941)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-02-27 09:29:14 -05:00 committed by GitHub
commit 2fb00d1d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
165 changed files with 2144 additions and 2644 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,25 @@
[constructors.html]
[Subclass constructor in child window]
expected: FAIL
[Constructor in child window with bad NewTarget from parent window]
expected: FAIL
[Subclass constructor in parent window]
expected: FAIL
[Constructor in parent window with normal NewTarget from child window]
expected: FAIL
[Subclass constructor in child window with parent class in parent window]
expected: FAIL
[Constructor in parent window with bad NewTarget from child window]
expected: FAIL
[Constructor in child window with normal NewTarget from parent window]
expected: FAIL
[Subclass constructor in parent window with parent class in child window]
expected: FAIL

View file

@ -0,0 +1,2 @@
[text-indent-wrap-001.xht]
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-bottom-left-radius-004.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-bottom-left-radius-005.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-bottom-right-radius-004.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-bottom-right-radius-005.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-image-6.html]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-top-left-radius-004.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-top-left-radius-005.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-top-right-radius-004.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[border-top-right-radius-005.xht]
type: reftest
expected: FAIL

View file

@ -107,9 +107,6 @@
[Matching font-style: 'oblique 10deg' should prefer 'oblique 0deg' over 'oblique -50deg -20deg']
expected: FAIL
[Matching font-style: 'oblique 10deg' should prefer 'oblique -50deg -20deg' over 'oblique -40deg -30deg']
expected: FAIL
[Matching font-style: 'oblique 0deg' should prefer 'oblique 0deg' over 'oblique 5deg']
expected: FAIL
@ -134,9 +131,6 @@
[Matching font-style: 'oblique -10deg' should prefer 'oblique -60deg -30deg' over 'oblique -50deg -40deg']
expected: FAIL
[Matching font-style: 'oblique -10deg' should prefer 'oblique -50deg -40deg' over 'italic']
expected: FAIL
[Matching font-style: 'oblique -10deg' should prefer 'italic' over 'oblique 0deg 10deg']
expected: FAIL
@ -317,12 +311,6 @@
[Matching font-style: 'oblique 0deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg']
expected: FAIL
[Matching font-weight: '399' should prefer '500 501' over '502 510']
expected: FAIL
[Matching font-stretch: '100%' should prefer '100%' over '110% 120%']
expected: FAIL
[Matching font-style: 'oblique 0deg' should prefer 'oblique 40deg 50deg' over 'italic']
expected: FAIL

View file

@ -0,0 +1,2 @@
[white-space-wrap-after-nowrap-001.html]
expected: FAIL

View file

@ -32,7 +32,7 @@
[single-byte-decoder.html?XMLHttpRequest]
expected: TIMEOUT
expected: CRASH
[ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[javascript-url-abort-return-value-string.tentative.html]
[Aborting fetch for javascript:string navigation]
expected: FAIL

View file

@ -1,5 +0,0 @@
[javascript-url-abort-return-value-undefined.tentative.html]
expected: TIMEOUT
[Not aborting fetch for javascript:undefined navigation]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[navigation-unload-same-origin-fragment.html]
[Tests that a fragment navigation in the unload handler will not block the initial navigation]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -1,4 +0,0 @@
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,4 @@
[activation-behavior.window.html]
[<a> that is not connected should be followed]
expected: FAIL

View file

@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

@ -1,5 +1,6 @@
[003.html]
type: testharness
expected: ERROR
[shared]
expected: FAIL

View file

@ -0,0 +1,2 @@
[transition_calc_implicit.html]
expected: TIMEOUT

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<script>
window.badNewTarget = function() {};
badNewTarget.prototype = 8;
window.DOMParserSubclass = class extends DOMParser {}
window.ForeignDOMParserSubclass = class extends parent.DOMParser {}
</script>

View file

@ -0,0 +1,96 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Realm for constructed objects</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
function object_realm(dp) {
// Note that browsers use the URL of the relevant global object's associated
// Document.
// https://github.com/w3c/DOM-Parsing/issues/46
var url = DOMParser.prototype.parseFromString.call(dp, "x", "text/html").documentURI;
var file = url.slice(url.lastIndexOf("/") + 1);
switch (file) {
case "constructors.html":
return "parent window";
case "constructors-support.html":
return "child window";
default:
return "???";
}
}
async_test(function() {
var iframe = document.createElement("iframe");
iframe.onload = this.step_func_done(function() {
var child = iframe.contentWindow;
test(function() {
var dp = new DOMParser();
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype);
assert_equals(object_realm(dp), "parent window");
}, "Normal constructor in parent window");
test(function() {
var dp = new child.DOMParser();
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype);
assert_equals(object_realm(dp), "child window");
}, "Normal constructor in child window");
test(function() {
var dp = Reflect.construct(child.DOMParser, [], DOMParser);
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype);
assert_equals(object_realm(dp), "child window");
}, "Constructor in child window with normal NewTarget from parent window");
test(function() {
var dp = Reflect.construct(DOMParser, [], child.DOMParser);
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype);
assert_equals(object_realm(dp), "parent window");
}, "Constructor in parent window with normal NewTarget from child window");
test(function() {
class DOMParserSubclass extends DOMParser {}
var dp = new DOMParserSubclass();
assert_equals(Object.getPrototypeOf(dp), DOMParserSubclass.prototype);
assert_equals(object_realm(dp), "parent window");
}, "Subclass constructor in parent window");
test(function() {
var dp = new child.DOMParserSubclass();
assert_equals(Object.getPrototypeOf(dp), child.DOMParserSubclass.prototype);
assert_equals(object_realm(dp), "child window");
}, "Subclass constructor in child window");
test(function() {
class ForeignDOMParserSubclass extends child.DOMParser {}
var dp = new ForeignDOMParserSubclass();
assert_equals(Object.getPrototypeOf(dp), ForeignDOMParserSubclass.prototype);
assert_equals(object_realm(dp), "child window");
}, "Subclass constructor in parent window with parent class in child window");
test(function() {
var dp = new child.ForeignDOMParserSubclass();
assert_equals(Object.getPrototypeOf(dp), child.ForeignDOMParserSubclass.prototype);
assert_equals(object_realm(dp), "parent window");
}, "Subclass constructor in child window with parent class in parent window");
test(function() {
var badNewTarget = function() {};
badNewTarget.prototype = 7;
var dp = Reflect.construct(child.DOMParser, [], badNewTarget);
assert_equals(Object.getPrototypeOf(dp), DOMParser.prototype);
assert_equals(object_realm(dp), "child window");
}, "Constructor in child window with bad NewTarget from parent window");
test(function() {
var dp = Reflect.construct(DOMParser, [], child.badNewTarget);
assert_equals(Object.getPrototypeOf(dp), child.DOMParser.prototype);
assert_equals(object_realm(dp), "parent window");
}, "Constructor in parent window with bad NewTarget from child window");
});
iframe.src = "constructors-support.html";
document.body.appendChild(iframe);
});
</script>

View file

@ -2,6 +2,7 @@
<title>CSS Reftest Reference</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="mismatch" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
p { margin-left: 100px }

View file

@ -2,7 +2,7 @@
<title>CSS Reftest Reference</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="match" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<link rel="mismatch" href="text-indent-wrap-001-notref-block-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
i { float: left; height: 0.3em; width: 100px; }

View file

@ -4,7 +4,6 @@
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop" />
<link rel="match" href="text-indent-wrap-001-ref-inline-margin.xht"/>
<link rel="mismatch" href="text-indent-wrap-001-notref-block-margin.xht"/>
<meta name="flags" content="" />
<style type="text/css">
p { text-indent: 100px }
@ -15,4 +14,4 @@ span { background: yellow }
<p><span>This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines.</span></p>
</body></html>
</body></html>

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

View file

@ -10,7 +10,7 @@
<!-- This makes sure that we only see green if the flex items are sized correctly -->
<div style="position: absolute; width: 100px; height: 100px; background: green;"></div>
<div style="display: flex; flex-direction: column; flex-wrap: wrap; width: 100px; height: 100px; line-height: 20x;">
<div style="display: flex; flex-direction: column; flex-wrap: wrap; width: 100px; height: 100px; line-height: 20px;">
<div style="background-color: red; height: 100px;">
<!-- These zero-height divs give the flex item has a min-content width of
50px and a max-content width of 250px -->

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<link rel="author" title="Google LLC" href="http://www.google.com" />
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#cross-sizing" />
<title>css-flexbox: Tests that we size items in a wrapping column flexbox as fit-content</title>
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
<meta name="assert" content="The flexbox here should have one flex line, 100px by 100px. The flex items overflow but are transparent." />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<!-- This makes sure that we only see green if the flex items are sized correctly -->
<div style="position: absolute; width: 100px; height: 100px; background: green;"></div>
<div style="display: flex; flex-direction: column; flex-wrap: wrap; width: 125px; height: 100px; line-height: 20px;">
<!-- The margin-right means that the flex item should be only 100px wide,
because it will use the available width of 125px minus the 25px margin. -->
<div style="background-color: red; height: 100px; margin-right: 25px;">
<!-- These zero-height divs give the flex item has a min-content width of
50px and a max-content width of 250px -->
<div style="width: 50px; display: inline-block;"></div>
<div style="width: 50px; display: inline-block;"></div>
<div style="width: 50px; display: inline-block;"></div>
<div style="width: 50px; display: inline-block;"></div>
<div style="width: 50px; display: inline-block;"></div>
</div>
</div>

View file

@ -2,7 +2,7 @@
<title>Conic gradient with a two position color stop</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax">
<meta name="assert" content="A color stop with two positions create a hard transition">
<link rel="match" href="support/100x100-blue-green.html">
<link rel="match" href="reference/100x100-blue-green.html">
<style>
#target {
width: 100px;

View file

@ -2,7 +2,7 @@
<title>Linear gradient with a two position color stop</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax">
<meta name="assert" content="A color stop with two positions create a hard transition">
<link rel="match" href="support/100x100-blue-green.html">
<link rel="match" href="reference/100x100-blue-green.html">
<style>
#target {
width: 100px;

View file

@ -2,7 +2,7 @@
<title>Radial gradient with a two position color stop</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#color-stop-syntax">
<meta name="assert" content="A color stop with two positions create a hard transition">
<link rel="match" href="support/100x100-blue-green.html">
<link rel="match" href="reference/100x100-blue-green.html">
<style>
#target {
width: 100px;

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<title>CSS Namespaces Test Suite: prefix case-sensitivity</title>
<style>
@namespace Foo "y";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<title>CSS Namespaces Test Suite: empty string prefix (Explicit element namespace)</title>
<style>
@namespace foo "";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-1-generic.xml"/>
<link rel="match" href="reference/ref-lime-1-generic.xml"/>
<title>CSS Namespaces Test Suite: empty string prefix (Implied element namespace)</title>
<style>
@namespace foo "";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-2-generic.xml"/>
<link rel="match" href="reference/ref-lime-2-generic.xml"/>
<title>CSS Namespaces Test Suite: empty string default namespace</title>
<style>
@namespace "";

View file

@ -4,7 +4,7 @@
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="author" title="Boris Zbarsky" href="https://bugzilla.mozilla.org/show_bug.cgi?id=458381#c4"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-2-generic.xml"/>
<link rel="match" href="reference/ref-lime-2-generic.xml"/>
<title>CSS Namespaces Test Suite: no default namespace</title>
<style>
@namespace x "test";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#prefixes"/>
<link rel="match" href="reftest/ref-lime-2.xml"/>
<link rel="match" href="reference/ref-lime-2.xml"/>
<title>CSS Namespaces Test Suite: no prefix</title>
<style>
@namespace "test";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#scope"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<meta name="flags" content="invalid"/>
<title>CSS Namespaces Test Suite: scope &lt;style></title>
<style>

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#scope"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<title>CSS Namespaces Test Suite: scope @import</title>
<style>
test { background:lime }

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-1-block.xml"/>
<link rel="match" href="reference/ref-lime-1-block.xml"/>
<title>CSS Namespaces Test Suite: @namespace case-insensitivity</title>
<style>
@NAmespace x "http://www.w3.org/1999/xhtml";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-1-block.xml"/>
<link rel="match" href="reference/ref-lime-1-block.xml"/>
<title>CSS Namespaces Test Suite: @namespace syntax with escapes</title>
<style>
@\N\000041 mes\pac\65 x "http://www.w3.org/1999/xhtml";

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-5.xml"/>
<link rel="match" href="reference/ref-lime-5.xml"/>
<title>CSS Namespaces Test Suite: @namespace default namespace syntax</title>
<style>
*|test { background:red }

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<title>CSS Namespaces Test Suite: @namespace url() with escape</title>
<style>
@namespace u\00072l("test");

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-5.xml"/>
<link rel="match" href="reference/ref-lime-5.xml"/>
<title>CSS Namespaces Test Suite: @namespace string and url() syntax</title>
<style>
test { background:red }

View file

@ -3,7 +3,7 @@
<link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
<link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
<link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/>
<link rel="match" href="reftest/ref-lime-1.xml"/>
<link rel="match" href="reference/ref-lime-1.xml"/>
<meta name="flags" content="invalid"/>
<title>CSS Namespaces Test Suite: invalid ordering of @namespace and @import</title>
<style>

Some files were not shown because too many files have changed in this diff Show more