[html5] validator.nu and empty table tr

Henri Sivonen hsivonen at iki.fi
Thu Dec 2 02:35:02 PST 2010

Ian Hickson wrote:
> On Tue, 30 Nov 2010, Jukka K. Korpela wrote:
> > >
> > > Error: Row 1 of a row group established by a tbody element has no
> > > cells beginning on it.
> >
> > Apparently validator.nu plays its own game, using existing HTML
> > recommendations rather than HTML 5 drafts in this issue.
> More likely it's just a bug.

The code in question mostly predates the spec and has been extrapolated from this expression of Hixie's opinion at one point in time:

I thought the spec at least at some point banned empty rows. Am I mistaken or has the spec changed?

Why aren't empty rows banned? Not banning <ul></ul> makes sense, but once you have <table><tr></tr></table>, you might as well require it to be <table><tr><td></td></tr></table>, since this requirement isn't more substantially more onerous to authoring tools but helps catch unintentionally empty rows.

Henri Sivonen
hsivonen at iki.fi

More information about the Help mailing list