- From: Johannes Wilm <notifications@github.com>
- Date: Tue, 07 Jun 2016 17:11:14 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc:
- Message-ID: <w3c/editing/issues/70/224451533@github.com>
@Reinmar : Would it not be OK to say: * browsers should not draw carets in zero height elements * browsers should ensure that the caret can be placed in elements programatically independently of the height of the element * It is up to JavaScript authors to ensure that the element the caret is placed in has height > 0 if they want the caret to be seen? Given that all the editors move toward a separate data model now, this doesn't seem so problematic anymore. If one doesn't want to have inline elements mixed with block elements, one can simply do a `<p><br></p>`. I agree though that it would be cleaner if there was a css-way of specifying that empty elements should have a height no matter what. The height should definitely not change because an elements happens to be inside a contenteditable element. Tat does not seem right. @kojiishi When you write > A child of an empty span You mean: > An element with a child that is an empty span right? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/70#issuecomment-224451533
Received on Wednesday, 8 June 2016 00:11:47 UTC