W3C home > Mailing lists > Public > public-html@w3.org > January 2012

Re: [html5] inline table

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 30 Jan 2012 19:24:04 +0000
Message-ID: <CAEhSh3dL7hWCoCBQ_BD+x76DO0ncn5w+ANxNAMBc2b_GyK3JWg@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: Andrew Fedoniouk <news@terrainformatica.com>, public-html@w3.org
On Mon, Jan 30, 2012 at 6:46 PM, Leif Halvard Silli
<xn--mlform-iua@xn--mlform-iua.no> wrote:
> Benjamin Hawkes-Lewis, Mon, 30 Jan 2012 18:24:46 +0000:
>> On Mon, Jan 30, 2012 at 8:06 AM, Leif Halvard Silli wrote:
>>>> Can you give an example of real content with inline-block tables?
>>>
>>> Example: The <object> element is supposed to be able to contain
>>> fallback for AT etc. And so, an image of a diagram could use a table
>>> as fallback.
>>
>> Can anyone give an example of real content where a diagram is inline
>> *and* the appropriate fallback would be a table?
>
> What does 'inline' mean? You pointed Andrew to HTML5, for another
> approach to what a 'paragraph' is. Well, anything inside a paragraph is
> inline.

I'm trying to work out what end-user problem Andrew is trying to solve.

By "inline" I mean here presented as an inline block within a text
block. For example, people sometimes typeset equations as inline
blocks within text rather than breaking them out into separate blocks
(MathML blobs handle this case for HTML5)? What table receives
equivalent typesetting?

>>>> What's your rationale for not using <div> instead of <p> here?
>>>>
>>>> Note how HTML5 defines what represents a "paragraph":
>>>>
>>>>     http://dev.w3.org/html5/spec/content-models.html#paragraphs
>>>
>>> It is a bit unpractical to change the parent element just because the
>>> child element happens to to be an <object> with fallback, no?
>>
>> Aesthetically unpleasing, sure. But impractical? Likely not as
>> impractical as changing the parsing of <p>.
>
> You are wrong: It is not a parsing issue. The parsing handles this
> fine. It does not require any change of the HTML5 parser. It is solely
> a conformance issue.

I'll take your word for it, but how would requiring Andrew use an
<object> around his inlined table be more aesthetically pleasing than
requiring him to use a <div> in place of a <p>?

--
Benjamin Hawkes-Lewis
Received on Monday, 30 January 2012 19:24:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:29 UTC