mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-12 05:57:47 +03:00
support for SCRIPT and STYLE with help from Bjorn Reese - test/HTML/* result/HTML/*: added simple testcase and updated the existing ones. Daniel
33 lines
682 B
Plaintext
33 lines
682 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(head)
|
|
SAX.startElement(title)
|
|
SAX.characters(Script tests, 12)
|
|
SAX.endElement(title)
|
|
SAX.endElement(head)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(body)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(script, language='javascript')
|
|
SAX.cdata(
|
|
if (window.open<max) ;, 28)
|
|
SAX.endElement(script)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(input, onclick='if(window.open<max);')
|
|
SAX.endElement(input)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(body)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endDocument()
|