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

Side by Side Diff: LayoutTests/fast/dom/custom/type-extension-undo-assert.html

Issue 22320009: Don't come undone when undoing the editing of a Custom Element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/type-extension-undo-assert-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 <script src="../../js/resources/js-test-pre.js"></script>
3 <div id="test" contenteditable><b is="x-a" style="font-style: italic;">Hello, wo rld!</b></div>
Yuta Kitamura 2013/08/06 09:00:02 Correct me if I'm wrong, but this line creates a H
4 <script>
5 description('Tests that execCommand undo doesn\'t hork custom elements');
yosin_UTC9 2013/08/06 09:06:07 s/hork/fork/
Yuta Kitamura 2013/08/06 09:28:19 I guess this is a witty way of saying "to mess up"
6
7 var test = document.getElementById('test');
8 window.getSelection().selectAllChildren(test);
9 document.execCommand('bold', false, null);
10 document.execCommand('undo', false, null);
11 document.execCommand('undo', false, null);
12
13 testPassed('did not crash');
14 var successfullyParsed = true;
15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/type-extension-undo-assert-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698