W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: Alexey Feldgendler <alexey@feldgendler.ru>
Date: Fri, 27 Jan 2006 00:16:21 +0600
Message-ID: <op.s3zzpjvc1h6og4@pancake.feldgendler.ru>
On Fri, 27 Jan 2006 00:07:54 +0600, James Graham <jg307 at cam.ac.uk> wrote:

>>  This confirms the point that the classification of elements into  
>> block-level and inline-level is just a convention not backed by a  
>> semantic requirement.

> Of course it can be. What does:
> <abbr>
> <ul/>
> <p/>
> </abbr>
> mean?

OK, I'm not advocating for making things like this valid. But if I, being  
a human and not a machine, saw this sequence in a real document, I would  
think that the author is abusing <abbr> for presentational purposes and  
that he probably intends that the visual effect of <abbr> should be  
applied to the list and paragraph. So, if I was the renderer, I'd build  
the following (invalid) DOM and render it appropriately:

ABBR
   UL
   P

I think the machine should do something similar, though it should be, of  
course, expressed as formal logic.


-- 
Opera M2 8.5 on Debian Linux 2.6.12-1-k7
* Origin: X-Man's Station [ICQ: 115226275] <alexey at feldgendler.ru>
Received on Thursday, 26 January 2006 10:16:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC