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
BackgroundPainting.cpp LibGfx: Add Rect::unite() 2025-01-23 09:33:10 +01:00
BackgroundPainting.h
BackingStore.cpp
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
BorderRadiusCornerClipper.h
BordersData.cpp
BordersData.h
CanvasPaintable.cpp
CanvasPaintable.h
CheckBoxPaintable.cpp LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
CheckBoxPaintable.h
ClipFrame.cpp
ClipFrame.h
ClippableAndScrollable.cpp
ClippableAndScrollable.h
Command.cpp
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
GradientPainting.cpp
GradientPainting.h
ImagePaintable.cpp LibWeb: Calculate image size in CSS pixels 2025-01-21 16:05:12 +01:00
ImagePaintable.h
InputColors.h LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
LabelablePaintable.cpp
LabelablePaintable.h
MarkerPaintable.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
MarkerPaintable.h
MediaPaintable.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
MediaPaintable.h
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
Paintable.h
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
PaintContext.cpp
PaintContext.h
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
ScrollFrame.cpp
ScrollFrame.h
ScrollState.h
ShadowData.h
ShadowPainting.cpp LibGfx+LibWeb: Draw glyph runs with subpixel accuracy 2024-12-21 23:09:52 +01:00
ShadowPainting.h
StackingContext.cpp LibWeb: Honor pointer-events for PaintableBox in own stacking context 2025-01-26 17:30:00 +01:00
StackingContext.h
SVGClipPaintable.cpp
SVGClipPaintable.h
SVGForeignObjectPaintable.cpp
SVGForeignObjectPaintable.h
SVGGraphicsPaintable.cpp
SVGGraphicsPaintable.h
SVGMaskable.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
SVGMaskable.h
SVGMaskPaintable.cpp
SVGMaskPaintable.h
SVGPaintable.cpp
SVGPaintable.h
SVGPathPaintable.cpp LibWeb/CSS: Update CalculatedOr API to use CalculationResolutionContext 2025-01-30 19:31:54 +01:00
SVGPathPaintable.h
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
TableBordersPainting.h
TextPaintable.cpp
TextPaintable.h
VideoPaintable.cpp LibGfx: Delete DeprecatedPainter 2024-11-25 21:13:53 +01:00
VideoPaintable.h
ViewportPaintable.cpp LibWeb: Implement user-select 2025-01-08 14:37:28 +00:00
ViewportPaintable.h