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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-block-width.html

Issue 1036653002: Clamp shape-margin to zero (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comment Created 5 years, 8 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/shape-outside-floats/shape-outside-negative-block-width.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-block-width.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-block-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..0f9f3bbb6d5cde83e228255609f184ef36bd6138
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-block-width.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+* {
+ shape-margin: 52%;
+ shape-outside: circle(20px at 20px 20px);
+ width: 0.8%;
+ float: left;
+ overflow-y: scroll;
+}
+</style>
+<img src="">
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<div>Test passes if it does not crash.</div>

Powered by Google App Engine
This is Rietveld 408576698