Re: [whatwg] More comments and questions on Web Apps 1.0

2007-06-01 Thread Ian Hickson
think that would be excessive. It might be a good idea, though. Do you think it should be further restricted? Not necessary, I guess. Ok. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Return values of on* event handlers

2007-06-01 Thread Ian Hickson
6, 7 (Mac) Mozilla 1.7, Firefox 1.5, Firefox 2 (Mac) Opera 3, 4, 5 (Windows) Opera 6, 7, 8, 9 (Mac) Safari 2.0.4 (Mac) That seems pretty strongly a vote against it for me. Thanks for the testing! I guess it's a bug in iCab. -- Ian Hickson U+1047E

Re: [whatwg] HTMLDocument.title and SVGDocument

2007-06-01 Thread Ian Hickson
can get the other one using getFeature(), or, they both get redefined to check the root element and dispatch to the other one if appropriate. Suggestions? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] live image maps

2007-06-01 Thread Ian Hickson
this is necessarily true. Replacing a document with another one has all sorts of implications that are quite complex. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] DOMTokenList versus DOMStringList

2007-06-01 Thread Ian Hickson
from DOMStringList or something... I don't really see the relationship... Why would we want to use DOMStringList for this? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] HTMLMediaElement.volume

2007-06-01 Thread Ian Hickson
vendors have an opinion? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] datetime - dateTime

2007-06-01 Thread Ian Hickson
! -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Apply script.defer to internal scripts

2007-06-04 Thread Ian Hickson
additional content - i.e. the script will not use document.write (and friends). HTML5 defines this more exactly than HTML4. Cheers, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Apply script.defer to internal scripts

2007-06-04 Thread Ian Hickson
? On Thu, 29 Mar 2007, Dean Edwards wrote: Seems to have been forgotten: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-April/003709.html It wasn't forgotten. The spec defines it now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] A few editing suggestions for the HTML5 spec

2007-06-04 Thread Ian Hickson
that, from an interoperability perspective, it really matters. If there's a case in which it matters, though, do let me know so we can specify it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] activeElement

2007-06-04 Thread Ian Hickson
an element is positioned or not should have no bearing on the semantics of the document. * it keeps pointing to the same element until another interaction with the document sets it again (important) That's already in the spec. -- Ian Hickson U+1047E

Re: [whatwg] Scripting Tweaks

2007-06-04 Thread Ian Hickson
infrastructure; it doesn't define when and how each event is actually fired. The firing of the events in HTML is very closely tied to the rest of the HTML processing model. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] setting .src of a SCRIPT element

2007-06-04 Thread Ian Hickson
to it in due course). I haven't changed the spec, since the spec describes what Jonas says. Please let me know if you disagree with this, especially if you find pages that break because of it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] typos in HTMLElement IDL

2007-06-04 Thread Ian Hickson
On Sat, 2 Jun 2007, Anne van Kesteren wrote: * tabindex - tabIndex Fixed. * contenteditable - contentEditable Fixed. * The irrelevant DOM attribute currently doesn't link because there's no dfn around its definition. Fixed. -- Ian Hickson U+1047E

Re: [whatwg] HTMLDocument.title and SVGDocument

2007-06-04 Thread Ian Hickson
in such cases than both HTMLDocument and SVGDocument returning that seems better than separate results. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

Re: [whatwg] Scripting Tweaks

2007-06-05 Thread Ian Hickson
it and aren't going to _remove_ support for it, we have to specify it, and hence it gets added to the spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Arbitrary HTML in option-elements

2007-06-05 Thread Ian Hickson
be generalized, something like: [...] Since we now have very specific parsing rules, this probably no longer really applies. Please let me know if you disagree with what the spec says today about handling invalid HTML (and option elements in particular). -- Ian Hickson U+1047E

Re: [whatwg] Lowercase attribute values

2007-06-05 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Lowercase attribute values

2007-06-05 Thread Ian Hickson
to be chosen at least for a parser that is intended to be used as a part of a conformance checker. Otherwise input type=RADİO ... would pass. Good point. Ok, ASCII-only it is. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] how to handle minimised attributes in HTML5

2007-06-05 Thread Ian Hickson
On Wed, 27 Apr 2005, Henri Sivonen wrote: On Apr 27, 2005, at 13:09, Ian Hickson wrote: On Tue, 26 Apr 2005, Henri Sivonen wrote: What do you suggest the parser layer of an text/html conformance checker say about input checkbox ...? 1. Silently treat as input type=checkbox

Re: [whatwg] Character References in HTML

