Update web-platform-tests to revision 8805f23ef629338b6d28ae25cc13839e99acea1b

This commit is contained in:
WPT Sync Bot 2019-02-23 21:02:04 -05:00
parent e12c76982d
commit 8c91d13e13
2211 changed files with 4488 additions and 6801 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,3 +6,6 @@
[Instant scrolling while doing history navigation.]
expected: FAIL
[Smooth scrolling while doing history navigation.]
expected: FAIL

View file

@ -55,7 +55,7 @@
expected: FAIL
[windows-1252: iso_8859-1:1987 (XMLHttpRequest)]
expected: TIMEOUT
expected: FAIL
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
expected: TIMEOUT
@ -108,56 +108,29 @@
[windows-1258: cp1258 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1253: x-cp1253 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1256: cp1256 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: iso88591 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1254: iso-8859-9 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: iso_8859-1 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: latin1 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1254: csisolatin5 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1257: x-cp1257 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1254: cp1254 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1253: windows-1253 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: iso8859-1 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1254: iso-ir-148 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: l1 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: iso-8859-1 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: iso-ir-100 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1252: us-ascii (XMLHttpRequest)]
expected: TIMEOUT
[windows-1256: windows-1256 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1254: iso_8859-9 (XMLHttpRequest)]
expected: TIMEOUT
[windows-1257: windows-1257 (XMLHttpRequest)]
expected: TIMEOUT
[single-byte-decoder.html?TextDecoder]

View file

@ -312,12 +312,3 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL

View file

@ -0,0 +1,10 @@
[non-active-document.html]
[DOMParser]
expected: FAIL
[createHTMLDocument]
expected: FAIL
[<template>]
expected: FAIL

View file

