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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins.html

Issue 1008893002: [CSS Shapes] Normalize margin box size (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use std::max instead of clamp Created 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins.html
new file mode 100644
index 0000000000000000000000000000000000000000..5138c21f65700b83e7ecf4295f52089abfd78ea0
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+#one {
+ float: right;
+ margin: 5222vh -6568em;
+ shape-outside: ellipse(50% 25% at 50% 25%);
+}
+#two {
+ float: right;
+ margin: -5222vh 6568em;
+ shape-outside: ellipse(50% 25% at 50% 25%);
+}
+</style>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<div id="one"></div>
+<div id="two"></div>
+<div>Test passes if it does not crash.</div>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-negative-margins-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698