ladybird/Meta/Lagom/Tools/CodeGenerators/LibWeb
Jelle Raaijmakers 8f3fe0c39e LibWeb: Support nullable attributes in generated toJSON()
Any optional or nullable attribute will end up in an `if/else` branch
when we collect the attribute values, and this is inherently
incompatibly with an `auto {attr}_wrapped = ...` expression. Define the
variable as an `JS::Value` before generating the wrap statement so we
can properly support `toJSON()` for an attribute like:

  readonly attribute double? altitude;
2025-06-21 10:00:29 +02:00
..
BindingsGenerator LibWeb: Support nullable attributes in generated toJSON() 2025-06-21 10:00:29 +02:00
CMakeLists.txt LibWeb: Generate DescriptorID enum 2025-04-04 10:40:32 +01:00
GenerateAriaRoles.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
GenerateCSSDescriptors.cpp LibWeb/CSS: Parse @page bleed, marks, page-orientation descriptors 2025-05-15 09:53:29 +01:00
GenerateCSSEnums.cpp LibWeb/CSS: Set enum sizes for PropertyID and Keyword 2025-05-20 10:14:21 +12:00
GenerateCSSKeyword.cpp LibWeb/CSS: Set enum sizes for PropertyID and Keyword 2025-05-20 10:14:21 +12:00
GenerateCSSMathFunctions.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
GenerateCSSMediaFeatureID.cpp LibWeb/CSS: Correct how we evaluate boolean media-features 2025-05-23 10:17:58 +01:00
GenerateCSSPropertyID.cpp LibWeb: Add support for the 'all' CSS property 2025-06-12 15:25:35 +01:00
GenerateCSSPseudoClass.cpp LibWeb: Make :hover invalidation logic reusable for all pseudo classes 2025-04-17 19:45:55 +02:00
GenerateCSSPseudoElement.cpp LibWeb: Remove GeneratedPseudoElement enum 2025-06-19 12:35:31 +01:00
GenerateCSSStyleProperties.cpp CodeGenerators: Move some utilities out of GenerateCSSStyleProperties 2025-03-27 11:53:09 +00:00
GenerateCSSTransformFunctions.cpp AK+Everywhere: Store JSON strings as String 2025-02-20 19:27:51 -05:00
GenerateNamedCharacterReferences.cpp LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
GenerateWebGLRenderingContext.cpp AK+Everywhere: Change StringView case conversions to return String 2025-04-07 17:44:38 +02:00
GenerateWindowOrWorkerInterfaces.cpp LibJS: Replace PropertyKey(char[]) with PropertyKey(FlyString) 2025-03-24 22:27:17 +00:00
GeneratorUtil.h CodeGenerators: Move some utilities out of GenerateCSSStyleProperties 2025-03-27 11:53:09 +00:00