Commit 92d1035
committed
add html5lib tests
Squashed commit of the following:
commit ce0f083
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Wed Jan 17 16:19:08 2024 +0100
Add skip for known bug - all tests passing or skipped
commit dcdc710
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Wed Jan 17 16:15:05 2024 +0100
Rename class and test function
commit 6a087d2
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Wed Jan 17 16:11:42 2024 +0100
Fixing more lints
commit 60d1738
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 22:44:52 2024 +0100
Clean up and refactor test document parsing
commit 2871f31
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 22:12:18 2024 +0100
Add attributes to html5lib tests
commit 429c506
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 15:08:26 2024 +0100
Fix lint
commit 36c94f7
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:37:06 2024 +0100
Skip head tests
commit 994b9d0
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:31:22 2024 +0100
Fix some comments
commit e1fbeb4
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:13:11 2024 +0100
Fix strlen paren bug
commit 84a61b1
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:09:38 2024 +0100
Fix lints
commit 315d5cd
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:09:31 2024 +0100
Mark unsupported markup tests as incomplete, not skipped
commit 6035fd7
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:06:10 2024 +0100
Skip incomplete token tests
commit 3772db6
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Jan 16 14:01:29 2024 +0100
Update ignores
commit f1b23b6
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Jan 15 21:35:50 2024 +0100
Fix HTML input processing
commit 1e01888
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Jan 15 19:05:22 2024 +0100
Use padded line number
Allows filetering like line0001 so not line1 line10 line11…
commit 48eb7b9
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Jan 15 18:31:27 2024 +0100
Use line numbers for test IDs
Line numbers are stable even if we skip tests
commit 91c6f73
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Fri Dec 22 17:38:19 2023 +0100
Avoid running tests that expect anything in <head>
commit e570196
Author: Dennis Snell <dennis.snell@automattic.com>
Date: Wed Dec 20 10:49:50 2023 -0600
Add extra skipped tests
commit d642bfb
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Wed Dec 20 13:22:07 2023 +0100
Fix expect/actual ordering, add test message
commit 12dcc69
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 20:20:26 2023 +0100
Move test data to test data dir
commit 138d21f
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 18:32:55 2023 +0100
Add ignores for formatting elements
commit 47d2f36
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 18:25:56 2023 +0100
Fix lint
commit 4c6a28b
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 18:16:09 2023 +0100
Add files crediting html5lib-tests project
commit f5afccb
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 18:06:37 2023 +0100
Add skipping of certain tests
commit 123ae09
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 15:30:03 2023 +0100
Remove space from test identifier, easier copy/paste filtering
commit d995e44
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 15:20:47 2023 +0100
Better tag finding
commit db5e68f
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 14:07:30 2023 +0100
Print nicer tests names
commit 257b871
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 13:59:21 2023 +0100
Skip doctype and comments in test dom tree
commit b31c921
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Tue Dec 19 13:58:57 2023 +0100
1-index test case numbering
commit 10dc753
Author: Dennis Snell <dennis.snell@automattic.com>
Date: Mon Dec 18 16:20:41 2023 -0600
WPCS Nags
commit 087e7bb
Author: Dennis Snell <dennis.snell@automattic.com>
Date: Mon Dec 18 15:57:53 2023 -0600
Add line number to test case label
commit 4f5ca93
Author: Dennis Snell <dennis.snell@automattic.com>
Date: Mon Dec 18 15:23:47 2023 -0600
Avoid WPCS lint nags; skip tests for unsupported input or fragment context.
commit 9faf91b
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Dec 18 21:38:12 2023 +0100
Skip unhandled tests
commit 077e082
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Dec 18 21:22:51 2023 +0100
fix lints
commit bf618ac
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Dec 18 21:18:04 2023 +0100
Move html5lib tests to new class
commit 1f89fbd
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Dec 18 21:13:49 2023 +0100
Remove git files from html5lib
commit ed2f784
Author: Jon Surrell <sirreal@users.noreply.github.com>
Date: Mon Dec 18 20:26:12 2023 +0100
Add test cases from html5lib-tests tree-construction1 parent 26c781e commit 92d1035
61 files changed
Lines changed: 24562 additions & 0 deletions
File tree
- tests/phpunit
- data/html5lib-tests
- tree-construction
- tests/html-api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 108 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments