W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] On tag inference

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 19 Sep 2005 21:15:08 +0300
Message-ID: <badf810ae28ee2507c32f99e525e46e8@iki.fi>
On Sep 1, 2005, at 20:48, Henri Sivonen wrote:

> End tag inference

> p: p, h1, h2, h3, h4, h5, h6, ol, ul, pre, dl, div, center, noscript, 
> noframes, blockquote, form, isindex, hr, table, fieldset, address

Anne's new design shows that the above list is incomplete. Since 
paragraphs may appear in definitions, list items and table cells, which 
themselves may omit their end tags, the list of elements whose start 
tags closes 'p' needs to also include the elements whose start tag 
closes dd, li, td and th.

> dd: dt, dd
> li: li
> td: td, th, tr, tfoot, tbody

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Monday, 19 September 2005 11:15:08 UTC

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