2007-06-05 Thread Ian Hickson
, no XHTML UA implements this buggy behaviour. Indeed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Test suite: Embedded content

2007-06-05 Thread Ian Hickson
but are in the DOM and active. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Serialize comments that contain --

2007-06-06 Thread Ian Hickson
? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] The problem of duplicate ID as a security issue

2007-06-06 Thread Ian Hickson
to ensure that all IDs are unique, then the ID values within the user-supplied code would have to be checked for duplicates among them, too. This is already the case, yes. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Parsing Numeric Character References

2007-06-06 Thread Ian Hickson
special about these characters in the rendering section, but I don't think they should be parse errors. Do you agree? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] why, e.g., input/@checked=checked ?

2007-06-06 Thread Ian Hickson
imagine, however, that someone else might see the case restriction as excessive. If you get feedback along these lines from your users, please let me know. We can review this in light of experience. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] The problem of duplicate ID as a security issue

2007-06-06 Thread Ian Hickson
On Thu, 7 Jun 2007, Alexey Feldgendler wrote: On Thu, 07 Jun 2007 00:20:18 +0200, Ian Hickson [EMAIL PROTECTED] wrote: Preventing such attacks by a HTML cleaner would require either making a full list of all forbidden IDs, class names etc, or imposing Draconian rules upon user

Re: [whatwg] On validation

2007-06-06 Thread Ian Hickson
should be defined to mean the same as HTML5 conformance checking. :-) I have added a paragraph to this effect. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

Re: [whatwg] [html5] tags, elements and generated DOM

2007-06-06 Thread Ian Hickson
are not guaranteed to process the external DTD subset referenced in the DOCTYPE. This means, for example, that using entities for characters is unsafe (except for lt;, gt;, amp;, quot; and apos;). For interoperability, authors are advised to avoid optional features of XML. Added. -- Ian Hickson

Re: [whatwg] Forbidden characters in text/html

2007-06-06 Thread Ian Hickson
they tend to have unexpected consequences. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] basefont

2007-06-06 Thread Ian Hickson
think it should be made officially obsolete. It should be inserted into the DOM as an empty element, but UAs should ignore it. UAs may choose to support it at their own risk, but must not do so by breaking the DOM like IE does. Agreed. Done. -- Ian Hickson U+1047E

Re: [whatwg] The problem of duplicate ID as a security issue

2007-06-08 Thread Ian Hickson
On Thu, 7 Jun 2007, Alexey Feldgendler wrote: On Thu, 07 Jun 2007 00:42:31 +0200, Ian Hickson [EMAIL PROTECTED] wrote: IDs in user-supplied content are only useful as fragment identifiers for URLs, and mangling them like that defeats this use case because you don't know N before you

Re: [whatwg] Still more comments and questions on Web Apps 1.0

2007-06-08 Thread Ian Hickson
the handling of comment tokens as parse errors and the comments are inserted on the foster parent. Is that intentional? It looks like an oversight. This seems fixed now. Cheers, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] id and xml:id

2007-06-08 Thread Ian Hickson
;f#13;' FAIL That's what the spec requires today. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] apos; in text/html

2007-06-11 Thread Ian Hickson
if it does cause short-term minor pain. I think I'm going to emit a warning even if apos; is conforming. That seems reasonable. I am uncomfortable with LT;, GT;, AMP;, QUOT; and COPY; on aesthetic grounds, but at least they work interoperably. Yeah. -- Ian Hickson U+1047E

Re: [whatwg] Common number formats

2007-06-11 Thread Ian Hickson
leading zeros? (Leading zeros are harmless in Firefox, Opera and Safari, at least.) I haven't defined percentages yet, as we may not need them. But I imagine I would define them as being just a kind of integer followed by a % character. -- Ian Hickson U+1047E

Re: [whatwg] Doctype conformance requirements

2007-06-11 Thread Ian Hickson
: !DOCTYPE html. So, if I read this correctly, HTML documents that aren't served over the wire need not have a doctype? Fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] script type= and style type= parsing

2007-06-11 Thread Ian Hickson
there (mostly because I have no idea what we should say). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Steps for finding one or two numbers in a string

2007-06-12 Thread Ian Hickson
this. That statement was not precise enough. It applies to attribute names, not to attributes as such. I don't understand, could you elaborate? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Steps for finding one or two numbers in a string

2007-06-12 Thread Ian Hickson
should change? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Steps for finding one or two numbers in a string

2007-06-12 Thread Ian Hickson
? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] script type= and style type= parsing

2007-06-12 Thread Ian Hickson
for it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Steps for finding one or two numbers in a string

