- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 24 Jan 2012 01:17:40 +0000 (UTC)
- To: David Flanagan <dflanagan@mozilla.com>
- cc: Ms2ger <ms2ger@gmail.com>, www-dom@w3.org
On Wed, 10 Aug 2011, David Flanagan wrote: > On 8/10/11 1:57 AM, Ms2ger wrote: > > On 08/10/2011 12:33 AM, Ian Hickson wrote: > > > On Tue, 9 Aug 2011, David Flanagan wrote: > > > > > > > > Still, I think it would be helpful if the DOM spec changed the html flag > > > > into two distinct internal properties: caseSensitive and > > > > allowsProcessingInstructions. Documents created with createDocument() > > > > are case sensitive and allow PIs. Documents created with > > > > createHTMLDocument() are not. > > > > > > There are far more differences. For example,<noscript> is allowed in HTML > > > Documents but not XML Documents. > > > Sorry: those were the only two uses of the HTML flag in the DOM spec... I > should have thought to check for uses in HTML as well. > > > Indeed. Also, having two flags would suggest that one could be set while the > > other isn't, and that would, I think, lead to more confusion. > > > I thought you might be willing to put up with two linked flags if the benefit > was that the DOM spec didn't have to say anything about which documents are > HTML and which are not, since the HTML spec blurs the distinction anyway. > > As I said earlier, if HTML changes to use "partial interface Document" instead > of "Document implements HTMLDocument" that will solve the problem because then > all documents implement Document and some of them are also flagged as HTML > documents. Unlike now when all documents implement HTML document, but only > some of them are actually HTML documents. This has now been done, FWIW. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 24 January 2012 01:18:05 UTC