1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00
ladybird/Tests
Sam Atkins f87b454fa9 LibWeb/CSS: Parse @font-face descriptors as style values
CSSFontFaceRule now stores its values as a CSSFontFaceDescriptors, with
a ParsedFontFace produced on request. This is exposed via the `style`
attribute, so we pass a lot of tests that try to read values from
that.

We have one test regression, which we passed by mistake before: The test
wanted to ensure we don't allow `@font-face` nested inside other rules.
We passed it just because we discarded any `@font-face` without a
`font-family`. What we're supposed to do is 1) keep at-rules with
missing required descriptors and just not use them, and 2) reject
certain ones when nested.

We may want to cache the ParsedFontFace in the future, but I didn't here
because 1) it's called rarely, and 2) that would mean knowing to
invalidate it when the CSSFontFaceDescriptors changes, which isn't
obvious to me right now.
2025-04-04 10:40:32 +01:00
..
AK Everywhere: Remove DeprecatedFlyString + any remaining references to it 2025-04-02 11:43:13 +02:00
ClangPlugins LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
LibCompress LibCompress: Refactor deflate de/compressor using zlib 2025-03-19 13:46:50 +01:00
LibCore Tests: Update FileWatcher's test timeouts 2025-03-28 19:19:43 +00:00
LibCrypto LibCrypto: Improve precision of Crypto::BigFraction::to_double() 2025-03-23 19:33:25 +01:00
LibDiff
LibDNS LibDNS: Ensure non-blocking socket is used for TCP connections 2025-02-22 18:39:58 +01:00
LibGC LibGC: Teach Swift bindings about Cell and Cell::Visitor 2025-04-03 16:47:48 -06:00
LibGfx LibGfx: Fix handling of partially corrupt GIFs 2025-03-20 16:12:53 +01:00
LibJS LibJS: Remove ByteString internals from PrimitiveString 2025-03-28 12:31:40 -04:00
LibMedia Meta: Consolidate checking for the system audio backend 2024-12-25 12:00:43 +01:00
LibRegex LibRegex: Remove the StringCopyMatches mode 2025-03-24 22:27:17 +00:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Add SingleByteEncoders 2024-10-10 10:39:28 +02:00
LibThreading LibThreading: Remove the thread pool 2024-09-22 14:07:16 -04:00
LibTLS LibCrypto: Remove unused Certificate class 2025-02-18 00:02:26 +01:00
LibUnicode LibUnicode: Consistently reject out-of-bounds segmenter indices 2025-01-16 23:22:48 +01:00
LibURL LibURL/Pattern: Implement the constructor string parser 2025-03-15 07:39:03 -04:00
LibWasm LibJS: Use Value::to_byte_string() in fewer places 2025-03-28 12:31:40 -04:00
LibWeb LibWeb/CSS: Parse @font-face descriptors as style values 2025-04-04 10:40:32 +01:00
LibWebView LibWebView: Additional unit tests for sanitized_url 2025-03-27 18:30:08 -04:00
LibXML LibXML: Read code points when parsing names 2024-11-06 10:07:52 +01:00
Resources Tests: Annotate configurationJSON in SwiftTestMain with noisolate 2024-11-26 11:00:48 +01:00
CMakeLists.txt LibDNS: Add basic DNS::Resolver tests 2025-02-18 15:46:44 +01:00