2007-06-12 Thread Ian Hickson
/#attributes0 technically is not needed, although it does no harm either. Ok. Since it does no harm and might help some readers, I'll leave it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] [wa1] Status of tree construction section

2007-06-13 Thread Ian Hickson
the stack again straight away. Fixed. Thanks, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [WebApps] Entity consumption

2007-06-13 Thread Ian Hickson
On Fri, 14 Jul 2006, J. King wrote: On Fri, 14 Jul 2006 18:53:31 -0400, Ian Hickson [EMAIL PROTECTED] wrote: On Fri, 14 Jul 2006, J. King wrote: There are two paragraphs at the end of section 8.2.1.1: # When an end tag token is emitted, the content model # flag must be switched

Re: [whatwg] [WebApps] Parsing: close tag open state

2007-06-13 Thread Ian Hickson
ahead. Shouldn't it simply emit the two character tokens and switch to the data state? Fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] About adopting quirks mode parsing

2007-06-13 Thread Ian Hickson
On Wed, 19 Jul 2006, Michel Fortin wrote: Le 18 juil. 2006 à 21:43, Ian Hickson a écrit : It might be desirable also that a valid HTML4 document gets a conforming HTML4 DOM. If it is, then ps shouldn't contain table. I agree. Is this goal compatible with blockquote, pre, ol, ul

Re: [whatwg] About adopting quirks mode parsing

2007-06-13 Thread Ian Hickson
On Wed, 19 Jul 2006, Simon Pieters wrote: From: Ian Hickson [EMAIL PROTECTED] On Mon, 17 Jul 2006, Simon Pieters wrote: As for an algorithm for how to do that, I think that an extra flag would be sufficient. If the parser hits !-- while in RCDATA or CDATA, the flag is set to true

Re: [whatwg] parsing: bogus comments - PIs

2007-06-13 Thread Ian Hickson
://www.whatwg.org/specs/web-apps/current-work/#innerhtml0 -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Events for added nodes while page is loading

2007-06-13 Thread Ian Hickson
tree. Browser vendors have told me that they don't want to do this due to the performance impact of such a feature. Otherwise, we already have this feature (DOM mutation events). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] XHTML and document.write()

2007-06-14 Thread Ian Hickson
to work out how it could work. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] innerHTML and QNames

2007-06-14 Thread Ian Hickson
on IRC. I took the opportunity to clean up the use of the term tag name in a few other places where it was ambiguously used. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] The problems with namespaces in text/html (Was: MathML-in-HTML5)

2007-06-14 Thread Ian Hickson
, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Map lang to xml:lang at the parser level

2007-06-14 Thread Ian Hickson
that I think you'd have to have special code to convert between the two anyway. So I'm not sure this would gain you much. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] innerHTML in XML

2007-06-14 Thread Ian Hickson
be if it were treated as an external parsed entity. I've made the spec explicitly require that innerHTML return an XML namespace-well-formed internal general parsed entity representation. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] XHTML5 DOM building and IDness

2007-06-14 Thread Ian Hickson
stream, for example. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] 9.2.2: replacement characters. How many?

2007-06-14 Thread Ian Hickson
as this is locked down one way or the other. I don't really know how to define this. I'd like to say that it's up to the encoding specifications to define it. Any suggestions? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Typo in 9.2.3

2007-06-14 Thread Ian Hickson
On Sun, 5 Nov 2006, Elliotte Harold wrote: Otherwise if the next seven chacacters are a case-insensitive match for the word DOCTYPE, then consume those characters and switch to the DOCTYPE state. chacacters -- characters Fixed. -- Ian Hickson U+1047E

Re: [whatwg] Entity parsing

2007-06-14 Thread Ian Hickson
this. On the one hand, it's pragmatic (after all, why require the semicolon?), and is equivalent to not requiring quotes around attribute values. On the other, people don't want us to make the quotes optional either. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Space characters

2007-06-14 Thread Ian Hickson
On Mon, 6 Nov 2006, Henri Sivonen wrote: On Nov 6, 2006, at 07:34, Ian Hickson wrote: On Sun, 5 Nov 2006, Henri Sivonen wrote: Is there a reason why the definition of space characters does not match the XML 1.0 and RELAX NG definition of white space (space, tab, CR, LF) but also

Re: [whatwg] Handling of illegal byte-sequences (typically in UTF-8)

2007-06-14 Thread Ian Hickson
: I agree. The current slight inconsistency should probably be amended by making section 8.1.4 more liberal rather than the other way round. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] HTML syntax: space characters between attributes

2007-06-14 Thread Ian Hickson
(except where it would otherwise be ambiguous). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parsing (and syntax): in unquoted attribute values

