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

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

Issue 303473009: Fix setting shape-outside: none (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/parsing/parsing-shape-outside-none.html
diff --git a/LayoutTests/fast/shapes/parsing/parsing-shape-outside-none.html b/LayoutTests/fast/shapes/parsing/parsing-shape-outside-none.html
new file mode 100644
index 0000000000000000000000000000000000000000..580731c4efca859623c85301563ed43a09328af5
--- /dev/null
+++ b/LayoutTests/fast/shapes/parsing/parsing-shape-outside-none.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<style>
+#target { shape-outside: url(//fail); }
+#target { shape-outside: none; }
+</style>
+<div id="target"></div>
+<script>
+test(function() {
+ assert_equals(getComputedStyle(target).shapeOutside, 'none');
+}, 'Test setting the none value for shape-outside');
+</script>
« no previous file with comments | « no previous file | Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698