@ -12,6 +12,3 @@
[Verifies the resolution of entry.startTime is at least 5 microseconds.]
expected: TIMEOUT
[Verifies the resolution of performance.now() is at least 5 microseconds.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[dedicated-worker-from-blob-url.window.html]
expected: TIMEOUT
[Creating a dedicated worker from a blob URL works immediately before revoking.]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[005.html]
expected: ERROR
[dedicated worker in shared worker in dedicated worker]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
This directory contains the common infrastructure for the following tests.
- referrer-policy/
- mixed-content/
- upgrade-insecure-requests/

View file

@ -5,16 +5,6 @@
* method's JSDoc.
*/
// The same content is placed as
// - wpt/referrer-policy/generic/common.js and
// - wpt/mixed-content/generic/common.js.
// If you modify either one, please also update the other one.
//
// TODO(https://crbug.com/906850): These two files are going to be merged.
// Currently they are duplicated only to avoid frequent mass modification
// for each step of refactoring, as these file names are hard-coded in
// a large number of generated test files.
function timeoutPromise(t, ms) {
return new Promise(resolve => { t.step_timeout(resolve, ms); });
}

View file

@ -14,8 +14,6 @@
test_invalid_value("z-index", "none");
test_invalid_value("z-index", "10px");
test_invalid_value("z-index", "0.5");
test_invalid_value("z-index", "calc(0.5)");
test_invalid_value("z-index", "auto 123");
</script>
</body>

View file

@ -71,7 +71,7 @@ https://chromium.googlesource.com/chromium/src/+/c825d655f6aaf73484f9d56e9012793
verifyComputedStyle("opacity", "initial", "calc(2 / 4)", "0.5", "testing opacity: calc(2 / 4)");
verifyComputedStyle("tab-size", "12345", "calc(2 / 4)", "0.5", "testing tab-size: calc(2 / 4)");
verifyComputedStyle("tab-size", "12345", "calc(2 / 4)", "1", "testing tab-size: calc(2 / 4)");
/*
'tab-size' accepts <number> values.
*/

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/referrer-policy/generic/common.js></script>
<script src=/common/security-features/resources/common.js></script>
<script src=/fetch/sec-metadata/resources/helper.js></script>
<body>
<script>

View file

@ -1,4 +1,4 @@
# MathML: Tests for the MathML Core specification
# Tests for the MathML Core specification
This directory contains tests for the
[MathML Core specification](https://mathml-refresh.github.io/mathml-core/).

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Fraction</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verify fraction metrics for different sizes of numerator and denominator.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>fractions bar</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verifies painting of the fraction bar">
<link rel="match" href="frac-bar-001-ref.html">
<style type="text/css">

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Fraction bar color</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="The CSS color property has an effect on the fraction bar.">
<link rel="mismatch" href="frac-color-001-notref.html">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>fractions color</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verifies the color attribute affects the fraction bar">
<link rel="match" href="frac-color-002-ref.html">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>fractions linethickness</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verifies 'thin', 'medium', 'thick' and unitless values for the linethickness attribute of the mfrac element">
<link rel="match" href="frac-linethickness-001-ref.html">
<style type="text/css">

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>fractions linethickness</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verifies fraction with negative, percent and named space linethickness values.">
<link rel="match" href="frac-linethickness-002-ref.html">
<style type="text/css">

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>fractions linethickness</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Verifies fraction with 0px bar.">
<link rel="mismatch" href="frac-linethickness-003-notref.html">
</head>

View file

@ -3,7 +3,8 @@
<head>
<meta charset="utf-8">
<title>Fraction mrow</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mrow">
<meta name="assert" content="This test that <mrow> elements can be used as numerator and denominator of fractions.">
<link rel="match" href="frac-mrow-001-ref.html">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Fraction numalign denomalign</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="This fraction alignment with the numalign/denomalign attributes.">
<link rel="match" href="frac-numalign-denomalign-001-ref.html">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Fraction parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Element mfrac correctly uses the fraction parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Stack parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="Element mfrac correctly uses the stack parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Fraction bar visibility</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS2">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mfrac">
<meta name="assert" content="The CSS visible property affects the rendering of the fraction bar.">
<link rel="match" href="frac-visibility-001-ref.html">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>mo axis height</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS2.SSS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#tokenmo">
<meta name="assert" content="Element mo correctly uses the axis height parameter from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Radical parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS3.SSS3">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msqrt">
<meta name="assert" content="Elements msqrt and mroot correctly use the radical parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts metrics</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Basic metrics for elements msub, msup and msubsup.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts metrics</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Basic metrics for the mmultiscript element.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts metrics</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Basic metrics for the mmultiscript element with many scripts.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts metrics</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Verify metrics of scripted elements for bases of different heights.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts metrics</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Verify metrics of scripted elements with tall scripts.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Elements msub, msup, subsup and msubsup correctly use the subscript and superscript parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Subscripts and Superscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#msubmsup">
<meta name="assert" content="Elements msub, msup, subsup and msubsup correctly use the italic correction from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Underscripts and Overscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mundermover">
<meta name="assert" content="Elements munder, mover, munderover correctly .">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Underscripts and Overscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mundermover">
<meta name="assert" content="Elements munder, mover, munderover correctly use the limit parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Underscripts and Overscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mundermover">
<meta name="assert" content="Elements munder, mover, munderover correctly use the stretch stack parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Underscripts and Overscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mundermover">
<meta name="assert" content="Elements munder, mover, munderover correctly use underbar/overbar and AccentBaseHeight parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Underscripts and Overscripts parameters</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS4">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mundermover">
<meta name="assert" content="Elements munder, mover, munderover correctly use underbar/overbar and AccentBaseHeight parameters from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Space</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS2.SSS6">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mspace">
<meta name="assert" content="Verify mspace metrics for different values of height, depth and width">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>space</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS2.SSS6">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#mspace">
<link rel="match" href="space-2-ref.html"/>
<meta name="assert" content="Verify mspace visual rendering for different values of height, depth and width">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>table axis height</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS5">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#tables">
<meta name="assert" content="Element mtable correctly uses the axis height parameter from the MATH table.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>color</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling">
<link rel="match" href="color-1-ref.html"/>
<meta name="assert" content="Verify that the color is used for text and graphical elements.">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>display</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling">
<link rel="match" href="display-1-ref.html"/>
<meta name="assert" content="Verify that the 'display: none' property works on MathML elements.">
</head>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>displaystyle</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling">
<meta name="assert" content="Verify that the correct inheritance of the displaystyle value by measuring the size of large operators.">
<style>
@font-face {

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>MathML lengths</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling"/>
<link rel="match" href="lengths-1-ref.html"/>
<meta name="assert" content="Verify whether the different units are accepted for MathML lengths.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>MathML lengths</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling"/>
<link rel="match" href="lengths-2-ref.html"/>
<meta name="assert" content="Verify whether the different namedspaces are accepted for MathML lengths.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>MathML lengths</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling"/>
<meta name="assert" content="Verify various cases of the MathML length syntax.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant bold-fraktur</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-bold-fraktur-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a bold-fraktur mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant bold-italic</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-bold-italic-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a bold-italic mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant bold-sans-serif</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-bold-sans-serif-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a bold-sans-serif mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant bold-script</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-bold-script-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a bold-script mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant bold</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-bold-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a bold mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant double-struck</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-double-struck-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a double-struck mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant fraktur</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-fraktur-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a fraktur mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant initial</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-initial-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a initial mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant italic</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-italic-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a italic mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant looped</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-looped-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a looped mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant monospace</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-monospace-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a monospace mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant sans-serif-bold-italic</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-sans-serif-bold-italic-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a sans-serif-bold-italic mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant sans-serif-italic</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-sans-serif-italic-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a sans-serif-italic mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant sans-serif</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-sans-serif-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a sans-serif mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant script</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-script-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a script mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant stretched</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-stretched-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a stretched mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<title>mathvariant tailed</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>
<link rel="match" href="mathvariant-tailed-ref.html"/>
<meta name="assert" content="Verify that a single-char <mtext> with a tailed mathvariant is equivalent to an <mtext> with the transformed unicode character.">
<style>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>visibility</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssstyling">
<link rel="match" href="visibility-1-ref.html"/>
<meta name="assert" content="Verify that visibility=hidden is used for text and graphical elements.">
</head>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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">

View file

@ -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">

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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">

View file

@ -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">

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<meta charset="utf-8"/>
<title>Open Font Format: USE_TYPO_METRICS</title>
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS2.SSS1"/>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#openfontformat"/>
<link rel="match" href="use-typo-metrics-1-ref.html"/>
<meta name="assert" content="Verify that the USE_TYPO_METRICS flag from the OS/2 table is taken into account to calculate line height.">
<style>

View file

@ -81,7 +81,7 @@ for mathvariant in mathvariantTransforms:
reftest.write(source % mathvariant)
reftestReference.write(source % ("%s (reference)" % mathvariant))
source ='\
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS3.SSS1.tab2"/>\n\
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties"/>\n\
<link rel="match" href="mathvariant-%s-ref.html"/>\n\
<meta name="assert" content="Verify that a single-char <mtext> with a %s mathvariant is equivalent to an <mtext> with the transformed unicode character.">\n'
reftest.write(source % (mathvariant, mathvariant))

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: blocked">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: allowed">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: allowed">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -17,7 +17,7 @@
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -17,7 +17,7 @@
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -17,7 +17,7 @@
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: allowed">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

View file

@ -16,7 +16,7 @@
expectation: allowed">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/common/security-features/resources/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>

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