Skip to content
Permalink
Browse files
[] (0) Correct the rules for rendering of carets in contenteditable.
git-svn-id: http://svn.whatwg.org/webapps@3373 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 8, 2009
1 parent c28e288 commit 53cf6659b8bfe7ddd1575b17b6f3cfd5de2ca5ec
Showing with 6 additions and 4 deletions.
  1. +3 −2 index
  2. +3 −2 source
5 index
@@ -70580,11 +70580,12 @@ time:empty { binding: <i title="">time</i>; }</pre>

<p>The current text editing caret (the one at the <a href=#caret-position>caret
position</a> in a focused <a href=#editing-host>editing host</a>) is expected
to act like an empty inline element for the purposes of the CSS
to act like an inline replaced element with the vertical dimensions
of the caret and with zero width for the purposes of the CSS
rendering model.</p>

<p class=note>This means that even an empty block can have the
caret inside it, and that when the caret is in such an element,
caret inside it, and that when the caret is in such an element, it
prevents margins from collapsing through the element.</p>


5 source
@@ -83286,11 +83286,12 @@ time:empty { binding: <i title="">time</i>; }</pre>

<p>The current text editing caret (the one at the <span>caret
position</span> in a focused <span>editing host</span>) is expected
to act like an empty inline element for the purposes of the CSS
to act like an inline replaced element with the vertical dimensions
of the caret and with zero width for the purposes of the CSS
rendering model.</p>

<p class="note">This means that even an empty block can have the
caret inside it, and that when the caret is in such an element,
caret inside it, and that when the caret is in such an element, it
prevents margins from collapsing through the element.</p>


0 comments on commit 53cf665

Please sign in to comment.