Files
sousa-gecko/testing/web-platform/tests/html/syntax/parsing/resources/search-element.dat
T
Anne van Kesteren fd5131faea Bug 2040688 [wpt PR 59976] - HTML: use JS harness for html5lib tests so we can use .dat files directly, a=testonly
Automatic update from web-platform-tests
HTML: use JS harness for html5lib tests so we can use .dat files directly

Also fix a mess in WebVTT due to e7c5d8babd which didn't update the .dat file and instead percent-encoded manually.

First step towards #27868.
--

wpt-commits: 31d1feb70e2d02f25ae26254caba19c8de0b56e0
wpt-pr: 59976
2026-06-04 07:41:01 +00:00

47 lines
741 B
Plaintext

#data
<!doctype html><p>foo<search>bar<p>baz
#errors
(1,38): expected-closing-tag-but-got-eof
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <p>
| "foo"
| <search>
| "bar"
| <p>
| "baz"
#data
<!doctype html><search><p>foo</search>bar
#errors
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <search>
| <p>
| "foo"
| "bar"
#data
<!DOCTYPE html>xxx<svg><x><g><a><search><b>
#errors
* (1,44) unexpected HTML-like start tag token in foreign content
* (1,44) unexpected end of file
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| "xxx"
| <svg svg>
| <svg x>
| <svg g>
| <svg a>
| <svg search>
| <b>