Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / 5017613-1.html
blob56300efa30fe333c19214b036c469c0d9b671e0c
1 <p>This tests to see that plaintext-only regions can be styled as long as they are fully selected. The editable, plaintext-only cell should contain bold text, which should be implemented with the bold CSS property in the cell's inline style declaration, not with wrapper spans inside the cell.</p>
2 <div id="div" contenteditable="true"><div>foo</div><table border="1" contenteditable="false"><tr><td>non-editable</td><td contenteditable="plaintext-only">plaintext-only</td></tr></table></div>
4 <script>
5 var div = document.getElementById("div");
6 div.focus();
7 document.execCommand("SelectAll")
8 document.execCommand("Bold");
9 </script>