[whatwg] main element parsing behaviour

Henri Sivonen hsivonen at iki.fi
Wed Nov 7 04:47:53 PST 2012


On Wed, Nov 7, 2012 at 2:42 PM, Simon Pieters <simonp at opera.com> wrote:
> I think we shouldn't put the parsing algorithm on a pedestal while not
> giving the same treatment to the default UA style sheet or other
> requirements related to an element that have to be implemented.

The difference between the parsing algorithm on the UA stylesheet is
that authors can put display: block; in the author stylesheet during
the transition.

That said, the example jgraham showed to me on IRC convinced me that
if <main> is introduced to the platform, it makes sense to make it
parse like <article>. :-( (I’m not a fan of the consequences of the
“feature” of making </p> optional. Too bad that feature is ancient and
it’s too late on undo it.)

I guess I’ll focus on objecting to new void elements and especially to
new children of <head>.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/



More information about the whatwg mailing list