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

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: update 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
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/selectAll-including-marquee-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..69b1c2698cf0a279e4fa38de0f33b23d0b3dcb02
--- /dev/null
+++ b/LayoutTests/editing/execCommand/selectAll-including-marquee-crash.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+ marquee {
+ padding-bottom: 1px;
+ }
+</style>
+<body>
+ <marquee>
+ aa
+ <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>
+</body>
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/selectAll-including-marquee-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698