import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>backcolor - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/backcolor.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (false) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>bold - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/bold.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>createlink - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/createlink.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>delete - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/delete.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>fontname - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/fontname.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>fontsize - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/fontsize.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>forecolor - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/forecolor.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>formatblock - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/formatblock.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>forwarddelete - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/forwarddelete.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>hilitecolor - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/hilitecolor.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>indent - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/indent.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>inserthorizontalrule - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/inserthorizontalrule.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>inserthtml - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/inserthtml.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>insertimage - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/insertimage.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>insertlinebreak - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/insertlinebreak.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>insertorderedlist - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/insertorderedlist.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>insertparagraph - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/insertparagraph.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>inserttext - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/inserttext.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>insertunorderedlist - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/insertunorderedlist.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>italic - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/italic.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,52 @@
<!doctype html>
<meta charset=utf-8>
<meta name=timeout content=long>
<link rel=stylesheet href=../include/reset.css>
<title>justifycenter - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/justifycenter.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>justifyfull - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/justifyfull.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>justifyleft - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/justifyleft.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>justifyright - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/justifyright.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>misc - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/misc.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,52 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<meta name=timeout content=long>
<title>multitest - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/multitest.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>outdent - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/outdent.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>removeformat - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/removeformat.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>strikethrough - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/strikethrough.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>subscript - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/subscript.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>superscript - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/superscript.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>underline - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/underline.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>

View file

@ -0,0 +1,51 @@
<!doctype html>
<meta charset=utf-8>
<link rel=stylesheet href=../include/reset.css>
<title>unlink - HTML editing conformance tests</title>
<p id=timing></p>
<div id=log></div>
<div id=test-container></div>
<script src=../include/implementation.js></script>
<script>var testsJsLibraryOnly = true</script>
<script src=../include/tests.js></script>
<script src=../data/unlink.js></script>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
"use strict";
(function() {
var startTime = Date.now();
// Make document.body.innerHTML more tidy by removing unnecessary things.
[].forEach.call(document.querySelectorAll("script"), function(node) {
node.parentNode.removeChild(node);
});
if (true) {
// Silly hack: the CSS styling flag should be true, not false, to match
// expected results. This is because every group of tests except the
// last (multitest) sets styleWithCSS automatically, and it sets it
// first to false and then to true. Thus it's left at true at the end
// of each group of tests, so in gentest.html it will be true when
// starting each group of tests other than the first. But browsers are
// supposed to default it to false when the page loads, so flip it.
try { document.execCommand("styleWithCSS", false, "true") } catch(e) {}
}
browserTests.forEach(runConformanceTest);
document.getElementById("test-container").parentNode
.removeChild(document.getElementById("test-container"));
var elapsed = Math.round(Date.now() - startTime)/1000;
document.getElementById("timing").textContent =
"Time elapsed: " + Math.floor(elapsed/60) + ":"
+ ((elapsed % 60) < 10 ? "0" : "")
+ (elapsed % 60).toFixed(3) + " min.";
})();
</script>