Security:Strawman Model: Difference between revisions

Jump to navigation Jump to search
Line 65: Line 65:


Markup ::= < tagname />
Markup ::= < tagname />
         | < tagname > Content </ tagname >
          <i>doc.appendChild(new Node(tagname))</i>
         | < tagname >
            <i>doc.pushChild(new Node(tagname))</i>
            Content
            <i>doc.setChildren(Content)</i>
          </ tagname >
          <i>doc.popChild()</i>
         | < 'button' 'onclick' '=' string > text </ 'button' >
         | < 'button' 'onclick' '=' string > text </ 'button' >
          <i>doc.appendChild(new Button(string, text))</i>
         | < 'iframe' 'src' '=' string />
         | < 'iframe' 'src' '=' string />
          <i>doc.appendChild(new IFrame(string))</i>
         | < 'script' > text </ 'script' >
         | < 'script' > text </ 'script' >
          <i>doc.appendChild(new Script(text)); eval(text)</i>
</pre>
</pre>
Confirmed users, Bureaucrats and Sysops emeriti
419

edits

Navigation menu