← back to v150 · parse-processing-instructions-in-html
conformance · v150
v150 · parse-processing-instructions-in-html — conformance probe
9 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
9
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
innerhtml-creates-processing-instruction |
The HTML fragment parser creates a ProcessingInstruction node for allowed <?target data?> syntax. spec ↗ | script | … | |
target-and-data-roundtrip |
The PI target and data are preserved when HTML markup is parsed. spec ↗ | script | … | |
target-is-ascii-lowercased |
HTML PI targets are ASCII-lowercased by the parser. spec ↗ | script | … | |
domparser-text-html-creates-pi |
DOMParser with text/html also exposes allowed processing instructions as PI nodes. spec ↗ | script | … | |
xml-target-remains-comment |
The block-listed <?xml ...?> target is not converted into a ProcessingInstruction node by the HTML parser. spec ↗ | script | … | |
xml-stylesheet-target-remains-comment |
The block-listed <?xml-stylesheet ...?> target remains a comment in HTML parsing. spec ↗ | script | … | |
invalid-target-remains-comment |
Invalid PI targets such as those starting with a digit are not exposed as ProcessingInstruction nodes. spec ↗ | script | … | |
streaming-use-case-route-serves-pis |
The streaming-use-case live route serves text/html containing literal processing-instruction syntax across the response. spec ↗ | script | … | |
live-streamed-document-preserves-pis |
A same-origin streamed document exposes its parsed processing instructions through TreeWalker. spec ↗ | script | … |