ladybird/Tests
sideshowbarker e76e48421f LibWeb: Add “valid floating-point number” for HTMLInputElement.value
This change adds checking for the following spec requirements:

- https://html.spec.whatwg.org/#number-state-(type=number):value-sanitization-algorithm
- https://html.spec.whatwg.org/#range-state-(type=range):value-sanitization-algorithm

That is, it adds checking that HTMLInputElement.value is what the spec
defines as a “valid floating-point number” when the “type” attribute for
the HTMLInputElement is either “number” or “range”.

This change causes Ladybird to pass all the failing tests at
https://wpt.fyi/results/html/semantics/forms/the-input-element/number.html?run_id=5080423051034624
and to match the relevant behavior in Webkit, Blink, and Gecko.

Otherwise, without this change, Ladybird fails those tests, and the
relevant Ladybird behavior isn’t interoperable with other engines.
2024-08-28 07:49:17 -04:00
..
AK Tests: Add test to verify CxxSequence protocol conformance of containers 2024-08-17 17:44:37 -06:00
ClangPlugins ClangPlugins: Add -Wno-unqualified-std-cast-call to test compile options 2024-08-26 17:24:53 -04:00
LibAudio Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCompress Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCore LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibCrypto LibCrypto: Move some data around earlier in GHash to make it go faster 2024-05-20 08:03:35 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibGfx LibGfx: Rename Painter => DeprecatedPainter 2024-08-20 09:30:05 +02:00
LibJS LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibMedia Tests: Do not install LibMedia test files 2024-07-25 13:25:09 -06:00
LibRegex LibRegex: Account for extra explicit And/Or in class parser assertion 2024-03-24 08:24:46 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Implement iso-2022-jp encoder 2024-08-08 17:49:58 +01:00
LibThreading LibThreading: ThreadPool deadlock test 2024-08-19 03:08:04 +02:00
LibTLS Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
LibTTF LibGfx/OpenType: Ensure Cmap subtable offset is within expected range 2023-11-11 22:20:17 +01:00
LibUnicode LibUnicode: Cache the system time zone 2024-08-25 09:47:42 +02:00
LibURL LibURL: Remove unspecified steps in URL file slash parsing state 2024-08-06 07:58:07 +01:00
LibWasm LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00
LibWeb LibWeb: Add “valid floating-point number” for HTMLInputElement.value 2024-08-28 07:49:17 -04:00
LibWebView LibWebView: Allow data URLs in sanitize_url 2024-06-24 06:31:17 -04:00
LibXML LibXML: Actually append resolved references when parsing content 2023-07-23 16:09:12 +02:00
CMakeLists.txt LibTimeZone: Remove LibTimeZone and TZDB data 2024-06-26 10:14:02 +02:00