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
(Filed bugs)
Line 10: Line 10:
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9843 <nowiki>Specced behavior for document.write("<link rel=stylesheet href=...><script>...</script>...") matches none of the top 4 engines</nowiki>
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9843 <nowiki>Specced behavior for document.write("<link rel=stylesheet href=...><script>...</script>...") matches none of the top 4 engines</nowiki>
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9910 <nowiki><basefont>  and <bgsound> should not break out of 'in head', should be treated as a void elements within <head></nowiki>
 
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9910 <nowiki><basefont>  and <bgsound> should not break out of 'in head', should be treated as a void elements within <head></nowiki>
 +
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9983 Insertion point not saved for external scripts
 +
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9984 Insertion point for script@onload doesn't match Firefox
 +
* http://www.w3.org/Bugs/Public/show_bug.cgi?id=9985 How to parse </foo </bar>
  
 
== Possible other issues ==
 
== Possible other issues ==

Revision as of 21:55, 22 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.
  • Having -- > terminate comments breaks CNN Money https://bugzilla.mozilla.org/show_bug.cgi?id=570309