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

Side by Side Diff: LayoutTests/editing/execCommand/delete-hidden-crash.html

Issue 340713003: Ignore visibility when checking whether Position is editable or not at DeletetSelectionCommand (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-06-19T03:44:02 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/delete-hidden-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 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 onload = function() {
9 document.execCommand('SelectAll')
10 span = document.getElementsByTagName('span')[0];
11 span.contentEditable = 'true';
12 span.textContent = 'bar';
13 document.execCommand('InsertText', false, '1');
14 document.body.textContent = 'PASS if Blink doesn\'t crash.';
15 };
16 </script>
17 <style>
18 * { visibility:visible; }
19 .inline { display:inline; }
20 *:only-child { visibility:hidden; }
21 </style>
22 </head>
23 <body>
24 <table>
25 <tr><td><span><table></table><span></span></span></td></tr>
26 <tr><td><td class="inline">foo</td></tr>
27 </table>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/delete-hidden-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698