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

Side by Side Diff: LayoutTests/editing/execCommand/script-tests/inline-style-after-indentoutdent.js

Issue 23111004: Re-land "[css3-text] Implement text-decoration property shorthand" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after Alexis' function name changes in CSSComputedStyleDeclaration.cpp Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 description("This tests createMarkup via insertOrderedList. It makes sure that we don't delete font styles and text decorations. This test must be rewritten w hen insertOrderedList is modified not to use moveParagraph."); 1 description("This tests createMarkup via insertOrderedList. It makes sure that we don't delete font styles and text decorations. This test must be rewritten w hen insertOrderedList is modified not to use moveParagraph.");
2 2
3 var boundedContainer = document.createElement("div"); 3 var boundedContainer = document.createElement("div");
4 var container = document.createElement("div"); 4 var container = document.createElement("div");
5 boundedContainer.contentEditalbe = false; 5 boundedContainer.contentEditalbe = false;
6 boundedContainer.appendChild(container); 6 boundedContainer.appendChild(container);
7 container.contentEditable = true; 7 container.contentEditable = true;
8 document.body.appendChild(boundedContainer); 8 document.body.appendChild(boundedContainer);
9 9
10 function testCreateMarkup( text ) 10 function testCreateMarkup( text )
(...skipping 18 matching lines...) Expand all
29 } 29 }
30 30
31 shouldBeSameAfterCreateMarkup('<b>hello</b>'); 31 shouldBeSameAfterCreateMarkup('<b>hello</b>');
32 shouldBeSameAfterCreateMarkup('<strong>hello</strong>'); 32 shouldBeSameAfterCreateMarkup('<strong>hello</strong>');
33 shouldBeSameAfterCreateMarkup('<i>hello</i>'); 33 shouldBeSameAfterCreateMarkup('<i>hello</i>');
34 shouldBeSameAfterCreateMarkup('<em>hello</em>'); 34 shouldBeSameAfterCreateMarkup('<em>hello</em>');
35 shouldBeSameAfterCreateMarkup('<s>hello</s>'); 35 shouldBeSameAfterCreateMarkup('<s>hello</s>');
36 shouldBeSameAfterCreateMarkup('<strike>hello</strike>'); 36 shouldBeSameAfterCreateMarkup('<strike>hello</strike>');
37 shouldBeSameAfterCreateMarkup('<em><s><u>hello</u></s></em>'); 37 shouldBeSameAfterCreateMarkup('<em><s><u>hello</u></s></em>');
38 shouldBeSameAfterCreateMarkup('<u><s><em><u>hello</u></em></s></u>'); 38 shouldBeSameAfterCreateMarkup('<u><s><em><u>hello</u></em></s></u>');
39 shouldBeSameAfterCreateMarkup('<i><span style=\"text-decoration: underline overl ine line-through;\">world</span></i>'); 39 shouldBeSameAfterCreateMarkup('<i><span style=\"text-decoration-line: underline overline line-through;\">world</span></i>');
40 shouldBeSameAfterCreateMarkup('<em><u style="font-weight: bold;">hello</u></em>' ); 40 shouldBeSameAfterCreateMarkup('<em><u style="font-weight: bold;">hello</u></em>' );
41 shouldBeSameAfterCreateMarkup('hello <u>world</u> webkit'); 41 shouldBeSameAfterCreateMarkup('hello <u>world</u> webkit');
42 42
43 document.body.removeChild(boundedContainer); 43 document.body.removeChild(boundedContainer);
44 44
45 var successfullyParsed = true; 45 var successfullyParsed = true;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698