serenity/Tests/LibWeb
Sam Atkins d8dafd6b28 LibWeb: Check CanvasTextDrawingStyles.font assignment is valid
Checking that the string parsed for the `font` property is not enough,
the spec also wants to rule out CSS-wide keywords like `inherit`. The
simplest way to do so is to check if it's a ShorthandStyleValue, which
also rules out use of `var()`; this matches other browsers' behaviour.

The newly-added test would previously crash, and now doesn't. :^)

(cherry picked from commit 64d45afd8a650981d4dbab98aa49d47629568f5b)
2024-07-27 22:54:40 -04:00
..
Layout LibWeb: Implement :host and :host(<compound-selector>) selector matching 2024-07-27 22:53:52 -04:00
Ref LibWeb: Add more legacy -webkit- aliases 2024-07-23 21:15:27 -04:00
Text LibWeb: Check CanvasTextDrawingStyles.font assignment is valid 2024-07-27 22:54:40 -04:00
WPT WPT: Update test expectations to match current test results 2024-05-30 11:03:56 -06: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 Tests/LibWeb: Wait until document fully loaded before simulating click 2024-06-27 13:42:20 +02:00
TestCSSIDSpeed.cpp
TestCSSPixels.cpp
TestFetchInfrastructure.cpp LibWeb: Remove OOM propagation from Fetch::Infrastructure::HTTP 2024-04-27 07:08:14 +02:00
TestFetchURL.cpp LibWeb/Fetch: Use MimeType in DataURL 2024-06-02 19:55:53 +02:00
TestHTMLTokenizer.cpp
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Implement "minimize a supported MIME type" 2024-05-19 16:25:50 +02:00
TestNumbers.cpp
tokenizer-test.html