mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
d8dafd6b28
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) |
||
---|---|---|
.. | ||
Layout | ||
Ref | ||
Text | ||
WPT | ||
add_libweb_test.py | ||
CMakeLists.txt | ||
rebaseline-libweb-test | ||
TestConfig.ini | ||
TestCSSIDSpeed.cpp | ||
TestCSSPixels.cpp | ||
TestFetchInfrastructure.cpp | ||
TestFetchURL.cpp | ||
TestHTMLTokenizer.cpp | ||
TestMicrosyntax.cpp | ||
TestMimeSniff.cpp | ||
TestNumbers.cpp | ||
tokenizer-test.html |