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

Unified Diff: LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html

Issue 165933002: Fix the crash bug about selecting a marquee element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/editing/execCommand/selectAll-including-marquee-crash.html
diff --git a/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html b/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..3478001a7b3070e5850e8e37bbf6b10c504980f9
--- /dev/null
+++ b/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html
@@ -0,0 +1,19 @@
+<style>
leviw_travelin_and_unemployed 2014/02/14 04:57:46 Let's clean this up a bit more with a doctype and
yoichio 2014/02/19 08:00:30 Done.
+ marquee {
+ padding-bottom: 1px;
+ }
+</style>
+
leviw_travelin_and_unemployed 2014/02/14 04:57:46 And a body :)
yoichio 2014/02/19 08:00:30 Done.
+<marquee>
+aa
leviw_travelin_and_unemployed 2014/02/14 04:57:46 I suspect you could simply put "Test passes if it
yoichio 2014/02/19 08:00:30 This test case executes "SelectAll" and "InsertHTM
+<table></table>
+</marquee>
+
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ document.designMode = "on";
+ document.execCommand("SelectAll");
+ document.execCommand("InsertHTML", false);
+ document.documentElement.innerHTML = '<title>a</title>This test passes if it does not crash.';
+</script>

Powered by Google App Engine
This is Rietveld 408576698