W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] main element parsing behaviour

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 07 Nov 2012 13:49:52 +0100
Message-ID: <509A58F0.5000204@kosek.cz>
To: Simon Pieters <simonp@opera.com>
Cc: whatwg <whatwg@whatwg.org>, Steve Faulkner <faulkner.steve@gmail.com>
On 7.11.2012 13:42, Simon Pieters wrote:

>> Look for example at <hgroup>. It's supported by parsing algorithm as
>> implemented in browsers, so it will remain in spec forever even when
>> it's not actually implemented. With such approach parsing algorithm will
>> became boneyard of proposed but later thrown away elements over the time.
> 
> 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 is that deficiency of parsing algorithm can't be
compensated by JS or CSS. Until new element is widely supported you can
define it's styling in your CSS file or link to Javascript shim which
will provide functionality in older browsers. But I don't think that you
can alter parsing algorithm in the similar way.

Web browsers are now upgraded much more frequently and regularly so
change to PA might look like non problem. But various non-browser
applications are relying on HTML5 parsing libraries and those will not
be regularly updated.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Received on Wednesday, 7 November 2012 12:50:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT