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', |