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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Document.getElementsByTagName-foreign-01.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/Document.getElementsByTagName-foreign-01.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Document.getElementsByTagName-foreign-01.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Document.getElementsByTagName-foreign-01.html
deleted file mode 100644
index e36aed1152a01bc1e272ac5544af20ca5fe02d70..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/syntax/parsing/Document.getElementsByTagName-foreign-01.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!DOCTYPE html>
-<title>document.getElementsByTagName and foreign parser-inserted
-elements</title>
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://dom.spec.whatwg.org/#dom-document-getelementsbytagname">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#parsing">
-<script src="../../../../../resources/testharness.js"></script>
-<script src="../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<div id="test">
-<svg>
-<altglyph/>
- <altglyphdef/>
- <altglyphitem/>
- <animatecolor/>
- <animatemotion/>
- <animatetransform/>
- <clippath/>
- <feblend/>
- <fecolormatrix/>
- <fecomponenttransfer/>
- <fecomposite/>
- <feconvolvematrix/>
- <fediffuselighting/>
- <fedisplacementmap/>
- <fedistantlight/>
- <feflood/>
- <fefunca/>
- <fefuncb/>
- <fefuncg/>
- <fefuncr/>
- <fegaussianblur/>
- <feimage/>
- <femerge/>
- <femergenode/>
- <femorphology/>
- <feoffset/>
- <fepointlight/>
- <fespecularlighting/>
- <fespotlight/>
- <fetile/>
- <feturbulence/>
- <foreignobject/>
- <glyphref/>
- <lineargradient/>
- <radialgradient/>
- <textpath/>
- <ALTGLYPH/>
- <ALTGLYPHDEF/>
- <ALTGLYPHITEM/>
- <ANIMATECOLOR/>
- <ANIMATEMOTION/>
- <ANIMATETRANSFORM/>
- <CLIPPATH/>
- <FEBLEND/>
- <FECOLORMATRIX/>
- <FECOMPONENTTRANSFER/>
- <FECOMPOSITE/>
- <FECONVOLVEMATRIX/>
- <FEDIFFUSELIGHTING/>
- <FEDISPLACEMENTMAP/>
- <FEDISTANTLIGHT/>
- <FEFLOOD/>
- <FEFUNCA/>
- <FEFUNCB/>
- <FEFUNCG/>
- <FEFUNCR/>
- <FEGAUSSIANBLUR/>
- <FEIMAGE/>
- <FEMERGE/>
- <FEMERGENODE/>
- <FEMORPHOLOGY/>
- <FEOFFSET/>
- <FEPOINTLIGHT/>
- <FESPECULARLIGHTING/>
- <FESPOTLIGHT/>
- <FETILE/>
- <FETURBULENCE/>
- <FOREIGNOBJECT/>
- <GLYPHREF/>
- <LINEARGRADIENT/>
- <RADIALGRADIENT/>
- <TEXTPATH/>
-</svg>
-<script>
-var elements = [
- "altGlyph",
- "altGlyphDef",
- "altGlyphItem",
- "animateColor",
- "animateMotion",
- "animateTransform",
- "clipPath",
- "feBlend",
- "feColorMatrix",
- "feComponentTransfer",
- "feComposite",
- "feConvolveMatrix",
- "feDiffuseLighting",
- "feDisplacementMap",
- "feDistantLight",
- "feFlood",
- "feFuncA",
- "feFuncB",
- "feFuncG",
- "feFuncR",
- "feGaussianBlur",
- "feImage",
- "feMerge",
- "feMergeNode",
- "feMorphology",
- "feOffset",
- "fePointLight",
- "feSpecularLighting",
- "feSpotLight",
- "feTile",
- "feTurbulence",
- "foreignObject",
- "glyphRef",
- "linearGradient",
- "radialGradient",
- "textPath"];
-</script>
-</div>
-<script>
-var SVG = "http://www.w3.org/2000/svg";
-function t(el) {
- assert_equals(document.getElementsByTagName(el).length, 2);
- assert_equals(document.getElementsByTagName(el.toUpperCase()).length, 0);
- assert_equals(document.getElementsByTagName(el.toLowerCase()).length, 0);
- assert_equals(document.getElementsByTagNameNS(SVG, el).length, 2);
- assert_equals(document.getElementsByTagNameNS(SVG, el.toUpperCase()).length, 0);
- assert_equals(document.getElementsByTagNameNS(SVG, el.toLowerCase()).length, 0);
-}
-test(function() {
- var tests = [];
- assert_equals(document.getElementsByTagName('svg').length, 1);
- for (var i = 0, il = elements.length; i < il; ++i) {
- tests.push(["Testing " + elements[i], elements[i]]);
- }
- generate_tests(t, tests);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698