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

Side by Side Diff: LayoutTests/editing/execCommand/remove-format-textdecoration-in-iframe.html

Issue 192373008: ASSERTION FAILED: !style->propertyIsImportant(propertyID) in WebCore::setTextDecorationProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/remove-format-textdecoration-in-iframe-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 <script src="../../resources/dump-as-markup.js"></script>
4 <script>
5 function selectAndRemoveFormat()
6 {
7 document.designMode = 'on';
8 document.execCommand('SelectAll');
9 document.execCommand('RemoveFormat');
10 }
11
12 function dumpAfterCommand()
13 {
14 Markup.description('This testcase is to test crash scenario when designM ode is set on document and RemoveFormat is called. Expected result is that crash should not happen and underline should be removed from all the selected text')
15 Markup.dump('container');
16 }
17 </script>
18 <body>
19 <div id="container" style="text-decoration: underline !important;">This Test should not crash.
20 <iframe onload="selectAndRemoveFormat()"></iframe>
21 <p>PASS</p>
22 </div>
23 <script>
24 dumpAfterCommand();
25 </script>
26 </body>
27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/remove-format-textdecoration-in-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698