[html4all] Numbered headings (was HTMLWG)

Lachlan Hunt lachlan.hunt at lachy.id.au
Mon Nov 26 08:08:44 PST 2007


Vlad Alexander (XStandard) wrote:
> <html>
> 	<body>
> 		<h1></h1>
> 		<section>
> 			<h1></h1>
> 			<p></p>
> 		</section>
> 	</body>
> </html>
> 
> In the context of the section element, the authoring tool may draw a
> line around the h1 element (and section element) and not let users
> enter content before the h1 element. The authoring tool may also not
> let users delete the h1 element inside the section element.
> 
> In the context of the body element (outside the section element), h1
> can be deleted, content can be entered before it and there is no line
> around it.
> 
> So in different contexts, the authoring tool needs to treat the same
> element (h1) in different ways. This creates problems for tool
> vendors.

How could this particular issue possibly be resolved by using an <h> 
element instead of an <h1> element?  AFAICT, the different tag name has 
no effect on the complexity of implementing that particular feature.

(FWIW, that sounds like an overly restrictive feature. There is nothing 
in the spec that prohibits content from occurring before the section's 
heading element.)

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/



More information about the List_HTML4all.org mailing list