Skip to content

Add tree construction tests for void elements inside phrasing containers #84

Add tree construction tests for void elements inside phrasing containers

Add tree construction tests for void elements inside phrasing containers #84

Triggered via pull request March 16, 2026 00:41
Status Failure
Total duration 1m 2s
Artifacts

downstream.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 7 warnings
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 33.tests7 - `<select><keygen>` (line 443): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <keygen> Actual: ----------------- | <html> | <head> | <body> | <select> | <keygen> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 14.tests18 - `<!doctype html><table><select><plaintext>a<caption>b` (line 240): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <plaintext> | "a<caption>b" | <table> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "a" | <table> | <caption> | "b" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 13.tests18 - `<!doctype html><select><plaintext></plaintext>X` (line 227): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <plaintext> | "</plaintext>X" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "X" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 17.tests10 - `<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux` (line 284): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <svg svg> | <svg g> | "foo" | <svg g> | "bar" | <p> | "baz" | <table> | <p> | "quux" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | "foobarbaz" | <table> | <p> | "quux" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 16.tests10 - `<!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux` (line 259): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <table> | <tbody> | <tr> | <td> | <select> | <svg svg> | <svg g> | "foo" | <svg g> | "bar" | <p> | "baz" | <p> | "quux" Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <table> | <tbody> | <tr> | <td> | <select> | "foobarbaz" | <p> | "quux" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 4.tests10 - `<!DOCTYPE html><body><select><option><svg></svg></option></select>` (line 46): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <option> | <svg svg> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <option> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 3.tests10 - `<!DOCTYPE html><body><select><svg></svg></select>` (line 35): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <svg svg> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 99.tests1 - `<select><b><option><select><option></b></select>` (line 1533): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <b> | <option> | <b> | <option> Actual: ----------------- | <html> | <head> | <body> | <select> | <option> | <option> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 29.tests1 - `<select><b><option><select><option></b></select>X` (line 355): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <html> | <head> | <body> | <select> | <b> | <option> | <b> | <option> | "X" Actual: ----------------- | <html> | <head> | <body> | <select> | <option> | <option> | "X" : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
[parse5] lib/parser/index.test.ts > parser upstream > Tree adapter: default > Parser(tree-construction) - 13.menuitem-element - `<!DOCTYPE html><select><menuitem></select>` (line 161): test/utils/generate-parsing-tests.ts#L110
AssertionError: Expected: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> | <menuitem> Actual: ----------------- | <!DOCTYPE html> | <html> | <head> | <body> | <select> : expected false to be truthy ❯ ../../test/utils/generate-parsing-tests.ts:110:20
nokogiri
Process completed with exit code 1.
parse5
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2, actions/setup-node@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
html5gum
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions-rs/toolchain@v1, actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
html5gum
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
nokogiri
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/