Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #data
  2. <!DOCTYPE html><body></body>
  3.  
  4. #errors
  5. #comments
  6. Space characters in "after body" should be appended to the body node.
  7. #document
  8. | <!DOCTYPE html>
  9. | <html>
  10. |   <head>
  11. |   <body>
  12. |     "
  13. "
  14.  
  15. #data
  16. <!DOCTYPE html><body></body><!--x-->
  17. #errors
  18. #comments
  19. Comment tokens in "after body" should be appended to the "html" element.
  20. #document
  21. | <!DOCTYPE html>
  22. | <html>
  23. |   <head>
  24. |   <body>
  25. |   <!-- x -->
  26.  
  27. #data
  28. <!DOCTYPE html><body></body><!DOCTYPE html>
  29. #errors
  30. Unexpected DOCTYPE declaration.
  31. #comments
  32. DOCTYPE tokens in "after body" should be ignored.
  33. #document
  34. | <!DOCTYPE html>
  35. | <html>
  36. |   <head>
  37. |   <body>
  38.  
  39. #data
  40. <!DOCTYPE html><body></body><html>
  41. #errors
  42. Second "html" element not allowed.
  43. #comments
  44. "html" elements in "after body" should be handled like in body and ignored.
  45. #document
  46. | <!DOCTYPE html>
  47. | <html>
  48. |   <head>
  49. |   <body>
  50.  
  51. #data
  52. <!DOCTYPE html><body></body><html bgcolor="red">
  53. #errors
  54. Second "html" element not allowed.
  55. #comments
  56. "html" elements in "after body" should be handled like in body and ignored,
  57. but extra attributes should be added to the root "html" element.
  58. #document
  59. | <!DOCTYPE html>
  60. | <html>
  61. |   bgcolor="red"
  62. |   <head>
  63. |   <body>
  64.  
  65. #data
  66. <!DOCTYPE html><body></body></html>
  67. #errors
  68. #comments
  69. End "html" tag should not result in parse error.
  70. #document
  71. | <!DOCTYPE html>
  72. | <html>
  73. |   <head>
  74. |   <body>
  75.  
  76. #data
  77. <!DOCTYPE html><body></body>
  78. #errors
  79. #comments
  80. EOF should not result in parse error.
  81. #document
  82. | <!DOCTYPE html>
  83. | <html>
  84. |   <head>
  85. |   <body>
  86.  
  87. #data
  88. <!DOCTYPE html><body></body>xx
  89. #errors
  90. Content after end "body" tag.
  91. #comments
  92. Non-whitespace character tokens should raise parse error, and be processed
  93. as "in body".
  94. #document
  95. | <!DOCTYPE html>
  96. | <html>
  97. |   <head>
  98. |   <body>
  99. |     "xx"
  100.  
  101. #data
  102. <!DOCTYPE html><body></body><p>
  103. #errors
  104. Start tag after end "body" tag.
  105. #comments
  106. Non-html start tags should switch insertion mode to "in body" and processed
  107. appropriately.
  108. #document
  109. | <!DOCTYPE html>
  110. | <html>
  111. |   <head>
  112. |   <body>
  113. |     <p>
  114.  
  115. #data
  116. <!DOCTYPE html><body></body></dd>
  117. #errors
  118. End tag after end "body" tag.
  119. End tag does not match any opened elements.
  120. #comments
  121. Non-html end tags should switch insertion mode to "in body" and processed
  122. appropriately.
  123. #document
  124. | <!DOCTYPE html>
  125. | <html>
  126. |   <head>
  127. |   <body>
  128.  
  129. #data
  130.