mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 8805f23ef629338b6d28ae25cc13839e99acea1b
This commit is contained in:
parent
e12c76982d
commit
8c91d13e13
2211 changed files with 4488 additions and 6801 deletions
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Class</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree"/>
|
||||
<link rel="match" href="class-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that the class attribute affects CSS selectors.">
|
||||
<style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<meta name="assert" content="Verify whether the getElementsByClassName() works for MathML elements.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Color Attributes</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree"/>
|
||||
<meta name="assert" content="Verify that the mathcolor and mathbackground attributes are supported on the math element.">
|
||||
<link rel="match" href="color-attributes-1-ref.html"/>
|
||||
<style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>MathML display attribute</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<meta name="assert" content="Verify that the display attribute on the math element is supported and impacts centering and line breaking with surrounding content.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Dynamic MathML DOM</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS1"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom"/>
|
||||
<link rel="match" href="dynamic-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that the MathML DOM tree can be modified via javascript and that the rendering is correctly updated.">
|
||||
<style>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>href click</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<link rel="match" href="href-click-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that a click on a link moves to the target.">
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>href click</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<link rel="match" href="href-click-2-ref.html"/>
|
||||
<meta name="assert" content="Verify that a click on an element bubbles to an ancestor link.">
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>href click</title>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/testdriver.js"></script>
|
||||
<script src="/resources/testdriver-vendor.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>To test manually, click the blue rectangle.</p>
|
||||
<p>
|
||||
<math>
|
||||
<mspace width="50px" height="10px" style="background: gray"></mspace>
|
||||
<mspace id="target" href="javascript:handler()" width="50px" height="10px" style="background: blue"></mspace>
|
||||
<mspace width="50px" height="10px" style="background: gray"></mspace>
|
||||
</math>
|
||||
</p>
|
||||
<script>
|
||||
var t = async_test("Click element with href");
|
||||
function handler() { t.done(); }
|
||||
test_driver.click(document.getElementById("target"));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,28 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Manual click on a link</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
setup({explicit_timeout: true})
|
||||
function handler() {
|
||||
document.body.insertAdjacentHTML("beforeend",
|
||||
"<span style='background: green; color: white;'>PASS</span>");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Click on the one asterisk which is a link. If a "PASS" result appears the
|
||||
test passes, otherwise it fails.</p>
|
||||
<p>
|
||||
<math style="font-size: 3em;">
|
||||
<mtext>*****</mtext>
|
||||
<mtext href="javascript:handler()">*</mtext>
|
||||
<mtext>*****</mtext>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>MathML inside foreignObject</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS1"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom"/>
|
||||
<link rel="match" href="integration-point-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that MathML can be used inside a foreignObject element.">
|
||||
</head>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>MathML as a phrasing content</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS1"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom"/>
|
||||
<link rel="match" href="integration-point-2-ref.html"/>
|
||||
<meta name="assert" content="Verify that MathML can be used at positions where phrasing content is accepted.">
|
||||
<style type="text/css">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>phrasing content inside mtext</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS1"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom"/>
|
||||
<link rel="match" href="integration-point-3-ref.html"/>
|
||||
<meta name="assert" content="Verify that <mtext> can contain phrasing content">
|
||||
<style type="text/css">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>SVG requiredExtensions</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom">
|
||||
<meta name="assert" content="Verify whether the MathML namespace is recognized as a required extensions of SVG foreignObject when using the hasExtension javascript function.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>SVG requiredExtensions</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS1"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom"/>
|
||||
<link rel="match" href="required-extensions-2-ref.html"/>
|
||||
<meta name="assert" content="Verify that a foreignObject with MathML used as a requiredExtensions value is selected for display in a SVG switch element.">
|
||||
</head>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Unique identifier</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree"/>
|
||||
<link rel="match" href="unique-identifier-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that the id on a MathML element can be used as a fragment identifier in order to force initial scrolling.">
|
||||
</head>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Unique Identifier</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree">
|
||||
<meta name="assert" content="Verify whether the getElementById() works for MathML elements.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Unique Identifier</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2"/>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mathmltree"/>
|
||||
<link rel="match" href="unique-identifier-3-ref.html"/>
|
||||
<meta name="assert" content="Verify that the id attribute affects CSS selectors.">
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue