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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/remove-format-variable-crash.html

Issue 2103043004: Fix EditingStyle::mergeStyle()'s handling of custom properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | third_party/WebKit/LayoutTests/editing/execCommand/remove-format-variable-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 <script>
2 document.documentElement.contentEditable="true"
3 document.documentElement.appendChild(document.createElement('table'))
4 eAcronym = document.createElement('acronym')
5 document.documentElement.appendChild(eAcronym)
6 document.documentElement.appendChild(document.createElement('keygen'))
7 newElem = document.createElement('figure')
8 newElem.style.cssText = '--AAAA: var(--BBBB)'
9 document.documentElement.appendChild(newElem)
10 eCite = document.createElement('cite')
11 eCite.style.cssText = 'float: var(--CCCC)'
12 eAcronym.appendChild(eCite)
13 eCite.appendChild(document.createElement('marquee'));
14 document.execCommand('SelectAll', 'false', 'true')
15 document.execCommand('RemoveFormat', 'true', 'true')
yosin_UTC9 2016/06/29 05:11:41 Could you put write HTML in the file rather than c
Timothy Loh 2016/06/29 05:22:04 I tried doing this sort of thing but it no longer
16 window.testRunner && testRunner.dumpAsText();
yosin_UTC9 2016/06/29 05:11:42 Could you use test w3c harness? Using |assert_sele
Timothy Loh 2016/06/29 05:22:04 I'll try, but I might not be able to get it to rep
alancutter (OOO until 2018) 2016/06/29 07:26:10 testharness.js is desirable. You may need to wait
Timothy Loh 2016/06/30 04:16:42 I updated the test with a test(() => {}) call, see
17 </script>
18
19 This test passes if it doesn't crash.
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/remove-format-variable-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698