Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / 4916887.html
blob76768fff09a1ab9435ef28a8f9b290bb4a397e69
1 <p>This tests for a bug where the color of indented text couldn't be changed.</p>
2 <div id="div" contenteditable="true"><br></div>
4 <script>
5 var div = document.getElementById("div");
6 div.focus();
8 document.execCommand("InsertText", false, "This text should be blue.");
9 document.execCommand("SelectAll");
10 document.execCommand("ForeColor", false, "red");
11 document.execCommand("Indent");
12 document.execCommand("ForeColor", false, "blue");
13 </script>