Commit Graph

6 Commits

Author SHA1 Message Date
Shannon Booth
fd44da6829 LibWeb/Bindings: Emit one bindings header and cpp per IDL
Previously, the LibWeb bindings generator would output multiple per
interface files like Prototype/Constructor/Namespace/GlobalMixin
depending on the contents of that IDL file.

This complicates the build system as it means that it does not know
what files will be generated without knowledge of the contents of that
IDL file.

Instead, for each IDL file only generate a single Bindings/<IDLFile>.h
and Bindings/<IDLFile>.cpp.
2026-04-21 07:36:13 +02:00
Callum Law
02c572c21e LibWeb: Clear font cache when @font-feature-values rule modified
We now clear the computed font cache whenever a `@font-feature-values`
rule is added, removed, or has one of it's descriptors modified.

This isn't observable yet since we don't actually respect
`@font-feature-values` rules, but that will come in a later commit
2026-03-20 16:08:32 -05:00
Timothy Flynn
fa49de8956 LibWeb: Do not mark CSSFontFeatureValuesMap::map_entries as virtual
This is a final class, and thus this cannot be overridden. Caught by
clang 21.
2026-02-17 15:18:46 +01:00
Timothy Flynn
2387f633ec LibWeb: Initialize plain member in CSSFontFeatureValuesMap
We should always be in the habit of initializing plain types. Let's not
open ourselves up to UB.
2026-02-17 15:18:46 +01:00
Callum Law
784911fb6d LibWeb: Implement CSSFontFeatureValuesRule 2026-02-17 12:25:27 +00:00
Callum Law
fcdc05a4ee LibWeb: Implement CSSFontFeatureValuesMap
This will be used within `CSSFontFeatureValuesRule`
2026-02-17 12:25:27 +00:00