W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

[whatwg] Paragraph with overlapping fallback content

From: Cory Sand <yrocsand@gmail.com>
Date: Wed, 5 Dec 2012 22:35:27 -0500
Message-ID: <CAPD6UUdpJ4dJMTrE8kKVzON24NnpV+mBK2+K3uZnB=+QOddspA@mail.gmail.com>
To: whatwg <whatwg@whatwg.org>
The "Paragraphs" section (3.2.5.3) gives an interesting example where
paragraphs can overlap when using an element, like <object>, that defines
fallback content. To avoid the confusion of mixing the fallback paragraphs
with the sentences of the surrounding paragraph in the case where the
object resource is not supported, the spec suggests explicitly marking up
the fallback paragraphs with <p> tags (which makes sense to me), but it
also suggests marking the sentences before and after the object element as
paragraphs. This latter suggestion doesn't make sense to me, because in the
original example, those sentences constituted a single paragraph (since
<object> is phrasing content). Wouldn't it be more correct to only mark the
fallback paragraphs as paragraphs? That way, the sentences "You can play
with my cat simulator." and "I'm quite proud of it." will remain a single
paragraph when the object resource is supported.

Cory
Received on Thursday, 6 December 2012 03:36:11 UTC

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