mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibWeb: Preserve attributes in "reconstruct active formatting elements"
25 new passes in WPT/html/syntax/parsing/ :^)
This commit is contained in:
parent
7549f6842f
commit
0c0fe09e70
Notes:
github-actions[bot]
2025-02-20 13:33:31 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/0c0fe09e708 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3626 Reviewed-by: https://github.com/shannonbooth
15 changed files with 49 additions and 47 deletions
|
@ -1457,6 +1457,9 @@ Create:
|
|||
|
||||
// FIXME: Hold on to the real token!
|
||||
auto new_element = insert_html_element(HTMLToken::make_start_tag(entry->element->local_name()));
|
||||
entry->element->for_each_attribute([&](auto& name, auto& value) {
|
||||
new_element->append_attribute(name, value);
|
||||
});
|
||||
|
||||
// 9. Replace the entry for entry in the list with an entry for new element.
|
||||
m_list_of_active_formatting_elements.entries().at(index).element = new_element;
|
||||
|
|
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 17 tests
|
||||
|
||||
15 Pass
|
||||
2 Fail
|
||||
16 Pass
|
||||
1 Fail
|
||||
Pass html5lib_adoption01.html dab5eca760a630bc57719d678d789dd1ca74f492
|
||||
Pass html5lib_adoption01.html a3a46907dc73b7be1e1171f797a9f696b7fb185b
|
||||
Pass html5lib_adoption01.html b720cd1d95283d6288e7ca17142540b10ef8f847
|
||||
|
@ -13,7 +13,7 @@ Pass html5lib_adoption01.html c129fce97933067558d7833632ad7ef2d149616e
|
|||
Pass html5lib_adoption01.html 39a3ec04f54cda2bf1e06c54caf0b302da4fd252
|
||||
Pass html5lib_adoption01.html d0bdfe6be48309b2d01b497667b350a8e6ec8ffb
|
||||
Pass html5lib_adoption01.html 63401082c6afd4b3c3201e348a1a61722f167b21
|
||||
Fail html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 4dc0665051dac0d72c71aba5c95c5b86437dea2c
|
||||
Pass html5lib_adoption01.html 4f376c0a798e71a91065e215dc0175d3107d5208
|
||||
Pass html5lib_adoption01.html 52b62611a847a3f5fc3dc607a6b0174f1697247c
|
||||
|
|
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 17 tests
|
||||
|
||||
15 Pass
|
||||
2 Fail
|
||||
16 Pass
|
||||
1 Fail
|
||||
Pass html5lib_adoption01.html dab5eca760a630bc57719d678d789dd1ca74f492
|
||||
Pass html5lib_adoption01.html a3a46907dc73b7be1e1171f797a9f696b7fb185b
|
||||
Pass html5lib_adoption01.html b720cd1d95283d6288e7ca17142540b10ef8f847
|
||||
|
@ -13,7 +13,7 @@ Pass html5lib_adoption01.html c129fce97933067558d7833632ad7ef2d149616e
|
|||
Pass html5lib_adoption01.html 39a3ec04f54cda2bf1e06c54caf0b302da4fd252
|
||||
Pass html5lib_adoption01.html d0bdfe6be48309b2d01b497667b350a8e6ec8ffb
|
||||
Pass html5lib_adoption01.html 63401082c6afd4b3c3201e348a1a61722f167b21
|
||||
Fail html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 4dc0665051dac0d72c71aba5c95c5b86437dea2c
|
||||
Pass html5lib_adoption01.html 4f376c0a798e71a91065e215dc0175d3107d5208
|
||||
Pass html5lib_adoption01.html 52b62611a847a3f5fc3dc607a6b0174f1697247c
|
||||
|
|
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 17 tests
|
||||
|
||||
15 Pass
|
||||
2 Fail
|
||||
16 Pass
|
||||
1 Fail
|
||||
Pass html5lib_adoption01.html dab5eca760a630bc57719d678d789dd1ca74f492
|
||||
Pass html5lib_adoption01.html a3a46907dc73b7be1e1171f797a9f696b7fb185b
|
||||
Pass html5lib_adoption01.html b720cd1d95283d6288e7ca17142540b10ef8f847
|
||||
|
@ -13,7 +13,7 @@ Pass html5lib_adoption01.html c129fce97933067558d7833632ad7ef2d149616e
|
|||
Pass html5lib_adoption01.html 39a3ec04f54cda2bf1e06c54caf0b302da4fd252
|
||||
Pass html5lib_adoption01.html d0bdfe6be48309b2d01b497667b350a8e6ec8ffb
|
||||
Pass html5lib_adoption01.html 63401082c6afd4b3c3201e348a1a61722f167b21
|
||||
Fail html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 883cfd89f63da854dffbfbc938da1f31887a55e5
|
||||
Pass html5lib_adoption01.html 4dc0665051dac0d72c71aba5c95c5b86437dea2c
|
||||
Pass html5lib_adoption01.html 4f376c0a798e71a91065e215dc0175d3107d5208
|
||||
Pass html5lib_adoption01.html 52b62611a847a3f5fc3dc607a6b0174f1697247c
|
||||
|
|
|
@ -2,8 +2,7 @@ Harness status: OK
|
|||
|
||||
Found 112 tests
|
||||
|
||||
110 Pass
|
||||
2 Fail
|
||||
112 Pass
|
||||
Pass html5lib_tests1.html 4235382bf15f93f7dd1096832ae74cc71edef4d7
|
||||
Pass html5lib_tests1.html ad8515e9db0abd26469d0d2e46b42cebf606d4f3
|
||||
Pass html5lib_tests1.html 2433aa5c088d78da9e7824e499f639177f56625d
|
||||
|
@ -81,9 +80,9 @@ Pass html5lib_tests1.html 4177a74406cf1c048d2d6d6bcf774445f55ba517
|
|||
Pass html5lib_tests1.html fc188652d9f486174b21d1919f35ea8c13636ca1
|
||||
Pass html5lib_tests1.html c10f83cc69763e42964e08ddb976a1bd27b51e2f
|
||||
Pass html5lib_tests1.html 64452c62ced87bd3cd8fd88df33a33d5531818d6
|
||||
Fail html5lib_tests1.html 96dc04673021ad113df40397113df972f090c1f6
|
||||
Pass html5lib_tests1.html 96dc04673021ad113df40397113df972f090c1f6
|
||||
Pass html5lib_tests1.html 26b7eb0b18d9cd0a69d19c7f6ee9f12c2d0b2783
|
||||
Fail html5lib_tests1.html f8d500cd7089942814fa0751c75bd37e63790685
|
||||
Pass html5lib_tests1.html f8d500cd7089942814fa0751c75bd37e63790685
|
||||
Pass html5lib_tests1.html 3b386c205ec767f842e63491d14ec90192f562dd
|
||||
Pass html5lib_tests1.html ca8ecc666a82d1f2f48a095d42d9f95700e015bd
|
||||
Pass html5lib_tests1.html 6727ab7c4240bf05f0a5d9ca4b384ca8d61e2d4f
|
||||
|
|
|
@ -2,8 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 112 tests
|
||||
|
||||
109 Pass
|
||||
3 Fail
|
||||
111 Pass
|
||||
1 Fail
|
||||
Pass html5lib_tests1.html 4235382bf15f93f7dd1096832ae74cc71edef4d7
|
||||
Pass html5lib_tests1.html ad8515e9db0abd26469d0d2e46b42cebf606d4f3
|
||||
Pass html5lib_tests1.html 2433aa5c088d78da9e7824e499f639177f56625d
|
||||
|
@ -81,9 +81,9 @@ Pass html5lib_tests1.html 4177a74406cf1c048d2d6d6bcf774445f55ba517
|
|||
Pass html5lib_tests1.html fc188652d9f486174b21d1919f35ea8c13636ca1
|
||||
Pass html5lib_tests1.html c10f83cc69763e42964e08ddb976a1bd27b51e2f
|
||||
Pass html5lib_tests1.html 64452c62ced87bd3cd8fd88df33a33d5531818d6
|
||||
Fail html5lib_tests1.html 96dc04673021ad113df40397113df972f090c1f6
|
||||
Pass html5lib_tests1.html 96dc04673021ad113df40397113df972f090c1f6
|
||||
Pass html5lib_tests1.html 26b7eb0b18d9cd0a69d19c7f6ee9f12c2d0b2783
|
||||
Fail html5lib_tests1.html f8d500cd7089942814fa0751c75bd37e63790685
|
||||
Pass html5lib_tests1.html f8d500cd7089942814fa0751c75bd37e63790685
|
||||
Pass html5lib_tests1.html 3b386c205ec767f842e63491d14ec90192f562dd
|
||||
Pass html5lib_tests1.html ca8ecc666a82d1f2f48a095d42d9f95700e015bd
|
||||
Pass html5lib_tests1.html 6727ab7c4240bf05f0a5d9ca4b384ca8d61e2d4f
|
||||
|
|
|
@ -2,9 +2,10 @@ Harness status: OK
|
|||
|
||||
Found 5 tests
|
||||
|
||||
5 Fail
|
||||
2 Pass
|
||||
3 Fail
|
||||
Fail html5lib_tests23.html 79c0dc8da653d983d07795852b5f38d1533ff404
|
||||
Fail html5lib_tests23.html 403404388390abddf3fb44db8dd7d643652f5df9
|
||||
Fail html5lib_tests23.html b9a81ae44ab81719fc6a4e3b6460fc6efc684e65
|
||||
Fail html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Fail html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
||||
Pass html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Pass html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
|
@ -2,9 +2,10 @@ Harness status: OK
|
|||
|
||||
Found 5 tests
|
||||
|
||||
5 Fail
|
||||
2 Pass
|
||||
3 Fail
|
||||
Fail html5lib_tests23.html 79c0dc8da653d983d07795852b5f38d1533ff404
|
||||
Fail html5lib_tests23.html 403404388390abddf3fb44db8dd7d643652f5df9
|
||||
Fail html5lib_tests23.html b9a81ae44ab81719fc6a4e3b6460fc6efc684e65
|
||||
Fail html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Fail html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
||||
Pass html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Pass html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
|
@ -2,9 +2,10 @@ Harness status: OK
|
|||
|
||||
Found 5 tests
|
||||
|
||||
5 Fail
|
||||
2 Pass
|
||||
3 Fail
|
||||
Fail html5lib_tests23.html 79c0dc8da653d983d07795852b5f38d1533ff404
|
||||
Fail html5lib_tests23.html 403404388390abddf3fb44db8dd7d643652f5df9
|
||||
Fail html5lib_tests23.html b9a81ae44ab81719fc6a4e3b6460fc6efc684e65
|
||||
Fail html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Fail html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
||||
Pass html5lib_tests23.html d271d3662baafff4893d32b250cadcf4c2ff3352
|
||||
Pass html5lib_tests23.html f8e296b2f362a64c1c464bedd6248e314f41c701
|
|
@ -2,9 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 20 tests
|
||||
|
||||
18 Pass
|
||||
2 Fail
|
||||
Fail html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
20 Pass
|
||||
Pass html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
Pass html5lib_tests26.html 5e4fff339b6d191d80311bfa258a9b62e063c6aa
|
||||
Pass html5lib_tests26.html 8695403efa4e413a1ad1f99984a8c0ecba379698
|
||||
Pass html5lib_tests26.html c3aa0a4f4e81fa4a2fd398c7a7a090d2c3f955f4
|
||||
|
@ -13,7 +12,7 @@ Pass html5lib_tests26.html 3dacba9a76b8c454b42b9868252bbb6b68327184
|
|||
Pass html5lib_tests26.html 8f1c4c0f0eee7b8136934ee18bd3beffbc7f2fe0
|
||||
Pass html5lib_tests26.html 7369c472433b6dd76585b797fd3708e474601ecc
|
||||
Pass html5lib_tests26.html c085683feffd9da64f8782545042884173a1d1e3
|
||||
Fail html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html 9d63346ca23dc3ee41e29fe7d8403934bce8c610
|
||||
Pass html5lib_tests26.html 8434eb9c0c3daf656b3158f5955d07e39ddc6444
|
||||
Pass html5lib_tests26.html 6c95a99290e309b638b958272686a21486fa561e
|
||||
|
|
|
@ -2,9 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 20 tests
|
||||
|
||||
18 Pass
|
||||
2 Fail
|
||||
Fail html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
20 Pass
|
||||
Pass html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
Pass html5lib_tests26.html 5e4fff339b6d191d80311bfa258a9b62e063c6aa
|
||||
Pass html5lib_tests26.html 8695403efa4e413a1ad1f99984a8c0ecba379698
|
||||
Pass html5lib_tests26.html c3aa0a4f4e81fa4a2fd398c7a7a090d2c3f955f4
|
||||
|
@ -13,7 +12,7 @@ Pass html5lib_tests26.html 3dacba9a76b8c454b42b9868252bbb6b68327184
|
|||
Pass html5lib_tests26.html 8f1c4c0f0eee7b8136934ee18bd3beffbc7f2fe0
|
||||
Pass html5lib_tests26.html 7369c472433b6dd76585b797fd3708e474601ecc
|
||||
Pass html5lib_tests26.html c085683feffd9da64f8782545042884173a1d1e3
|
||||
Fail html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html 9d63346ca23dc3ee41e29fe7d8403934bce8c610
|
||||
Pass html5lib_tests26.html 8434eb9c0c3daf656b3158f5955d07e39ddc6444
|
||||
Pass html5lib_tests26.html 6c95a99290e309b638b958272686a21486fa561e
|
||||
|
|
|
@ -2,9 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 20 tests
|
||||
|
||||
18 Pass
|
||||
2 Fail
|
||||
Fail html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
20 Pass
|
||||
Pass html5lib_tests26.html 6232bd8c710002d3b3c375903a712d05163a821d
|
||||
Pass html5lib_tests26.html 5e4fff339b6d191d80311bfa258a9b62e063c6aa
|
||||
Pass html5lib_tests26.html 8695403efa4e413a1ad1f99984a8c0ecba379698
|
||||
Pass html5lib_tests26.html c3aa0a4f4e81fa4a2fd398c7a7a090d2c3f955f4
|
||||
|
@ -13,7 +12,7 @@ Pass html5lib_tests26.html 3dacba9a76b8c454b42b9868252bbb6b68327184
|
|||
Pass html5lib_tests26.html 8f1c4c0f0eee7b8136934ee18bd3beffbc7f2fe0
|
||||
Pass html5lib_tests26.html 7369c472433b6dd76585b797fd3708e474601ecc
|
||||
Pass html5lib_tests26.html c085683feffd9da64f8782545042884173a1d1e3
|
||||
Fail html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html be84971ac4a451e91099d225d0315dd17a88b830
|
||||
Pass html5lib_tests26.html 9d63346ca23dc3ee41e29fe7d8403934bce8c610
|
||||
Pass html5lib_tests26.html 8434eb9c0c3daf656b3158f5955d07e39ddc6444
|
||||
Pass html5lib_tests26.html 6c95a99290e309b638b958272686a21486fa561e
|
||||
|
|
|
@ -2,11 +2,11 @@ Harness status: OK
|
|||
|
||||
Found 9 tests
|
||||
|
||||
7 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
1 Fail
|
||||
Pass html5lib_tricky01.html 06f0a6904729cd6a3ab91f3121c0b0eb54ee04d2
|
||||
Fail html5lib_tricky01.html c99581b7d1d8c1cd421054891981c3fe8267e83c
|
||||
Fail html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 9e40dd21a29521d60a43cb016f4100501ea26ec8
|
||||
Pass html5lib_tricky01.html 23bed40fe77c77e3119528d9f77e041eeb77eebb
|
||||
Pass html5lib_tricky01.html eced3856a69153ad0408470634ee37c284670bcf
|
||||
|
|
|
@ -2,11 +2,11 @@ Harness status: OK
|
|||
|
||||
Found 9 tests
|
||||
|
||||
7 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
1 Fail
|
||||
Pass html5lib_tricky01.html 06f0a6904729cd6a3ab91f3121c0b0eb54ee04d2
|
||||
Fail html5lib_tricky01.html c99581b7d1d8c1cd421054891981c3fe8267e83c
|
||||
Fail html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 9e40dd21a29521d60a43cb016f4100501ea26ec8
|
||||
Pass html5lib_tricky01.html 23bed40fe77c77e3119528d9f77e041eeb77eebb
|
||||
Pass html5lib_tricky01.html eced3856a69153ad0408470634ee37c284670bcf
|
||||
|
|
|
@ -2,11 +2,11 @@ Harness status: OK
|
|||
|
||||
Found 9 tests
|
||||
|
||||
7 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
1 Fail
|
||||
Pass html5lib_tricky01.html 06f0a6904729cd6a3ab91f3121c0b0eb54ee04d2
|
||||
Fail html5lib_tricky01.html c99581b7d1d8c1cd421054891981c3fe8267e83c
|
||||
Fail html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 09ba1d973acb46344442ea1e77a37de8736ce6e7
|
||||
Pass html5lib_tricky01.html 9e40dd21a29521d60a43cb016f4100501ea26ec8
|
||||
Pass html5lib_tricky01.html 23bed40fe77c77e3119528d9f77e041eeb77eebb
|
||||
Pass html5lib_tricky01.html eced3856a69153ad0408470634ee37c284670bcf
|
||||
|
|
Loading…
Add table
Reference in a new issue