W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] <ins>, <del>, and <mark> crossing element boundaries

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 02 Apr 2008 12:43:00 +0200
Message-ID: <47F36334.3020709@disruptive-innovations.com>
Matthew Paul Thomas wrote:

> I don't know what use this observation is. Maybe it means <ins>, <del>,
> and <mark> shouldn't be HTML elements, but should be something else instead.

Excellent post. I have to add that from a Wysisyg editor's perspective,
and I said it many times in the past, ins and del are almost the only
elements that are intrinsicly block-level AND inline-level.

In other terms, if you select the whole text inside a paragraph and 
remove it, it is <p><del>foo</del></p> or <del><p>foo</p></del> ?
Discrimination is impossible, it's a nightmare.

Received on Wednesday, 2 April 2008 03:43:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC