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

Unified Diff: LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js

Issue 14930006: Ctrl+Shift+Right in Windows should select the spacing after the word (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added expectations for chromium-mac for delete-cell-contents-win.html Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js
diff --git a/LayoutTests/editing/execCommand/script-tests/toggle-unlink-mac.js b/LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js
similarity index 97%
copy from LayoutTests/editing/execCommand/script-tests/toggle-unlink-mac.js
copy to LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js
index 95e64728b288e736198b85a185bd67060547fbe7..180256968e835aff0311b630700dbe481e1260a4 100644
--- a/LayoutTests/editing/execCommand/script-tests/toggle-unlink-mac.js
+++ b/LayoutTests/editing/execCommand/script-tests/toggle-unlink-win.js
@@ -42,7 +42,7 @@ function selectLastWord(container) {
}
if (window.internals)
- internals.settings.setEditingBehavior('mac');
+ internals.settings.setEditingBehavior('win');
testSingleToggle("unlink", 'hello <b>world</b>', selectAll, 'hello <b>world</b>');
testSingleToggle("unlink", '<a href="http://webkit.org/"><u>hello world</u></a>', selectAll, '<u>hello world</u>');
@@ -56,8 +56,7 @@ testSingleToggle("unlink", '<a href="http://webkit.org/" style="font-size: large
testSingleToggle("unlink", 'hello <a href="http://webkit.org/" style="font-size: large;">world <span style="font-size: small;">WebKit</span> rocks</a>',
selectLastTwoWords, 'hello <a href="http://webkit.org/"><font size="4">world </font></a><span style="font-size: small;">WebKit</span><font size="4"> rocks</font>');
testSingleToggle("unlink", 'hello <a href="http://webkit.org/" style="font-style: italic;"><b>world</b> WebKit</a>',
- selectFirstTwoWords, 'hello <b style="font-style: italic;">world</b><a href="http://webkit.org/"><i> WebKit</i></a>');
-
+ selectFirstTwoWords, 'hello <b style="font-style: italic;">world</b> <a href="http://webkit.org/" style="font-style: italic;">WebKit</a>');
testSingleToggle("unlink", '<a href="http://webkit.org/" style="background-color: yellow;"><div>hello</div><div>world</div></a>',
selectAll, '<div style="background-color: yellow;">hello</div><div style="background-color: yellow;">world</div>');
testSingleToggle("unlink", 'hello<a href="http://webkit.org/" style="background-color: yellow;"><div>world</div></a>WebKit',
« no previous file with comments | « LayoutTests/editing/execCommand/script-tests/toggle-link-win.js ('k') | LayoutTests/editing/execCommand/toggle-link-win.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698