Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (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 53cf665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions index
Expand Up @@ -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>


Expand Down
5 changes: 3 additions & 2 deletions source
Expand Up @@ -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>


Expand Down

0 comments on commit 53cf665

Please sign in to comment.