A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "ParserIssues"

From WHATWG Wiki
Jump to: navigation, search
Line 6: Line 6:
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9580 Steps for handling end tags in the "in foreign" mode walk past the root node in the stack
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9580 Steps for handling end tags in the "in foreign" mode walk past the root node in the stack
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9767 Consider ignoring document.write() when IE ignores it if IE has a sane condition for ignoring it
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9767 Consider ignoring document.write() when IE ignores it if IE has a sane condition for ignoring it
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9829 <button> should be scoping for the purpose of implicitly closing <p>
+
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9829 <button> should be scoping for the purpose of implicitly closing <nowiki><p></nowiki>
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9831 Handling of EOF in foreignContent mode causes all tags to be popped of stack of open elements
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9831 Handling of EOF in foreignContent mode causes all tags to be popped of stack of open elements
  

Revision as of 13:40, 2 June 2010

Filed bugs

Possible other issues

  • <!DOCTYPE html><p><b><i><u></p> <p>X - should spaceness of character have any effect in InBody mode?
  • To enable the parser to decide whether a given script can call document.write() (for optimizing speculative parsing), it is necessary for the execution properties of the script as seen at start tag to remain constant until the end tag is parsed. This can be achieved by freezing the effective values for the src, defer and async attributes when a parser-inserted script is inserted to the tree. There's no non-racy way for a script to detect this when the script comes from the network stream, so this is OK. However, if the parser implements the same script execution logic for the network stream case and the document.write case in the same way, there is a non-racy way to detect the implementation details in the document.write() case. For an implementation that does speculative off-the-main-thread parsing, it is a developer time-consuming theoretical purity exercise to make the document.write() case correct per spec. OTOH, if the spec enshrines the freezing behavior as correct, it'll be a developer time-consuming theoretical purity exercise for implementations that don't have the kind of speculative parsing that needs the freezing.