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

Unified Diff: LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html

Issue 212323004: Don't use dangling reference in ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html
diff --git a/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html b/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html
new file mode 100644
index 0000000000000000000000000000000000000000..0b406d0aaf72eb9328376502b1b8e2100aa64f5f
--- /dev/null
+++ b/LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<head>
+<style>
+* {
+ border-image-source: url(foo);
+ background-position-x: 2147483470%;
+ font-style: normal;
+}
+</style>
+</head>
+<body>
+<i>PASS if Blink isn't crashed.</i>
Yuta Kitamura 2014/03/27 02:03:23 nit: isn't crashed -> doesn't crash
yosin_UTC9 2014/03/27 03:30:09 Done.
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+document.designMode = 'on';
+document.execCommand('SelectAll');
+document.execCommand('Cut');
+document.execCommand('Paste');
+</script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/remove-redundant-styles-and-keep-style-span-inline-crashed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698