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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/svg/historical.html

Issue 2547023002: Import wpt@3c8896ae408c8fd594979da7c99970029e7856a7 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years 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/wpt/svg/historical.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/svg/historical.html b/third_party/WebKit/LayoutTests/imported/wpt/svg/historical.html
index de15f81839feec5865ccb8e16766cef87f2ea50d..5626dfcd13df0e77c97178eacb0af5b9c9962f96 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/svg/historical.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/svg/historical.html
@@ -32,7 +32,6 @@ var mixinInterfaces = [
"SVGFitToViewBox",
"SVGTests",
"SVGURIReference",
- "SVGUnitTypes",
"SVGZoomAndPan"
]
for (var name of mixinInterfaces) {
@@ -81,4 +80,21 @@ for (var member of movedPathMembers) {
assert_true(SVGGeometryElement.prototype.hasOwnProperty(member))
}, "SVGPathElement.prototype." + member + " must be moved to SVGGeometryElement.prototype")
}
+
+var implementedSVGUnitTypes = [
+ "SVGClipPathElement",
+ "SVGFilterElement",
+ "SVGGradientElement",
+ "SVGMaskElement",
+ "SVGPatternElement"
+]
+for (var name of implementedSVGUnitTypes) {
+ test(function() {
+ assert_true(name in window);
+ var interfaceObject = window[name];
+ assert_false("SVG_UNIT_TYPE_UNKNOWN" in interfaceObject);
+ assert_false("SVG_UNIT_TYPE_USERSPACEONUSE" in interfaceObject);
+ assert_false("SVG_UNIT_TYPE_OBJECTBOUNDINGBOX" in interfaceObject);
+ }, name + " must not implement SVGUnitTypes")
+}
</script>

Powered by Google App Engine
This is Rietveld 408576698