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 "New Vocabularies Solution"

From WHATWG Wiki
Jump to: navigation, search
(New page: resetting appropriately: * if current node is in the mathml namespace and is one of <mi>, <mo>, <mn>, <ms>, <mtext>, "in math content" * if current node is in the mathml namespace, "in mat...)
 
Line 5: Line 5:
  
 
"in body":
 
"in body":
  "math" element - switch to "in math"
+
* "math" element - switch to "in math"
  "svg" element - switch to "in svg"
+
* "svg" element - switch to "in svg"
  
 
"in math":
 
"in math":

Revision as of 06:42, 3 April 2008

resetting appropriately:

  • if current node is in the mathml namespace and is one of <mi>, <mo>, <mn>, <ms>, <mtext>, "in math content"
  • if current node is in the mathml namespace, "in math"
  • if current node is in the svg namespace, "in svg"

"in body":

  • "math" element - switch to "in math"
  • "svg" element - switch to "in svg"

"in math":

  • comment
    1. insert comment
  • doctype
    1. parse error
  • text:
  • start tag for: <mglyph>
    1. imply <mtext>
    2. reprocess
  • start tag for:<mspace>, <maligngroup>, <malignmark>
    1. insert element for token, assume void element


"in math content":

  • start tag for: <malignmark>
    1. insert element for token, assume void element
  • otherwise:
    1. treat as "in body"