Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/math-parse01.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/math-parse01.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/math-parse01.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/math-parse01.html
deleted file mode 100644
index b940dd680ddb64c2af26f0333baa06b0e9b7e658..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/math-parse01.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>math in html: parsing</title>
-<script src="../../../../../resources/testharness.js"></script>
-<script src="../../../../../resources/testharnessreport.js"></script>
-</head>
-<body>
-<h1>math in html: parsing</h1>
-
-<div id="log" style="display:block"></div>
-
-<div style="display:none">
-<div><math id="m1"><mtext/></math></div>
-<div id="d1"><math><mrow/><mi/></math></div>
-<div id="d2"><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></div>
-<div id="d3">&lang;&rang;</div>
-<div id="d4">&Kopf;</div>
-<div id="d5"><math><semantics><mi>a</mi><annotation-xml><foo/><bar/></annotation-xml></semantics></math></div>
-<div id="d6"><math><semantics><mi>a</mi><annotation-xml encoding="text/html"><div></div></annotation-xml></semantics><mn/></math>
-</div>
-
-
-<script>
-
-test(function() {
-assert_equals(document.getElementById("m1"),document.getElementsByTagName("math")[0]);
-},"The id attribute should be recognised on math elements");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.nodeName,"math")
-},"The node name should be math");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.namespaceURI ,"http://www.w3.org/1998/Math/MathML")
-},"math should be in MathML Namespace");
-
-test(function() {
-assert_equals(document.getElementById("d1").firstChild.childNodes.length ,2)
-},"Math has 2 children (empty tag syntax)");
-
-test(function() {
-assert_equals(document.getElementById("d2").firstChild.childNodes.length ,1)
-},"Nested mrow elements should be parsed correctly");
-
-test(function() {
-assert_equals(document.getElementById("d3").firstChild.nodeValue ,"\u27E8\u27E9")
-},"Testing rang and lang entity code points");
-
-test(function() {
-assert_equals(document.getElementById("d4").firstChild.nodeValue ,"\uD835\uDD42")
-},"Testing Kopf (Plane 1) entity code point");
-
-test(function() {
-assert_equals(document.getElementById("d5").firstChild.firstChild.childNodes[1].childNodes.length ,2)
-},"Empty element tags in annotation-xml parsed as per XML.");
-
-test(function() {
-assert_equals(document.getElementById("d6").firstChild.childNodes.length ,2)
-},"html tags allowed in annotation-xml/@encoding='text/html'.");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698