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

Side by Side Diff: LayoutTests/editing/execCommand/outdent-collapse-table-crash.html

Issue 308023003: Don't call splitTreeToNode() with null Node (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-30T05:17:51 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/outdent-collapse-table-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 * {
6 -webkit-appearance: media-controls-background;
7 display: table-footer-group;
8 visibility: visible;
9 }
10
11 *:only-of-type {
12 visibility: collapse;
13 }
14 </style>
15 <script>
16 if (window.testRunner)
17 testRunner.dumpAsText();
18
19 onload = function() {
20 document.designMode = 'on';
21 var blockQuote = document.querySelector('blockquote');
22 getSelection().collapse(blockQuote, 2);
23 document.execCommand('Outdent');
24 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
25 };
26 </script>
27 </head>
28 <body>
29 <blockquote>
30 <table><tr><td>foo</td></tr></table>
31 <table><tr><td>bar</td></tr></table>
32 </blockquote>
33 </body>
34 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/outdent-collapse-table-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698