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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html

Issue 318443004: Fix off by one in creating a RasterShape (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for review feedback Created 6 years, 6 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-shape-margin-crash-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-shape-margin-crash.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..9daa51dba9fc1b89b7388edbbf6d3ce75a9295a0
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 5px;
+ height: 5px;
+ margin-top: 2px;
+ shape-margin: 2px;
+ shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='5' height='5'><rect x='0' y='0' width='100%' height='100%'/></svg>");
+ float:left;
+}
+</style>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<body>
+ <div></div>
+ This test should not crash in a debug build.
+</body>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698