ladybird/Libraries/LibWeb/Painting
Sam Atkins 385c3d273a LibWeb/CSS: Update CalculatedOr API to use CalculationResolutionContext
To be properly compatible with calc(), the resolved() methods all need:
- A length resolution context
- To return an Optional, as the calculation might not be resolvable

A bonus of this is that we can get rid of the overloads of `resolved()`
as they now all behave the same way.

A downside is a scattering of `value_or()` wherever these are used. It
might be the case that all unresolvable calculations have been rejected
before this point, but I'm not confident, and so I'll leave it like
this for now.
2025-01-30 19:31:54 +01:00
..
AudioPaintable.cpp LibWeb: Hide audio element when controls is not set 2025-01-04 11:47:09 +00:00
AudioPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
BackgroundPainting.cpp LibGfx: Add Rect::unite() 2025-01-23 09:33:10 +01:00
BackgroundPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BackingStore.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BackingStore.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
BorderPainting.cpp LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
BorderPainting.h LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
BorderRadiiData.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
BorderRadiiData.h LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
BorderRadiusCornerClipper.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BorderRadiusCornerClipper.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BordersData.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
BordersData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
CanvasPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CanvasPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CheckBoxPaintable.cpp LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
CheckBoxPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ClipFrame.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ClipFrame.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ClippableAndScrollable.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ClippableAndScrollable.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Command.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Command.h LibWeb: Fix CSS clip-path ignoring scroll position 2025-01-13 20:03:28 -07:00
DisplayList.cpp LibWeb: Migrate CSS filter application to new ApplyFilters command 2024-11-23 20:20:12 +01:00
DisplayList.h LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
DisplayListPlayerSkia.cpp LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
DisplayListPlayerSkia.h LibWeb: Migrate CSS filter application to new ApplyFilters command 2024-11-23 20:20:12 +01:00
DisplayListRecorder.cpp LibWeb: Prevent paths thinner than 1px from disappearing 2025-01-07 09:05:04 +00:00
DisplayListRecorder.h LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
FieldSetPaintable.cpp LibWeb: Lay out the fieldset's rendered legend 2024-11-29 12:36:52 +00:00
FieldSetPaintable.h LibWeb: Lay out the fieldset's rendered legend 2024-11-29 12:36:52 +00:00
GradientData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
GradientPainting.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
GradientPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ImagePaintable.cpp LibWeb: Calculate image size in CSS pixels 2025-01-21 16:05:12 +01:00
ImagePaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
InputColors.h LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
LabelablePaintable.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
LabelablePaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MarkerPaintable.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
MarkerPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaPaintable.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
MediaPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
NavigableContainerViewportPaintable.cpp LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP 2024-11-26 18:32:48 +01:00
NavigableContainerViewportPaintable.h LibWeb: Rename NestedBrowsingContextP => NavigableContainerViewportP 2024-11-26 18:32:48 +01:00
Paintable.cpp LibWeb: Allow stacking context to only be created by PaintableBox 2024-11-18 20:07:30 +01:00
Paintable.h LibWeb: Dispatch "click" event on input control associated with <label> 2024-11-21 16:11:03 +01:00
PaintableBox.cpp LibWeb: Handle continuation chain during hit-testing instead of after it 2025-01-26 17:30:00 +01:00
PaintableBox.h LibWeb: Handle continuation chain during hit-testing instead of after it 2025-01-26 17:30:00 +01:00
PaintableFragment.cpp LibWeb: Allow keyboard input to alter email inputs 2024-12-30 11:04:16 +01:00
PaintableFragment.h LibWeb/Painting: Use GlyphRun font for measuring selection rectangle 2024-12-06 02:57:34 +01:00
PaintBoxShadowParams.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PaintContext.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PaintContext.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PaintStyle.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
RadioButtonPaintable.cpp LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
RadioButtonPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ScrollFrame.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ScrollFrame.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ScrollState.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ShadowData.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ShadowPainting.cpp LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
ShadowPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StackingContext.cpp LibWeb: Honor pointer-events for PaintableBox in own stacking context 2025-01-26 17:30:00 +01:00
StackingContext.h LibWeb: Allow stacking context to only be created by PaintableBox 2024-11-18 20:07:30 +01:00
SVGClipPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGClipPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGForeignObjectPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGForeignObjectPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGGraphicsPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGGraphicsPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGMaskable.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
SVGMaskable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGMaskPaintable.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGMaskPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGPaintable.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
SVGPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGPathPaintable.cpp LibWeb/CSS: Update CalculatedOr API to use CalculationResolutionContext 2025-01-30 19:31:54 +01:00
SVGPathPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVGSVGPaintable.cpp LibWeb+LibGfx: Refactor CSS filters into LibGfx 2024-12-18 18:54:20 +01:00
SVGSVGPaintable.h LibWeb: Make SVGs respect their CSS transforms 2024-11-24 14:30:32 +01:00
TableBordersPainting.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TableBordersPainting.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TextPaintable.cpp LibWeb: Dispatch "click" event on input control associated with <label> 2024-11-21 16:11:03 +01:00
TextPaintable.h LibWeb: Dispatch "click" event on input control associated with <label> 2024-11-21 16:11:03 +01:00
VideoPaintable.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
VideoPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ViewportPaintable.cpp LibWeb: Implement user-select 2025-01-08 14:37:28 +00:00
ViewportPaintable.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00