Skip to content

Commit 0b66511

Browse files
committed
Add UA style for contenteditable=plaintext-only
Fixes #11350.
1 parent 889a58b commit 0b66511

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139717,6 +139717,11 @@ progress { appearance: auto; }</code></pre>
139717139717
the caret is in such an element, it prevents <span data-x="collapsing margins">margins from
139718139718
collapsing</span> through the element.</p>
139719139719

139720+
<p>The following rules are also expected to apply, as <span>presentational hints</span>:</p>
139721+
139722+
<pre><code class="css">@namespace "http://www.w3.org/1999/xhtml";
139723+
139724+
[contenteditable="plaintext-only" i] { white-space: pre-wrap; }</code></pre>
139720139725

139721139726

139722139727
<h4>Text rendered in native user interfaces</h4>

0 commit comments

Comments
 (0)