| Index: third_party/WebKit/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js
|
| diff --git a/third_party/WebKit/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js b/third_party/WebKit/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js
|
| index 86bb7b841aa953d96ce3ff9fda407f73c24b6f12..6a8f37ee248994dd4d32ebf1dd61e7f4f2a66762 100644
|
| --- a/third_party/WebKit/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js
|
| +++ b/third_party/WebKit/LayoutTests/editing/style/script-tests/push-down-implicit-styles-around-list-mac.js
|
| @@ -31,25 +31,25 @@ function selectLastWord(container) {
|
| return 'last word';
|
| }
|
|
|
| -testSingleToggle("bold", selectFirstWord, '<b><ul><li><b>a</b></li></ul></b>', '<ul><li>a</li></ul>');
|
| -testSingleToggle("bold", selectFirstWord, '<b><ul><li>hello</li><li>world</li></ul></b>', '<ul><li>hello</li><li style="font-weight: bold;">world</li></ul>');
|
| -testSingleToggle("bold", selectLastWord, '<ul><li>hello</li><li style="font-weight: bold;">world</li></ul>', '<ul><li>hello</li><li>world</li></ul>');
|
| -testSingleToggle("bold", selectFirstWord, '<b><ul><li>hello world</li><li>webkit</li></ul></b>', '<ul><li>hello<b> world</b></li><li style="font-weight: bold;">webkit</li></ul>');
|
| -
|
| -testSingleToggle("italic", selectFirstWord, '<i><ul><li><i>a</i></li></ul></i>', '<ul><li>a</li></ul>');
|
| -testSingleToggle("italic", selectFirstWord, '<i><ul><li>hello</li><li>world</li></ul></i>', '<ul><li>hello</li><li style="font-style: italic;">world</li></ul>');
|
| -testSingleToggle("italic", selectLastWord, '<ul><li>hello</li><li style="font-style: italic;">world</li></ul>', '<ul><li>hello</li><li>world</li></ul>');
|
| -testSingleToggle("italic", selectFirstWord, '<i><ul><li>hello world</li><li>webkit</li></ul></i>', '<ul><li>hello<i> world</i></li><li style="font-style: italic;">webkit</li></ul>');
|
| -
|
| -testSingleToggle("underline", selectFirstWord, '<u><ul><li><u>a</u></li></ul></u>', '<ul><li>a</li></ul>');
|
| -testSingleToggle("underline", selectFirstWord, '<u><ul><li>hello</li><li>world</li></ul></u>', '<ul><li>hello</li><li style="text-decoration-line: underline;">world</li></ul>');
|
| -testSingleToggle("underline", selectLastWord, '<ul><li>hello</li><li style="text-decoration: underline;">world</li></ul>', '<ul><li>hello</li><li>world</li></ul>');
|
| -testSingleToggle("underline", selectFirstWord, '<u><ul><li>hello world</li><li>webkit</li></ul></u>', '<ul><li>hello<u> world</u></li><li style="text-decoration-line: underline;">webkit</li></ul>');
|
| -
|
| -testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li><strike>a</strike></li></ul></strike>', '<ul><li>a</li></ul>');
|
| -testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li>hello</li><li>world</li></ul></strike>', '<ul><li>hello</li><li style="text-decoration-line: line-through;">world</li></ul>');
|
| -testSingleToggle("strikethrough", selectLastWord, '<ul><li>hello</li><li style="text-decoration: line-through;">world</li></ul>', '<ul><li>hello</li><li>world</li></ul>');
|
| -testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li>hello world</li><li>webkit</li></ul></strike>', '<ul><li>hello<strike> world</strike></li><li style="text-decoration-line: line-through;">webkit</li></ul>');
|
| +testSingleToggle("bold", selectFirstWord, '<b><ul><li><b>a</b></li></ul></b>', '<ul style=""><li style="">a</li></ul>');
|
| +testSingleToggle("bold", selectFirstWord, '<b><ul><li>hello</li><li>world</li></ul></b>', '<ul style=""><li style="">hello</li><li style="font-weight: bold;">world</li></ul>');
|
| +testSingleToggle("bold", selectLastWord, '<ul><li>hello</li><li style="font-weight: bold;">world</li></ul>', '<ul><li>hello</li><li style="">world</li></ul>');
|
| +testSingleToggle("bold", selectFirstWord, '<b><ul><li>hello world</li><li>webkit</li></ul></b>', '<ul style=""><li style="">hello<b> world</b></li><li style="font-weight: bold;">webkit</li></ul>');
|
| +
|
| +testSingleToggle("italic", selectFirstWord, '<i><ul><li><i>a</i></li></ul></i>', '<ul style=""><li style="">a</li></ul>');
|
| +testSingleToggle("italic", selectFirstWord, '<i><ul><li>hello</li><li>world</li></ul></i>', '<ul style=""><li style="">hello</li><li style="font-style: italic;">world</li></ul>');
|
| +testSingleToggle("italic", selectLastWord, '<ul><li>hello</li><li style="font-style: italic;">world</li></ul>', '<ul><li>hello</li><li style="">world</li></ul>');
|
| +testSingleToggle("italic", selectFirstWord, '<i><ul><li>hello world</li><li>webkit</li></ul></i>', '<ul style=""><li style="">hello<i> world</i></li><li style="font-style: italic;">webkit</li></ul>');
|
| +
|
| +testSingleToggle("underline", selectFirstWord, '<u><ul><li><u>a</u></li></ul></u>', '<ul style=""><li style="">a</li></ul>');
|
| +testSingleToggle("underline", selectFirstWord, '<u><ul><li>hello</li><li>world</li></ul></u>', '<ul style=""><li style="">hello</li><li style="text-decoration-line: underline;">world</li></ul>');
|
| +testSingleToggle("underline", selectLastWord, '<ul><li>hello</li><li style="text-decoration: underline;">world</li></ul>', '<ul><li>hello</li><li style="">world</li></ul>');
|
| +testSingleToggle("underline", selectFirstWord, '<u><ul><li>hello world</li><li>webkit</li></ul></u>', '<ul style=""><li style="">hello<u> world</u></li><li style="text-decoration-line: underline;">webkit</li></ul>');
|
| +
|
| +testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li><strike>a</strike></li></ul></strike>', '<ul style=""><li style="">a</li></ul>');
|
| +testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li>hello</li><li>world</li></ul></strike>', '<ul style=""><li style="">hello</li><li style="text-decoration-line: line-through;">world</li></ul>');
|
| +testSingleToggle("strikethrough", selectLastWord, '<ul><li>hello</li><li style="text-decoration: line-through;">world</li></ul>', '<ul><li>hello</li><li style="">world</li></ul>');
|
| +testSingleToggle("strikethrough", selectFirstWord, '<strike><ul><li>hello world</li><li>webkit</li></ul></strike>', '<ul style=""><li style="">hello<strike> world</strike></li><li style="text-decoration-line: line-through;">webkit</li></ul>');
|
|
|
| document.body.removeChild(testContainer);
|
|
|
|
|