Skip to content

Commit ee782ac

Browse files
committed
adjust test cases
1 parent a1be531 commit ee782ac

File tree

1,672 files changed

+4773
-5091
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,672 files changed

+4773
-5091
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
(HTML
1+
(html
22
(head
33
)head
4-
(BODY
4+
(body
55
(a
66
(applet
77
)applet
88
)a
9-
)BODY
10-
)HTML
9+
)body
10+
)html
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<HTML><head></head><BODY><a><applet></applet></a></BODY></HTML>
1+
<html><head></head><body><a><applet></applet></a></body></html>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
startDocument [(1,1,0) (1,1,0) false]
2-
startElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
2+
startElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
33
startElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
44
endElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
5-
startElement (localpart="BODY",rawname="BODY",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
5+
startElement (localpart="body",rawname="body",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
66
startElement (localpart="a",rawname="a") [(1,1,0) (1,4,3) false]
77
startElement (localpart="applet",rawname="applet") [(1,4,3) (1,12,11) false]
88
endElement (localpart="applet",rawname="applet") [(1,12,11) (1,21,20) false]
99
endElement (localpart="a",rawname="a") [(1,21,20) (1,25,24) false]
1010
characters '
1111
'[(1,25,24) (2,1,25) false]
12-
endElement (localpart="BODY",rawname="BODY",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
13-
endElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
12+
endElement (localpart="body",rawname="body",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
13+
endElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
1414
endDocument [(2,1,25) (2,1,25) false]
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
(HTML
1+
(html
22
(head
33
)head
4-
(BODY
4+
(body
55
(a
66
(dd
77
)dd
88
)a
9-
)BODY
10-
)HTML
9+
)body
10+
)html
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<HTML><head></head><BODY><a><dd></dd></a></BODY></HTML>
1+
<html><head></head><body><a><dd></dd></a></body></html>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
startDocument [(1,1,0) (1,1,0) false]
2-
startElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
2+
startElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
33
startElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
44
endElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
5-
startElement (localpart="BODY",rawname="BODY",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
5+
startElement (localpart="body",rawname="body",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
66
startElement (localpart="a",rawname="a") [(1,1,0) (1,4,3) false]
77
startElement (localpart="dd",rawname="dd") [(1,4,3) (1,8,7) false]
88
endElement (localpart="dd",rawname="dd") [(1,8,7) (1,13,12) false]
99
endElement (localpart="a",rawname="a") [(1,13,12) (1,17,16) false]
1010
characters '
1111
'[(1,17,16) (2,1,17) false]
12-
endElement (localpart="BODY",rawname="BODY",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
13-
endElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
12+
endElement (localpart="body",rawname="body",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
13+
endElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
1414
endDocument [(2,1,17) (2,1,17) false]

src/test/resources/org/htmlunit/cyberneko/testfiles/a/test-a-content-div-content.html.canonical

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(HTML
1+
(html
22
(head
33
)head
44
(body
@@ -9,4 +9,4 @@
99
)div
1010
)a
1111
)body
12-
)HTML
12+
)html
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<HTML><head></head><body><a>target<div>content</div></a></body></HTML>
1+
<html><head></head><body><a>target<div>content</div></a></body></html>

src/test/resources/org/htmlunit/cyberneko/testfiles/a/test-a-content-div-content.html.canonical-xni

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
startDocument [(1,1,0) (1,1,0) false]
2-
startElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
2+
startElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
33
startElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
44
endElement (localpart="head",rawname="head",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
55
startElement (localpart="body",rawname="body") [(1,1,0) (1,7,6) false]
@@ -11,5 +11,5 @@ characters 'content
1111
endElement (localpart="div",rawname="div") [(-1,-1,-1) (-1,-1,-1) true]
1212
endElement (localpart="a",rawname="a") [(-1,-1,-1) (-1,-1,-1) true]
1313
endElement (localpart="body",rawname="body") [(-1,-1,-1) (-1,-1,-1) true]
14-
endElement (localpart="HTML",rawname="HTML",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
14+
endElement (localpart="html",rawname="html",uri="http://www.w3.org/1999/xhtml") [(-1,-1,-1) (-1,-1,-1) true]
1515
endDocument [(2,1,28) (2,1,28) false]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(HTML
1+
(html
22
(head
33
)head
44
(body
@@ -8,4 +8,4 @@
88
)div
99
)a
1010
)body
11-
)HTML
11+
)html

0 commit comments

Comments
 (0)