2007-06-14 Thread Ian Hickson
div title=p And the following two no longer close tags either (only worked in Firefox): div titlep /divp All of these were allowed in SGML, as I understand it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] file URL is overspecified

2007-06-16 Thread Ian Hickson
On Fri, 15 Jun 2007, Kristof Zelechovski wrote: I understand that this is fixed by HTML 5 [...] Please don't bring up issues we've already fixed. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Minor linking addition to parsing section

2007-06-18 Thread Ian Hickson
as if the state was maintained.? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Windows-1252 entities

2007-06-18 Thread Ian Hickson
On Wed, 6 Dec 2006, Anne van Kesteren wrote: The section on handling entities should contain the following mapping: [...] ... mostly for legacy reasons. Let me know if the table in that section is what you wanted. Cheers, -- Ian Hickson U+1047E

Re: [whatwg] Windows-1252 entities

2007-06-18 Thread Ian Hickson
On Wed, 6 Dec 2006, Sam Ruby wrote: +1, though I would suggest a one change: 159: 376 // Yuml; The spec does indeed say this. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Parsing: first bit of Close tag open state

2007-06-18 Thread Ian Hickson
it makes more sense that to say that you just have to switch to the data state there. This got fixed last week I believe. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just

Re: [whatwg] Content Model Restrictions on tabletr in HTML

2007-06-18 Thread Ian Hickson
On Wed, 6 Dec 2006, Simon Pieters wrote: From: Ian Hickson [EMAIL PROTECTED] Hm. Actually an optgroup start tag has to imply an /optgroup end tag for compatibility with browsers... spec fixed. Then nested optgroups as allowed in WF2 is just another thing that only works in XHTML5? How

Re: [whatwg] Content Model Restrictions on tabletr in HTML

2007-06-18 Thread Ian Hickson
On Wed, 6 Dec 2006, Bjoern Hoehrmann wrote: * Ian Hickson wrote: No conformance criteria are broken if the user agent is assumed to have converted the document to a serialisable form by adding an appropriate tbody element and then serialised that. If the user agent has not, e.g. it shows

Re: [whatwg] Content Model Restrictions on tabletr in HTML

2007-06-18 Thread Ian Hickson
useful to flag trees with tr as child of table as something that would break if serialized as HTML5 and sent as text/html. It might break some scripts. Other than that, I don't think it's a big deal, no. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] in caption insertion mode

2007-06-18 Thread Ian Hickson
On Sun, 10 Dec 2006, Anne van Kesteren wrote: The Anything else case should probably trigger a parse error before reprocessing the current token. Why? Could you show a sample of markup that would go through this path and should trigger an error that isn't flagged? -- Ian Hickson

Re: [whatwg] innerHTML for HTML and plaintext

2007-06-18 Thread Ian Hickson
On Sat, 9 Dec 2006, Anne van Kesteren wrote: On Fri, 08 Dec 2006 22:57:07 +0100, Ian Hickson [EMAIL PROTECTED] wrote: The section If the child node is a Text or CDATASection node should include the plaintext element. plaintext in general isn't supported by the innerHTML spec

Re: [whatwg] several messages about XML syntax and HTML5

2007-06-18 Thread Ian Hickson
On Sun, 10 Dec 2006, Thomas Broyer wrote: However, text/xml-script would result in a parse-error in HTML5 (if I understand section 9.2 correctly). I've removed the parse error. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] nobr is not an active formatting element

2007-06-18 Thread Ian Hickson
This is quite different from b, strong, etc. and it probably has to be this way too because of site compat. I've tried to make nobr more compatible with IE (basically it implies a /nobr before itself). I'd be extremely interested in implementation experience for this. -- Ian Hickson

Re: [whatwg] HTML syntax: comments before doctype and doctype sniffing

2007-06-18 Thread Ian Hickson
, as I described in my previous e-mail. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] in cell should handle comments

2007-06-18 Thread Ian Hickson
On Tue, 12 Dec 2006, Anne van Kesteren wrote: I don't see why comments have to be processed as if they were in body. They should just be appended to the current node. Isn't that what happens if they're processed as if they were in body? -- Ian Hickson U+1047E

Re: [whatwg] Bug in Before DOCTYPE name state?

2007-06-18 Thread Ian Hickson
On Fri, 22 Dec 2006, Thomas Broyer wrote: 2006/12/22, Ian Hickson: On Thu, 21 Dec 2006, Thomas Broyer wrote: Why is the DOCTYPE marked in error in the former case? Because otherwise this document: !DOCTYPEH ...would emit a DOCTYPE that is not in error (since the token would

Re: [whatwg] Ampersands not followed by ASCII letters or #

2007-06-18 Thread Ian Hickson
to the list. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] adoption agency parse errors

