ladybird/Tests/LibWeb
Andreas Kling 193fc7ef98 LibWeb: Allow cloneNode() to clone elements with weird attributes
We can't rely on Element.setAttribute() in cloneNode() since that will
throw on weird attribute names. Instead, just follow the spec and copy
attributes into cloned elements verbatim.

This fixes a crash when loading the "issues" tab on GitHub repos.
They are actually sending us unintentionally broken markup, but we
should still support cloning it. :^)
2024-04-21 19:51:24 +02:00
..
Layout LibWeb: Fix height distribution in "vertical-align: baseline" in TFC 2024-04-19 10:55:28 +02:00
Ref LibWeb: Default to an empty string when a string attr substitution fails 2024-04-17 07:13:26 +02:00
Text LibWeb: Allow cloneNode() to clone elements with weird attributes 2024-04-21 19:51:24 +02:00
WPT Meta: Do not place headless-browser and WebDriver in libexec 2024-03-16 19:44:40 -04:00
add_libweb_test.py Tests/LibWeb: Add a script to create a new test, starting with Text 2024-04-10 17:17:40 -06:00
CMakeLists.txt LibWeb: Return the correct substring when parsing an HTTP quoted string 2024-03-26 19:19:13 +00:00
rebaseline-libweb-test Tests/LibWeb: Fix rebaseline-libweb-test after RequestServer changes 2024-04-19 10:53:20 +02:00
TestConfig.ini LibWeb: Enable all of the skipped animation tests 2024-03-28 21:08:32 +01:00
TestCSSIDSpeed.cpp LibWeb: Make value_id_from_string() return Optional 2023-05-25 06:36:10 +02:00
TestCSSPixels.cpp LibWeb: Remove rounding division for CSSPixels 2024-01-06 21:40:27 +01:00
TestFetchInfrastructure.cpp LibWeb: Return the correct substring when parsing an HTTP quoted string 2024-03-26 19:19:13 +00:00
TestFetchURL.cpp LibURL+LibWeb: Move data URL processing to LibWeb's fetch infrastructure 2024-03-25 08:13:27 +01:00
TestHTMLTokenizer.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
TestMicrosyntax.cpp LibWeb: Add test for week_number_of_the_last_day microsyntax 2023-12-11 14:04:27 -07:00
TestMimeSniff.cpp LibWeb/MimeSniff: Add non-standard text or binary context sniffing 2024-02-02 14:34:17 -05:00
TestNumbers.cpp LibWeb: Implement spec-compliant integer parsing 2023-08-24 22:26:53 +01:00
tokenizer-test.html LibWeb: Fix assertion failure when tokenizing JS regex literals 2021-07-15 01:47:22 +02:00