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

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

Issue 305143002: Don't call moveParagraph() with null |VisiblePositon| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-05-30T05:23:36 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-2-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 visibility: visible;
7 }
8
9 *:only-of-type {
10 visibility: collapse;
11 }
12 </style>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16
17 onload = function() {
18 document.designMode = 'on';
19 var blockQuote = document.querySelector('blockquote');
20 getSelection().collapse(blockQuote, 2);
21 document.execCommand('Outdent');
22 document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
23 };
24 </script>
25 </head>
26 <body>
27 <blockquote>
28 <table><tr><td>foo</td></tr></table>
29 <table><tr><td>bar</td></tr></table>
30 </blockquote>
31 </body>
32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/outdent-collapse-table-crash-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698