html5lib Parser Test

Summary

Harness status: OK

Found 24 tests

Details

ResultTest NameMessage
Passhtml5lib_html5test-com.html 71bd5e6b9e907e65295b6d670627e0da4a8a65ed
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <div<div>", "#document\n| <html>\n|   <head>\n|   <body>\n|     <div<div>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 32cd504d36a6db3584b716b3681ab4b0741423b3
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       foo<bar=\"\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       foo<bar=\"\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html f0bf0506a2d3e5ca4aa5f14a1f260e405882827e
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       foo=\"`bar`\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       foo=\"`bar`\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 666a215d91c4e83d99f4be4caebb67fd65569480
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       \\\"foo=\"\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <div>\n|       \\\"foo=\"\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html fd2cd459bdc79db754b24bc537758990d392b1fc
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <a>\n|       href=\"\\nbar\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <a>\n|       href=\"\\nbar\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 86be28614bf72e24c162d865c04d687447098867
Asserts run
Pass
assert_equals("#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>", "#document\n| <!DOCTYPE html>\n| <html>\n|   <head>\n|   <body>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html be72b058e5be0f6aef2c442d83c92c0d251fcb7f
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"⟨⟩\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"⟨⟩\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html ab6e31cf52c8d57d6dfdcaf7165f1abf7bd5e73d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"'\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"'\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 11240d9b03b14eb515d6a1d1595c5a409830ea38
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"ⅈ\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"ⅈ\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 809c1bebcded8f43981af902442ff8a2db5d2578
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"𝕂\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"𝕂\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html bcbeb84f40e56a642b794d514e97e3ec303d4a79
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"∉\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"∉\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 1cbb987dd0a35af3a5b2e4fc11eba36a60eba03d
Asserts run
Pass
assert_equals("#document\n| <!-- ?import namespace=\"foo\" implementation=\"#bar\" -->\n| <html>\n|   <head>\n|   <body>", "#document\n| <!-- ?import namespace=\"foo\" implementation=\"#bar\" -->\n| <html>\n|   <head>\n|   <body>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 5b5e75eca2f5c80e1c4d5676254b9891090e288e
Asserts run
Pass
assert_equals("#document\n| <!-- foo--bar -->\n| <html>\n|   <head>\n|   <body>", "#document\n| <!-- foo--bar -->\n| <html>\n|   <head>\n|   <body>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 93e966e2edad3297ecb159f3983bdd2dc84f829e
Asserts run
Pass
assert_equals("#document\n| <!-- [CDATA[x]] -->\n| <html>\n|   <head>\n|   <body>", "#document\n| <!-- [CDATA[x]] -->\n| <html>\n|   <head>\n|   <body>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 7a02a2d7ab875dbeedc9a34c6c27b6119bd6d1f0
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <textarea>\n|       \"<!--\"\n|     \"-->\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <textarea>\n|       \"<!--\"\n|     \"-->\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 46615acdb9dd6231e2a65fed5bcce7e19f086d03
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <textarea>\n|       \"<!--\"\n|     \"-->\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <textarea>\n|       \"<!--\"\n|     \"-->\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 381de12234a699cbfb775b3ca7c679f357e7403e
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|     <style>\n|       \"<!--\"\n|   <body>\n|     \"-->\"", "#document\n| <html>\n|   <head>\n|     <style>\n|       \"<!--\"\n|   <body>\n|     \"-->\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 72736fc894b2077928559cc4284a102635cac898
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|     <style>\n|       \"<!--\"\n|   <body>\n|     \"-->\"", "#document\n| <html>\n|   <head>\n|     <style>\n|       \"<!--\"\n|   <body>\n|     \"-->\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 290d5e7fa9684038411e78c4b0e0ade83150eeea
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <ul>\n|       <li>\n|         \"A \"\n|       \" \"\n|       <li>\n|         \"B\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <ul>\n|       <li>\n|         \"A \"\n|       \" \"\n|       <li>\n|         \"B\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html a5fb9cf46ed215a61d073ae4b7e7477ba49fa5d8
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <input>\n|     <div>\n|     <table>\n|       <form>\n|       <input>\n|         type=\"hidden\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <input>\n|     <div>\n|     <table>\n|       <form>\n|       <input>\n|         type=\"hidden\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 88dea19243733a9bda26c6f5290d2c4f5bbac157
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <i>\n|       \"A\"\n|       <b>\n|         \"B\"\n|     <b>\n|     <p>\n|       <b>\n|         <i>\n|         \"C\"\n|       \"D\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     <i>\n|       \"A\"\n|       <b>\n|         \"B\"\n|     <b>\n|     <p>\n|       <b>\n|         <i>\n|         \"C\"\n|       \"D\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 9906bb30ae08654f4c67bf6d97040abbca91082d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <div>", "#document\n| <html>\n|   <head>\n|   <body>\n|     <div>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html c6cd25ce02329e4a42b9be9ba35453532fec7599
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <svg svg>", "#document\n| <html>\n|   <head>\n|   <body>\n|     <svg svg>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_html5test-com.html 81af3f9d6ccc2a1a1a58ace18dd530c544675610
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     <math math>", "#document\n| <html>\n|   <head>\n|   <body>\n|     <math math>")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)