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

Unified Diff: LayoutTests/fast/shapes/parsing/parsing-shape-inside.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 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: LayoutTests/fast/shapes/parsing/parsing-shape-inside.html
diff --git a/LayoutTests/fast/shapes/parsing/parsing-shape-inside.html b/LayoutTests/fast/shapes/parsing/parsing-shape-inside.html
deleted file mode 100644
index dc1dc175d91565fc8eb3d877b62c6942abe03159..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/shapes/parsing/parsing-shape-inside.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<script src="parsing-test-utils.js"></script>
-<script>
-description('Testing parsing of the shape-inside property.');
-
-// The test functions and globals used here are defined parsing-test-utils.js.
-
-validShapeValues.concat("outside-shape").forEach(function(elt, i, a) {
- var value = (elt instanceof Array) ? elt[0] : elt;
- var expectedValue = (elt instanceof Array) ? elt[1] : elt;
- var computedValue = (elt instanceof Array && elt.length > 2) ? elt[2] : expectedValue;
- testShapeSpecifiedProperty("shape-inside", value, expectedValue);
- testShapeComputedProperty("shape-inside", value, computedValue);
-});
-
-testLocalURLShapeProperty("shape-inside", "url(\'image\')", "url(image)");
-
-invalidShapeValues.forEach(function(value, i, a) {
- testShapePropertyParsingFailure("shape-inside", value, "none")
-});
-
-applyToEachArglist(
- testNotInheritedShapeProperty,
- [// [property, parentValue, childValue, expectedValue]
- ["-webkit-shape-inside", "none", "circle(30px at 10px 20px)", "parent: none, child: circle(30px at 10px 20px)"],
- ["-webkit-shape-inside", "outside-shape", "circle(30px at 10px 20px)", "parent: outside-shape, child: circle(30px at 10px 20px)"],
- ["-webkit-shape-inside", "circle(30px at 10px 20px)", "initial", "parent: circle(30px at 10px 20px), child: none"],
- ["-webkit-shape-inside", "circle(30px at 10px 20px)", "", "parent: circle(30px at 10px 20px), child: none"],
- ["-webkit-shape-inside", "circle(30px at 10px 20px)", "inherit", "parent: circle(30px at 10px 20px), child: circle(30px at 10px 20px)"],
- ["shape-inside", "", "inherit", "parent: none, child: none"],
- ["shape-inside", "none", "inherit", "parent: none, child: none"]]
-);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698