- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 15 Sep 2009 08:48:04 +0000 (UTC)
On Fri, 11 Sep 2009, Simon Pieters wrote: > > + <div class="example"> > > + <p>These two snippets are equivalent:</p> > > + > > + <pre><h1>Let's call it a draw(ing surface)</h1> > > +<h2>Diving in</h2> > > +<h2>Simple shapes</h2> > > +<h2>Canvas coordinates</h2> > > +<h3>Canvas coordinates diagram</h3> > > +<h2>Paths</h2></pre> > > + > > + <pre><section> > > + <h1>Let's call it a draw(ing surface)</h1> > > + <section> > > + <h1>Diving in</h1> > > + </section> > > + <section> > > + <h1>Simple shapes</h1> > > + </section> > > + <section> > > + <h1>Canvas coordinates</h1> > > + <section> > > + <h1>Canvas coordinates diagram</h1> > > + </section> > > + </section> > > + <section> > > + <h1>Paths</h1> > > + </section> > > +</section></pre> > > + > > + </div> > > They are not equivalent; in the first example, the h1 will apply to the > <body>, while in the second example the first h1 will apply to the > explicit <section>. Either add a <section> to the first example or > remove the wrapping <section> from the other. Maybe add <body> to both > examples. Fixed. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 September 2009 01:48:04 UTC