2007-06-18 Thread Ian Hickson
and that caused the string's contents to be treated as code, you'd ideally just want the compiler to say missing quote mark, not start listing all the contents of the string and say how each part in turn isn't valid script. Sadly, this is often quite difficult to achieve! -- Ian Hickson

Re: [whatwg] isindex prompt

2007-06-18 Thread Ian Hickson
. On Tue, 20 Feb 2007, Martijn wrote: Also, there is an action attribute, so I think it would be wise to include that one too. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] several messages about discouraged things

2007-06-18 Thread Ian Hickson
. But layout tables in general will be discouraged (and are non-conforming). - Iframes Why are they bad? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
it a violation of the specs, and indeed that has now been done (quirks mode and DOCTYPE sniffing is part of the spec). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
this suggestion. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
rules, given by the HTML5 spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
who have actually used RELAX NG to describe them, I'm not sure that it really would be easier. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
successful HTML standard on the Web. We don't need a technical means to chose between them, the market will do that for us. In any case, we just have the one standard right now (since the W3C and WHATWG are working on the same document). -- Ian Hickson U+1047E

Re: [whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

2007-06-18 Thread Ian Hickson
is working on their version of HTML 5. When I asked Ian Hickson how WHATWG would handle divergence in the W3C spec [1], he said he intended to make every effort to keep the two in sync. [2] While I appreciate his effort and I fully believe that he will do his best, we are dealing with a body (i.e

Re: [whatwg] Getting .innerHTML and pre\n

2007-06-18 Thread Ian Hickson
(some after the Append a U+003E GREATER-THAN SIGN () character. paragraph): If the child node is an Element with a tag name pre then append a U+000A LINE FEED (LF) character. This will always add the linefeed even when it's not needed, but I guess that's fine. Fixed. -- Ian Hickson

Re: [whatwg] innerHTML in HTML documents with multiple namespaces

2007-06-19 Thread Ian Hickson
with document.createElement are HTMLElements and have their names lowercased at creation time; as described in the spec) Same questions with attribute names ;-) I think the spec has been clarified regarding this, let me know if it is not clear still. Cheers, -- Ian Hickson U+1047E

Re: [whatwg] Parsing: comment tokenization

2007-06-19 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parsing: /li should be ignored

2007-06-19 Thread Ian Hickson
and dd, and would make constructions like: x dt xx /dt xx dd xx li xx /li xx /dd xx /x ...have very different results than it appears. So, unless there's a strong reason to, I suggest we don't change this. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] web-apps/current-work/#datetime-parser

2007-06-19 Thread Ian Hickson
from UTC. To convert to UTC I need to add 4 hours. Fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] void elements vs. content model = empty

2007-06-19 Thread Ian Hickson
is just about the syntax. They're not really related, though it happens to be the case that all elements that have an empty content model are void elements in HTML. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Parsing: should foodd/foo close the DD?

2007-06-19 Thread Ian Hickson
, so perhaps this is a bug in the spec? I could only get /foo to close the dd in Firefox. In IE, the foo is treated as a void element. Opera and Safari seem to follow the spec. Without further evidence that this breaks things, I'd rather just leave the spec as is. -- Ian Hickson

Re: [whatwg] Incorrect character codes

2007-06-19 Thread Ian Hickson
+0041 LATIN CAPITAL LETTER A through to U+0046 LATIN CAPITAL LETTER F It seems this is fixed now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parsing: in unquoted attribute values

2007-06-19 Thread Ian Hickson
as element names go, i don't really see a reason to allow more, or less, characters than the XML spec lets you use. The main reason is that you have to define what happens to the characters you don't allow. We don't have the option of fatal failure. -- Ian Hickson U+1047E

Re: [whatwg] Script, style and backwards compatibility

2007-06-19 Thread Ian Hickson
, it can't have multiple languages. In conclusion, while I agree with the principle of keeping XHTML and HTML as close to each other as possible, I don't think they're further apart than is actually necessary. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Parsing: don't move meta and link to head

2007-06-19 Thread Ian Hickson
the fact that it is more sensible as the DOM and the original input stream are closer to each other. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parsing: ignore /head?

2007-06-19 Thread Ian Hickson
such strange appending rules for the limited set of elements that have that now (link, meta, style, base). This would screw up the placement of comments between head and body. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

<    2   3   4   5   6   7   8   9   10   11   >