Re: 3.8.10. The address element

Ian Hickson <ian@hixie.ch>: hodd gsachd:

>
> On Wed, 8 Aug 2007, Ben Boyle wrote:
>>
>> 2. Would anyone else like the content model of address broadened? I
>> would like to be able to structure contact details using lists and
>> tables (when appropriate) and to do this within address tags. The
>> "paragraph" model is restrictive and I don't understand the reasons for
>> the restriction.
>
> I suppose we could change this for XHTML, but for HTML we're constrained
> by legacy parsing behaviour (which is somewhat... special... for
> <address>).

IE, Opera and Safari allow <address><table> and <address><ul> etc.
So what's the problem to allow this?
It's perhaps more likely to fix compatibility bugs in mozilla than  
breaking things.
(Even Netscape 4 has no problems with lists in address)

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%3Cstyle%3E%20address%20%7B%20background-color%3Agold%20%7D%20%3C/style%3E%0D%0A%3Caddress%3E%20%3Cul%3E%3Cli%3E%20-list-%20%3C/ul%3E%20%3C/address%3E%0D%0A%3Caddress%3E%20%3Col%3E%3Cli%3E%20-list-%20%3C/ol%3E%20%3C/address%3E%0D%0A%3Caddress%3E%20%0D%0A%20%3Ctable%20border%3E%3Ctr%3E%3Ctd%3E%20-table-%20%3C/table%3E%0D%0A%3C/address%3E

j.j.

Received on Monday, 13 August 2007 14:20:16 UTC