2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								/*
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-04 13:19:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								 * Copyright (c) 2020-2023, Andreas Kling <andreas@ladybird.org>
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								 * Copyright (c) 2023-2025, Sam Atkins <sam@ladybird.org>
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 *
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-22 01:24:48 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								 * SPDX-License-Identifier: BSD-2-Clause
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								 */
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#pragma once
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-17 12:42:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <AK/FlyString.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:20:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <AK/HashMap.h>
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#include <AK/Optional.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-12-18 11:34:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibGfx/Filter.h>
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-17 16:21:50 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibGfx/Font/FontVariant.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibGfx/FontCascadeList.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-05 10:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibGfx/ScalingMode.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 17:13:37 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/CalculatedOr.h>
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-31 18:47:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Clip.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-06 18:30:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/ColumnCount.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 15:47:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/CountersSet.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-25 14:11:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Display.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-25 11:00:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Filter.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-25 14:11:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/GridTrackPlacement.h>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/GridTrackSize.h>
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 17:45:42 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/LengthBox.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 17:13:37 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/PercentageOr.h>
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-02 12:59:09 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/PreferredColorScheme.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-08 15:25:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Ratio.h>
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-25 15:48:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Size.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-24 16:42:50 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h>
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/StyleValues/BasicShapeStyleValue.h>
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/StyleValues/CursorStyleValue.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-24 17:45:25 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/StyleValues/ShadowStyleValue.h>
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-13 17:25:23 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/Transformation.h>
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include <LibWeb/CSS/URL.h>
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 10:34:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								namespace Web::CSS {
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-12 20:19:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								using ClipRule = FillRule;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-21 19:39:07 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct FlexBasisContent { };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								using FlexBasis = Variant<FlexBasisContent, Size>;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-08 15:25:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct AspectRatio {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool use_natural_aspect_ratio_if_available;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<Ratio> preferred_ratio;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-17 20:25:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct GridAutoFlow {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool row { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool dense { false };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct NormalGap { };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct QuotesData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    enum class Type {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        None,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Auto,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Specified,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    } type;
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-17 12:42:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<Array<FlyString, 2>> strings {};
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 11:33:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct ObjectPosition {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    PositionEdge edge_x { PositionEdge::Left };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage offset_x { Percentage(50) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    PositionEdge edge_y { PositionEdge::Top };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage offset_y { Percentage(50) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-18 20:39:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// https://drafts.csswg.org/css-contain-2/#containment-types
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								struct Containment {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // FIXME: It'd be nice if this was a single-byte bitfield instead of some bools.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool size_containment = false;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool inline_size_containment = false;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool layout_containment = false;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool style_containment = false;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool paint_containment = false;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool is_empty() const { return !(size_containment || inline_size_containment || layout_containment || style_containment || paint_containment); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-26 22:36:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct ScrollbarColorData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Color thumb_color { Color::Transparent };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Color track_color { Color::Transparent };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-15 15:18:27 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								using CursorData = Variant<NonnullRefPtr<CursorStyleValue const>, Cursor>;
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-10 12:48:40 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								using ListStyleType = Variant<CounterStyleNameKeyword, String>;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 16:37:44 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								class InitialValues {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-08 15:25:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static AspectRatio aspect_ratio() { return AspectRatio { true, {} }; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-31 19:53:41 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSSPixels font_size() { return 16; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-21 16:24:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static int font_weight() { return 400; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:34:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSSPixels line_height() { return 0; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-26 15:08:42 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Float float_() { return CSS::Float::None; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 02:35:03 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Length border_spacing() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-07 02:10:55 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::CaptionSide caption_side() { return CSS::CaptionSide::Top; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-09 13:59:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Color caret_color() { return Color::Black; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-06 01:45:51 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Clear clear() { return CSS::Clear::None; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-31 18:47:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Clip clip() { return CSS::Clip::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-02 12:59:09 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::PreferredColorScheme color_scheme() { return CSS::PreferredColorScheme::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-23 14:52:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ContentVisibility content_visibility() { return CSS::ContentVisibility::Visible; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CursorData cursor() { return { CSS::Cursor::Auto }; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-16 18:32:31 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::WhiteSpaceCollapse white_space_collapse() { return CSS::WhiteSpaceCollapse::Collapse; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-25 16:47:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::WordBreak word_break() { return CSS::WordBreak::Normal; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-18 21:00:28 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthOrCalculated word_spacing() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-22 14:21:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static LengthOrCalculated letter_spacing() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 13:07:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Variant<LengthOrCalculated, NumberOrCalculated> tab_size() { return NumberOrCalculated(8.0f); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-11 18:14:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextAlign text_align() { return CSS::TextAlign::Start; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-12 19:31:32 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextJustify text_justify() { return CSS::TextJustify::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-27 15:17:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Positioning position() { return CSS::Positioning::Static; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 13:36:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextDecorationLine text_decoration_line() { return CSS::TextDecorationLine::None; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-04-04 22:00:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Length text_decoration_thickness() { return Length::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-20 20:27:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextDecorationStyle text_decoration_style() { return CSS::TextDecorationStyle::Solid; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 14:15:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextTransform text_transform() { return CSS::TextTransform::None; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 20:58:17 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextOverflow text_overflow() { return CSS::TextOverflow::Clip; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-15 16:42:28 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthPercentage text_indent() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 00:49:25 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextWrapMode text_wrap_mode() { return CSS::TextWrapMode::Wrap; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-04 17:39:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Display display() { return CSS::Display { CSS::DisplayOutside::Inline, CSS::DisplayInside::Flow }; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 16:13:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Color color() { return Color::Black; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-19 18:51:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Color stop_color() { return Color::Black; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-11 12:44:54 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Optional<Gfx::Filter> backdrop_filter() { return {}; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static Optional<Gfx::Filter> filter() { return {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 16:13:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Color background_color() { return Color::Transparent; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-10 12:48:40 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ListStyleType list_style_type() { return CSS::CounterStyleNameKeyword::Disc; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-02 23:05:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ListStylePosition list_style_position() { return CSS::ListStylePosition::Outside; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 15:42:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Visibility visibility() { return CSS::Visibility::Visible; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-18 17:41:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::FlexDirection flex_direction() { return CSS::FlexDirection::Row; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-30 12:11:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::FlexWrap flex_wrap() { return CSS::FlexWrap::Nowrap; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-21 19:39:07 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::FlexBasis flex_basis() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-18 12:21:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ImageRendering image_rendering() { return CSS::ImageRendering::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-16 18:38:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::JustifyContent justify_content() { return CSS::JustifyContent::FlexStart; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 20:49:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::JustifyItems justify_items() { return CSS::JustifyItems::Legacy; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 14:41:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::JustifySelf justify_self() { return CSS::JustifySelf::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-14 13:50:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::AlignContent align_content() { return CSS::AlignContent::Stretch; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 18:49:16 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::AlignItems align_items() { return CSS::AlignItems::Stretch; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-11 23:52:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::AlignSelf align_self() { return CSS::AlignSelf::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-22 16:05:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Appearance appearance() { return CSS::Appearance::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-02-22 15:20:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Overflow overflow() { return CSS::Overflow::Visible; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 16:55:02 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::BoxSizing box_sizing() { return CSS::BoxSizing::ContentBox; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 19:47:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::PointerEvents pointer_events() { return CSS::PointerEvents::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:22:08 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static float flex_grow() { return 0.0f; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static float flex_shrink() { return 1.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-31 22:11:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static int order() { return 0; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:27:40 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static float opacity() { return 1.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static float fill_opacity() { return 1.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-11 16:43:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::FillRule fill_rule() { return CSS::FillRule::Nonzero; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-12 20:19:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ClipRule clip_rule() { return CSS::ClipRule::Nonzero; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthPercentage stroke_dashoffset() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-10 10:15:49 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::StrokeLinecap stroke_linecap() { return CSS::StrokeLinecap::Butt; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-28 20:51:16 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::StrokeLinejoin stroke_linejoin() { return CSS::StrokeLinejoin::Miter; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static float stroke_miterlimit() { return 4.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static float stroke_opacity() { return 1.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthPercentage stroke_width() { return CSS::Length::make_px(1); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static float stop_opacity() { return 1.0f; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-19 19:12:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TextAnchor text_anchor() { return CSS::TextAnchor::Start; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-14 20:49:06 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Length border_radius() { return Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-26 01:34:07 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Variant<CSS::VerticalAlign, CSS::LengthPercentage> vertical_align() { return CSS::VerticalAlign::Baseline; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-06 20:17:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthBox inset() { return { CSS::Length::make_auto(), CSS::Length::make_auto(), CSS::Length::make_auto(), CSS::Length::make_auto() }; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthBox margin() { return { CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0) }; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::LengthBox padding() { return { CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0), CSS::Length::make_px(0) }; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-25 15:48:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size width() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size min_width() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size max_width() { return CSS::Size::make_none(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size height() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size min_height() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size max_height() { return CSS::Size::make_none(); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-07 13:04:06 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackSizeList grid_template_columns() { return CSS::GridTrackSizeList::make_none(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackSizeList grid_template_rows() { return CSS::GridTrackSizeList::make_none(); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-08-23 19:58:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackPlacement grid_column_end() { return CSS::GridTrackPlacement::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackPlacement grid_column_start() { return CSS::GridTrackPlacement::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackPlacement grid_row_end() { return CSS::GridTrackPlacement::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridTrackPlacement grid_row_start() { return CSS::GridTrackPlacement::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-17 20:25:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::GridAutoFlow grid_auto_flow() { return CSS::GridAutoFlow {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-06 18:30:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static ColumnCount column_count() { return ColumnCount::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Variant<LengthPercentage, NormalGap> column_gap() { return NormalGap {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 20:23:55 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ColumnSpan column_span() { return CSS::ColumnSpan::None; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 19:58:14 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Size column_width() { return CSS::Size::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Variant<LengthPercentage, NormalGap> row_gap() { return NormalGap {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-02 23:01:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::BorderCollapse border_collapse() { return CSS::BorderCollapse::Separate; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-06-18 12:28:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::EmptyCells empty_cells() { return CSS::EmptyCells::Show; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-16 18:17:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Vector<Vector<String>> grid_template_areas() { return {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 22:05:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Time transition_delay() { return CSS::Time::make_seconds(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-01 20:06:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ObjectFit object_fit() { return CSS::ObjectFit::Fill; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 11:33:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ObjectPosition object_position() { return {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Color outline_color() { return Color::Black; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 20:09:10 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Length outline_offset() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::OutlineStyle outline_style() { return CSS::OutlineStyle::None; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::Length outline_width() { return CSS::Length::make_px(3); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-07 01:32:52 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TableLayout table_layout() { return CSS::TableLayout::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static QuotesData quotes() { return QuotesData { .type = QuotesData::Type::Auto }; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-25 17:02:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::TransformBox transform_box() { return CSS::TransformBox::ViewBox; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-10 23:13:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Direction direction() { return CSS::Direction::Ltr; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 21:09:29 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::UnicodeBidi unicode_bidi() { return CSS::UnicodeBidi::Normal; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-27 22:12:54 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::WritingMode writing_mode() { return CSS::WritingMode::HorizontalTb; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-08 01:51:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::UserSelect user_select() { return CSS::UserSelect::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-11 01:34:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Isolation isolation() { return CSS::Isolation::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-18 20:39:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::Containment contain() { return {}; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-22 09:50:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::MixBlendMode mix_blend_mode() { return CSS::MixBlendMode::Normal; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-15 16:58:35 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static Optional<int> z_index() { return OptionalNone(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-03 20:24:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // https://www.w3.org/TR/SVG/geometry.html
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage cx() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage cy() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage r() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage rx() { return CSS::Length::make_auto(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage ry() { return CSS::Length::make_auto(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-28 17:48:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage x() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static LengthPercentage y() { return CSS::Length::make_px(0); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-08 11:06:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::MaskType mask_type() { return CSS::MaskType::Luminance; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::MathShift math_shift() { return CSS::MathShift::Normal; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static CSS::MathStyle math_style() { return CSS::MathStyle::Normal; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-07 15:29:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static int math_depth() { return 0; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-26 22:36:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static ScrollbarColorData scrollbar_color()
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        return ScrollbarColorData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .thumb_color = Color(Color::NamedColor::DarkGray).with_alpha(192),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .track_color = Color(Color::NamedColor::WarmGray).with_alpha(192),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    static CSS::ScrollbarWidth scrollbar_width() { return CSS::ScrollbarWidth::Auto; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 16:37:44 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:11:28 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								enum class BackgroundSize {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Contain,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Cover,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// https://svgwg.org/svg2-draft/painting.html#SpecifyingPaint
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								class SVGPaint {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    SVGPaint(Color color)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        : m_value(color)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    SVGPaint(URL const& url)
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        : m_value(url)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool is_color() const { return m_value.has<Color>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    bool is_url() const { return m_value.has<URL>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color as_color() const { return m_value.get<Color>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    URL const& as_url() const { return m_value.get<URL>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								private:
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<URL, Color> m_value;
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// https://drafts.fxtf.org/css-masking-1/#typedef-mask-reference
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								class MaskReference {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // TODO: Support other mask types.
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    MaskReference(URL const& url)
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        : m_url(url)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    URL const& url() const { return m_url; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								private:
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    URL m_url;
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// https://drafts.fxtf.org/css-masking/#the-clip-path
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// TODO: Support clip sources.
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								class ClipPathReference {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    ClipPathReference(URL const& url)
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        : m_clip_source(url)
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    ClipPathReference(BasicShapeStyleValue const& basic_shape)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        : m_clip_source(basic_shape)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool is_basic_shape() const { return m_clip_source.has<BasicShape>(); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    bool is_url() const { return m_clip_source.has<URL>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    URL const& url() const { return m_clip_source.get<URL>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BasicShapeStyleValue const& basic_shape() const { return *m_clip_source.get<BasicShape>(); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								private:
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-26 00:25:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    using BasicShape = NonnullRefPtr<BasicShapeStyleValue const>;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-29 15:32:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<URL, BasicShape> m_clip_source;
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 12:11:01 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct BackgroundLayerData {
							 | 
						
					
						
							
								
									
										
										
										
											2023-02-20 18:56:08 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    RefPtr<CSS::AbstractImageStyleValue const> background_image { nullptr };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 16:30:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::BackgroundAttachment attachment { CSS::BackgroundAttachment::Scroll };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::BackgroundBox origin { CSS::BackgroundBox::PaddingBox };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::BackgroundBox clip { CSS::BackgroundBox::BorderBox };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::PositionEdge position_edge_x { CSS::PositionEdge::Left };
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-19 11:20:40 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage position_offset_x { CSS::Length::make_px(0) };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 16:30:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::PositionEdge position_edge_y { CSS::PositionEdge::Top };
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-19 11:20:40 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage position_offset_y { CSS::Length::make_px(0) };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 16:30:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::BackgroundSize size_type { CSS::BackgroundSize::LengthPercentage };
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-16 20:24:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage size_x { CSS::Length::make_auto() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage size_y { CSS::Length::make_auto() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 16:30:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Repeat repeat_x { CSS::Repeat::Repeat };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Repeat repeat_y { CSS::Repeat::Repeat };
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-29 23:44:25 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::MixBlendMode blend_mode { CSS::MixBlendMode::Normal };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 12:11:01 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 19:41:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct BorderData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Color color { Color::Transparent };
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-04 16:11:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LineStyle line_style { CSS::LineStyle::None };
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-30 15:54:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSSPixels width { 0 };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 16:32:08 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool operator==(BorderData const&) const = default;
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 19:41:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-16 18:44:49 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct TouchActionData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_left : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_right : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_up : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_down : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_pinch_zoom : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // Other touch interactions which aren't pan or pinch to zoom. E.g.: Double tap to zoom.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool allow_other : 1 { true };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    static TouchActionData none()
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        return TouchActionData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_left = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_right = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_up = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_down = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_pinch_zoom = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            .allow_other = false,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 02:21:42 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct WhiteSpaceTrimData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool discard_before : 1 { false };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool discard_after : 1 { false };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool discard_inner : 1 { false };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 19:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct TransformOrigin {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage x { Percentage(50) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage y { Percentage(50) };
							 | 
						
					
						
							
								
									
										
										
										
											2025-06-14 00:52:42 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage z { Percentage(0) };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 19:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-23 16:55:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct ShadowData {
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-18 14:47:15 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Length offset_x { Length::make_px(0) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Length offset_y { Length::make_px(0) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Length blur_radius { Length::make_px(0) };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Length spread_distance { Length::make_px(0) };
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-11 13:51:09 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color color {};
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-23 16:55:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ShadowPlacement placement { CSS::ShadowPlacement::Outer };
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-23 21:22:31 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-24 16:52:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct ContentData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    enum class Type {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Normal,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        None,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        String,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    } type { Type::Normal };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    // FIXME: Data is a list of identifiers, strings and image values.
							 | 
						
					
						
							
								
									
										
										
										
											2023-02-14 16:05:40 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    String data {};
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-04 14:47:55 +09:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<String> alt_text {};
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-24 16:52:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 15:47:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct CounterData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    FlyString name;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    bool is_reversed;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<CounterValue> value;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-12 15:05:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								struct BorderRadiusData {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage horizontal_radius { InitialValues::border_radius() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage vertical_radius { InitialValues::border_radius() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:48:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								// FIXME: Find a better place for this helper.
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-05 10:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								inline Gfx::ScalingMode to_gfx_scaling_mode(CSS::ImageRendering css_value, Gfx::IntRect source, Gfx::IntRect target)
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:48:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    switch (css_value) {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    case CSS::ImageRendering::Auto:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    case CSS::ImageRendering::HighQuality:
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    case CSS::ImageRendering::Smooth:
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 00:41:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        if (target.width() < source.width() || target.height() < source.height())
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-05 10:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            return Gfx::ScalingMode::BoxSampling;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        return Gfx::ScalingMode::BilinearBlend;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:48:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    case CSS::ImageRendering::CrispEdges:
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-05 10:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        return Gfx::ScalingMode::NearestNeighbor;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:48:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    case CSS::ImageRendering::Pixelated:
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-05 10:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        return Gfx::ScalingMode::SmoothPixels;
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-30 14:48:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    VERIFY_NOT_REACHED();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 10:34:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								class ComputedValues {
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-27 08:38:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    AK_MAKE_NONCOPYABLE(ComputedValues);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    AK_MAKE_NONMOVABLE(ComputedValues);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-27 08:38:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    ComputedValues() = default;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ~ComputedValues() = default;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-08 15:25:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    AspectRatio aspect_ratio() const { return m_noninherited.aspect_ratio; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Float float_() const { return m_noninherited.float_; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 02:35:03 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Length border_spacing_horizontal() const { return m_inherited.border_spacing_horizontal; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Length border_spacing_vertical() const { return m_inherited.border_spacing_vertical; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-07 02:10:55 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::CaptionSide caption_side() const { return m_inherited.caption_side; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-09 13:59:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color caret_color() const { return m_inherited.caret_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Clear clear() const { return m_noninherited.clear; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-31 18:47:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Clip clip() const { return m_noninherited.clip; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-02 12:59:09 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::PreferredColorScheme color_scheme() const { return m_inherited.color_scheme; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-23 14:52:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ContentVisibility content_visibility() const { return m_inherited.content_visibility; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<CursorData> const& cursor() const { return m_inherited.cursor; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-24 16:52:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ContentData content() const { return m_noninherited.content; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 19:47:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::PointerEvents pointer_events() const { return m_inherited.pointer_events; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-07 14:41:50 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Display display() const { return m_noninherited.display; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-17 12:06:29 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<int> const& z_index() const { return m_noninherited.z_index; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 13:07:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<LengthOrCalculated, NumberOrCalculated> tab_size() const { return m_inherited.tab_size; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextAlign text_align() const { return m_inherited.text_align; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-12 19:31:32 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextJustify text_justify() const { return m_inherited.text_justify; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-15 16:42:28 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage const& text_indent() const { return m_inherited.text_indent; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 00:49:25 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextWrapMode text_wrap_mode() const { return m_inherited.text_wrap_mode; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-04 18:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<CSS::TextDecorationLine> const& text_decoration_line() const { return m_noninherited.text_decoration_line; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthPercentage const& text_decoration_thickness() const { return m_noninherited.text_decoration_thickness; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-20 20:27:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextDecorationStyle text_decoration_style() const { return m_noninherited.text_decoration_style; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-06 00:25:42 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color text_decoration_color() const { return m_noninherited.text_decoration_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextTransform text_transform() const { return m_inherited.text_transform; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 20:58:17 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextOverflow text_overflow() const { return m_noninherited.text_overflow; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-06 21:09:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<ShadowData> const& text_shadow() const { return m_inherited.text_shadow; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-27 15:17:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Positioning position() const { return m_noninherited.position; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-16 18:32:31 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::WhiteSpaceCollapse white_space_collapse() const { return m_inherited.white_space_collapse; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 02:21:42 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    WhiteSpaceTrimData white_space_trim() const { return m_noninherited.white_space_trim; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-18 21:00:28 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthOrCalculated word_spacing() const { return m_inherited.word_spacing; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-22 14:21:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    LengthOrCalculated letter_spacing() const { return m_inherited.letter_spacing; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-18 17:41:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::FlexDirection flex_direction() const { return m_noninherited.flex_direction; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-30 12:11:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::FlexWrap flex_wrap() const { return m_noninherited.flex_wrap; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-21 19:39:07 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    FlexBasis const& flex_basis() const { return m_noninherited.flex_basis; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:22:08 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    float flex_grow() const { return m_noninherited.flex_grow; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    float flex_shrink() const { return m_noninherited.flex_shrink; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-31 22:11:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    int order() const { return m_noninherited.order; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-18 20:49:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<Color> accent_color() const { return m_inherited.accent_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-14 13:50:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::AlignContent align_content() const { return m_noninherited.align_content; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-15 18:27:20 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::AlignItems align_items() const { return m_noninherited.align_items; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-11 23:52:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::AlignSelf align_self() const { return m_noninherited.align_self; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-22 16:05:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Appearance appearance() const { return m_noninherited.appearance; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:27:40 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    float opacity() const { return m_noninherited.opacity; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 15:42:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Visibility visibility() const { return m_inherited.visibility; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-18 12:21:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ImageRendering image_rendering() const { return m_inherited.image_rendering; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-16 18:38:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::JustifyContent justify_content() const { return m_noninherited.justify_content; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 14:41:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::JustifySelf justify_self() const { return m_noninherited.justify_self; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 20:49:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::JustifyItems justify_items() const { return m_noninherited.justify_items; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-11 12:44:54 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::Filter> const& backdrop_filter() const { return m_noninherited.backdrop_filter; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::Filter> const& filter() const { return m_noninherited.filter; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-23 16:55:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<ShadowData> const& box_shadow() const { return m_noninherited.box_shadow; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 16:55:02 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::BoxSizing box_sizing() const { return m_noninherited.box_sizing; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-25 15:48:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& width() const { return m_noninherited.width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& min_width() const { return m_noninherited.min_width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& max_width() const { return m_noninherited.max_width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& height() const { return m_noninherited.height; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& min_height() const { return m_noninherited.min_height; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& max_height() const { return m_noninherited.max_height; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-26 01:34:07 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<CSS::VerticalAlign, CSS::LengthPercentage> const& vertical_align() const { return m_noninherited.vertical_align; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-21 18:08:41 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackSizeList const& grid_auto_columns() const { return m_noninherited.grid_auto_columns; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackSizeList const& grid_auto_rows() const { return m_noninherited.grid_auto_rows; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-17 20:25:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::GridAutoFlow const& grid_auto_flow() const { return m_noninherited.grid_auto_flow; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 13:27:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackSizeList const& grid_template_columns() const { return m_noninherited.grid_template_columns; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackSizeList const& grid_template_rows() const { return m_noninherited.grid_template_rows; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-08-23 19:58:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackPlacement const& grid_column_end() const { return m_noninherited.grid_column_end; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackPlacement const& grid_column_start() const { return m_noninherited.grid_column_start; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackPlacement const& grid_row_end() const { return m_noninherited.grid_row_end; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::GridTrackPlacement const& grid_row_start() const { return m_noninherited.grid_row_start; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-06 18:30:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ColumnCount column_count() const { return m_noninherited.column_count; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<LengthPercentage, NormalGap> const& column_gap() const { return m_noninherited.column_gap; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 20:23:55 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ColumnSpan const& column_span() const { return m_noninherited.column_span; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 19:58:14 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Size const& column_width() const { return m_noninherited.column_width; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Variant<LengthPercentage, NormalGap> const& row_gap() const { return m_noninherited.row_gap; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 14:07:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::BorderCollapse border_collapse() const { return m_inherited.border_collapse; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-06-18 12:28:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::EmptyCells empty_cells() const { return m_inherited.empty_cells; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-16 18:17:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<Vector<String>> const& grid_template_areas() const { return m_noninherited.grid_template_areas; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 10:46:22 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ObjectFit object_fit() const { return m_noninherited.object_fit; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 11:33:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ObjectPosition object_position() const { return m_noninherited.object_position; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-10 23:13:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Direction direction() const { return m_inherited.direction; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 21:09:29 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::UnicodeBidi unicode_bidi() const { return m_noninherited.unicode_bidi; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-27 22:12:54 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::WritingMode writing_mode() const { return m_inherited.writing_mode; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-08 01:51:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::UserSelect user_select() const { return m_noninherited.user_select; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-11 01:34:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Isolation isolation() const { return m_noninherited.isolation; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-18 20:39:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Containment const& contain() const { return m_noninherited.contain; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-22 09:50:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::MixBlendMode mix_blend_mode() const { return m_noninherited.mix_blend_mode; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-21 17:56:24 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<FlyString> view_transition_name() const { return m_noninherited.view_transition_name; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-16 18:44:49 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    TouchActionData touch_action() const { return m_noninherited.touch_action; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-27 15:42:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::LengthBox const& inset() const { return m_noninherited.inset; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    const CSS::LengthBox& margin() const { return m_noninherited.margin; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    const CSS::LengthBox& padding() const { return m_noninherited.padding; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 17:45:42 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-04-01 20:58:27 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    BorderData const& border_left() const { return m_noninherited.border_left; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData const& border_top() const { return m_noninherited.border_top; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData const& border_right() const { return m_noninherited.border_right; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData const& border_bottom() const { return m_noninherited.border_bottom; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 19:41:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 19:26:32 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    bool has_noninitial_border_radii() const { return m_noninherited.has_noninitial_border_radii; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-12 15:05:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    const CSS::BorderRadiusData& border_bottom_left_radius() const { return m_noninherited.border_bottom_left_radius; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    const CSS::BorderRadiusData& border_bottom_right_radius() const { return m_noninherited.border_bottom_right_radius; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    const CSS::BorderRadiusData& border_top_left_radius() const { return m_noninherited.border_top_left_radius; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    const CSS::BorderRadiusData& border_top_right_radius() const { return m_noninherited.border_top_right_radius; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-14 22:31:03 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-02-22 15:20:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Overflow overflow_x() const { return m_noninherited.overflow_x; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Overflow overflow_y() const { return m_noninherited.overflow_y; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color color() const { return m_inherited.color; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Color background_color() const { return m_noninherited.background_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 12:11:01 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<BackgroundLayerData> const& background_layers() const { return m_noninherited.background_layers; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 16:13:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-07 19:41:18 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color webkit_text_fill_color() const { return m_inherited.webkit_text_fill_color; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ListStyleType list_style_type() const { return m_inherited.list_style_type; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-02 23:05:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ListStylePosition list_style_position() const { return m_inherited.list_style_position; }
							 | 
						
					
						
							
								
									
										
										
										
											2020-12-15 16:50:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<SVGPaint> const& fill() const { return m_inherited.fill; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-11 16:43:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::FillRule fill_rule() const { return m_inherited.fill_rule; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<SVGPaint> const& stroke() const { return m_inherited.stroke; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    float fill_opacity() const { return m_inherited.fill_opacity; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-20 19:23:10 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<Variant<LengthPercentage, NumberOrCalculated>> const& stroke_dasharray() const { return m_inherited.stroke_dasharray; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& stroke_dashoffset() const { return m_inherited.stroke_dashoffset; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-10 10:15:49 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::StrokeLinecap stroke_linecap() const { return m_inherited.stroke_linecap; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-28 20:51:16 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::StrokeLinejoin stroke_linejoin() const { return m_inherited.stroke_linejoin; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    NumberOrCalculated stroke_miterlimit() const { return m_inherited.stroke_miterlimit; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    float stroke_opacity() const { return m_inherited.stroke_opacity; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-15 16:51:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& stroke_width() const { return m_inherited.stroke_width; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-19 18:51:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color stop_color() const { return m_noninherited.stop_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    float stop_opacity() const { return m_noninherited.stop_opacity; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-19 19:12:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TextAnchor text_anchor() const { return m_inherited.text_anchor; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-16 03:25:48 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    RefPtr<AbstractImageStyleValue const> mask_image() const { return m_noninherited.mask_image; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<MaskReference> const& mask() const { return m_noninherited.mask; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-08 11:06:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::MaskType mask_type() const { return m_noninherited.mask_type; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<ClipPathReference> const& clip_path() const { return m_noninherited.clip_path; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-12 20:19:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ClipRule clip_rule() const { return m_inherited.clip_rule; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-03 20:24:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& cx() const { return m_noninherited.cx; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& cy() const { return m_noninherited.cy; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& r() const { return m_noninherited.r; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& rx() const { return m_noninherited.ry; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& ry() const { return m_noninherited.ry; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-28 17:48:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& x() const { return m_noninherited.x; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    LengthPercentage const& y() const { return m_noninherited.y; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-16 12:28:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-04 18:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Vector<CSS::Transformation> const& transformations() const { return m_noninherited.transformations; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-25 17:02:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TransformBox const& transform_box() const { return m_noninherited.transform_box; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-04 18:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TransformOrigin const& transform_origin() const { return m_noninherited.transform_origin; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-16 08:50:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<CSS::Transformation> const& rotate() const { return m_noninherited.rotate; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 16:42:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<CSS::Transformation> const& translate() const { return m_noninherited.translate; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 18:07:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<CSS::Transformation> const& scale() const { return m_noninherited.scale; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-18 17:20:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Gfx::FontCascadeList const& font_list() const { return *m_inherited.font_list; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-31 19:53:41 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSSPixels font_size() const { return m_inherited.font_size; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-21 16:24:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    int font_weight() const { return m_inherited.font_weight; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-12-05 01:19:03 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::FontVariantAlternates> font_variant_alternates() const { return m_inherited.font_variant_alternates; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    FontVariantCaps font_variant_caps() const { return m_inherited.font_variant_caps; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::FontVariantEastAsian> font_variant_east_asian() const { return m_inherited.font_variant_east_asian; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    FontVariantEmoji font_variant_emoji() const { return m_inherited.font_variant_emoji; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::FontVariantLigatures> font_variant_ligatures() const { return m_inherited.font_variant_ligatures; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    Optional<Gfx::FontVariantNumeric> font_variant_numeric() const { return m_inherited.font_variant_numeric; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    FontVariantPosition font_variant_position() const { return m_inherited.font_variant_position; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-27 17:11:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<FlyString> font_language_override() const { return m_inherited.font_language_override; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:37:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<HashMap<FlyString, IntegerOrCalculated>> font_feature_settings() const { return m_inherited.font_feature_settings; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:20:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Optional<HashMap<FlyString, NumberOrCalculated>> font_variation_settings() const { return m_inherited.font_variation_settings; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:34:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSSPixels line_height() const { return m_inherited.line_height; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 22:05:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Time transition_delay() const { return m_noninherited.transition_delay; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-21 16:24:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    Color outline_color() const { return m_noninherited.outline_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 20:09:10 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::Length outline_offset() const { return m_noninherited.outline_offset; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::OutlineStyle outline_style() const { return m_noninherited.outline_style; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::Length outline_width() const { return m_noninherited.outline_width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-07 01:32:52 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::TableLayout table_layout() const { return m_noninherited.table_layout; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::QuotesData quotes() const { return m_inherited.quotes; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::MathShift math_shift() const { return m_inherited.math_shift; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    CSS::MathStyle math_style() const { return m_inherited.math_style; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-07 15:29:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    int math_depth() const { return m_inherited.math_depth; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-26 22:36:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    ScrollbarColorData scrollbar_color() const { return m_inherited.scrollbar_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CSS::ScrollbarWidth scrollbar_width() const { return m_noninherited.scrollbar_width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-27 08:38:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    NonnullOwnPtr<ComputedValues> clone_inherited_values() const
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 14:10:53 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-27 08:38:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        auto clone = make<ComputedValues>();
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        clone->m_inherited = m_inherited;
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 14:10:53 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        return clone;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								protected:
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    struct {
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-09 13:59:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color caret_color { InitialValues::caret_color() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-15 15:48:14 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        RefPtr<Gfx::FontCascadeList const> font_list {};
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-31 19:53:41 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSSPixels font_size { InitialValues::font_size() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-21 16:24:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        int font_weight { InitialValues::font_weight() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-12-05 01:19:03 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::FontVariantAlternates> font_variant_alternates;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        FontVariantCaps font_variant_caps { FontVariantCaps::Normal };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::FontVariantEastAsian> font_variant_east_asian;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        FontVariantEmoji font_variant_emoji { FontVariantEmoji::Normal };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::FontVariantLigatures> font_variant_ligatures;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::FontVariantNumeric> font_variant_numeric;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        FontVariantPosition font_variant_position { FontVariantPosition::Normal };
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-27 17:11:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<FlyString> font_language_override;
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:37:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<HashMap<FlyString, IntegerOrCalculated>> font_feature_settings;
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:20:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<HashMap<FlyString, NumberOrCalculated>> font_variation_settings;
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:34:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSSPixels line_height { InitialValues::line_height() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 14:07:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::BorderCollapse border_collapse { InitialValues::border_collapse() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-06-18 12:28:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::EmptyCells empty_cells { InitialValues::empty_cells() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 02:35:03 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Length border_spacing_horizontal { InitialValues::border_spacing() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Length border_spacing_vertical { InitialValues::border_spacing() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-07 02:10:55 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::CaptionSide caption_side { InitialValues::caption_side() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color color { InitialValues::color() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-02 12:59:09 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::PreferredColorScheme color_scheme { InitialValues::color_scheme() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-18 20:49:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<Color> accent_color {};
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-07 19:41:18 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color webkit_text_fill_color { InitialValues::color() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-23 14:52:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ContentVisibility content_visibility { InitialValues::content_visibility() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<CursorData> cursor { InitialValues::cursor() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-18 12:21:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ImageRendering image_rendering { InitialValues::image_rendering() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 19:47:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::PointerEvents pointer_events { InitialValues::pointer_events() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 13:07:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Variant<LengthOrCalculated, NumberOrCalculated> tab_size { InitialValues::tab_size() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextAlign text_align { InitialValues::text_align() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-12 19:31:32 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextJustify text_justify { InitialValues::text_justify() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextTransform text_transform { InitialValues::text_transform() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-15 16:42:28 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthPercentage text_indent { InitialValues::text_indent() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 00:49:25 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextWrapMode text_wrap_mode { InitialValues::text_wrap_mode() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-16 18:32:31 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::WhiteSpaceCollapse white_space_collapse { InitialValues::white_space_collapse() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-25 16:47:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::WordBreak word_break { InitialValues::word_break() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-18 21:00:28 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthOrCalculated word_spacing { InitialValues::word_spacing() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-22 14:21:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        LengthOrCalculated letter_spacing { InitialValues::letter_spacing() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ListStyleType list_style_type { InitialValues::list_style_type() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-02 23:05:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ListStylePosition list_style_position { InitialValues::list_style_position() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 15:42:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Visibility visibility { InitialValues::visibility() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::QuotesData quotes { InitialValues::quotes() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-10 23:13:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Direction direction { InitialValues::direction() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-27 22:12:54 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::WritingMode writing_mode { InitialValues::writing_mode() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-16 12:28:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<SVGPaint> fill;
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-11 16:43:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::FillRule fill_rule { InitialValues::fill_rule() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-23 01:31:17 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<SVGPaint> stroke;
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        float fill_opacity { InitialValues::fill_opacity() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-20 19:23:10 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<Variant<LengthPercentage, NumberOrCalculated>> stroke_dasharray;
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage stroke_dashoffset { InitialValues::stroke_dashoffset() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-10 10:15:49 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::StrokeLinecap stroke_linecap { InitialValues::stroke_linecap() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-28 20:51:16 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::StrokeLinejoin stroke_linejoin { InitialValues::stroke_linejoin() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        NumberOrCalculated stroke_miterlimit { InitialValues::stroke_miterlimit() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        float stroke_opacity { InitialValues::stroke_opacity() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage stroke_width { InitialValues::stroke_width() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-19 19:12:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextAnchor text_anchor { InitialValues::text_anchor() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-12 20:19:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ClipRule clip_rule { InitialValues::clip_rule() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-06 21:09:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Vector<ShadowData> text_shadow;
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::MathShift math_shift { InitialValues::math_shift() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::MathStyle math_style { InitialValues::math_style() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-07 15:29:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        int math_depth { InitialValues::math_depth() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-26 22:36:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        ScrollbarColorData scrollbar_color { InitialValues::scrollbar_color() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    } m_inherited;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    struct {
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-08 15:25:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        AspectRatio aspect_ratio { InitialValues::aspect_ratio() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Float float_ { InitialValues::float_() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Clear clear { InitialValues::clear() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-31 18:47:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Clip clip { InitialValues::clip() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-07 14:41:50 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Display display { InitialValues::display() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<int> z_index;
							 | 
						
					
						
							
								
									
										
										
										
											2022-04-14 16:22:35 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        // FIXME: Store this as flags in a u8.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Vector<CSS::TextDecorationLine> text_decoration_line { InitialValues::text_decoration_line() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-06 19:48:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthPercentage text_decoration_thickness { InitialValues::text_decoration_thickness() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-20 20:27:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextDecorationStyle text_decoration_style { InitialValues::text_decoration_style() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-06 00:25:42 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color text_decoration_color { InitialValues::color() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 20:58:17 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TextOverflow text_overflow { InitialValues::text_overflow() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-27 15:17:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Positioning position { InitialValues::position() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-25 15:48:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Size width { InitialValues::width() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Size min_width { InitialValues::min_width() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Size max_width { InitialValues::max_width() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Size height { InitialValues::height() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Size min_height { InitialValues::min_height() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Size max_height { InitialValues::max_height() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-06 20:17:12 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthBox inset { InitialValues::inset() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthBox margin { InitialValues::margin() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::LengthBox padding { InitialValues::padding() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-11 12:44:54 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::Filter> backdrop_filter { InitialValues::backdrop_filter() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Optional<Gfx::Filter> filter { InitialValues::filter() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        BorderData border_left;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderData border_top;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderData border_right;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderData border_bottom;
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 19:26:32 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        bool has_noninitial_border_radii;
							 | 
						
					
						
							
								
									
										
										
										
											2022-06-12 15:05:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        BorderRadiusData border_bottom_left_radius;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderRadiusData border_bottom_right_radius;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderRadiusData border_top_left_radius;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        BorderRadiusData border_top_right_radius;
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color background_color { InitialValues::background_color() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 12:11:01 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<BackgroundLayerData> background_layers;
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-18 17:41:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::FlexDirection flex_direction { InitialValues::flex_direction() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-30 12:11:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::FlexWrap flex_wrap { InitialValues::flex_wrap() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-21 19:39:07 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::FlexBasis flex_basis { InitialValues::flex_basis() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:22:08 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        float flex_grow { InitialValues::flex_grow() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        float flex_shrink { InitialValues::flex_shrink() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-31 22:11:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        int order { InitialValues::order() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-14 13:50:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::AlignContent align_content { InitialValues::align_content() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-16 21:36:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::AlignItems align_items { InitialValues::align_items() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-11 23:52:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::AlignSelf align_self { InitialValues::align_self() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-22 16:05:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Appearance appearance { InitialValues::appearance() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-16 18:38:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::JustifyContent justify_content { InitialValues::justify_content() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 20:49:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::JustifyItems justify_items { InitialValues::justify_items() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 14:41:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::JustifySelf justify_self { InitialValues::justify_self() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-02-22 15:20:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Overflow overflow_x { InitialValues::overflow() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Overflow overflow_y { InitialValues::overflow() };
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:27:40 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        float opacity { InitialValues::opacity() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-23 16:55:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<ShadowData> box_shadow {};
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-18 17:20:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<CSS::Transformation> transformations {};
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-25 17:02:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TransformBox transform_box { InitialValues::transform_box() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 19:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TransformOrigin transform_origin {};
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 16:55:02 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::BoxSizing box_sizing { InitialValues::box_sizing() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-24 16:52:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ContentData content;
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-26 01:34:07 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Variant<CSS::VerticalAlign, CSS::LengthPercentage> vertical_align { InitialValues::vertical_align() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-21 18:08:41 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackSizeList grid_auto_columns;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackSizeList grid_auto_rows;
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 13:27:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackSizeList grid_template_columns;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackSizeList grid_template_rows;
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-17 20:25:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::GridAutoFlow grid_auto_flow { InitialValues::grid_auto_flow() };
							 | 
						
					
						
							
								
									
										
										
										
											2022-08-23 19:58:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackPlacement grid_column_end { InitialValues::grid_column_end() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackPlacement grid_column_start { InitialValues::grid_column_start() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackPlacement grid_row_end { InitialValues::grid_row_end() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::GridTrackPlacement grid_row_start { InitialValues::grid_row_start() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-06 18:30:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ColumnCount column_count { InitialValues::column_count() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Variant<LengthPercentage, NormalGap> column_gap { InitialValues::column_gap() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 20:23:55 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ColumnSpan column_span { InitialValues::column_span() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 19:58:14 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Size column_width { InitialValues::column_width() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Variant<LengthPercentage, NormalGap> row_gap { InitialValues::row_gap() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-16 18:17:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<Vector<String>> grid_template_areas { InitialValues::grid_template_areas() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-19 18:51:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Gfx::Color stop_color { InitialValues::stop_color() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        float stop_opacity { InitialValues::stop_opacity() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 22:05:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Time transition_delay { InitialValues::transition_delay() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Color outline_color { InitialValues::outline_color() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 20:09:10 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Length outline_offset { InitialValues::outline_offset() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::OutlineStyle outline_style { InitialValues::outline_style() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::Length outline_width { InitialValues::outline_width() };
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-07 01:32:52 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::TableLayout table_layout { InitialValues::table_layout() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 10:46:22 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ObjectFit object_fit { InitialValues::object_fit() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 11:33:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::ObjectPosition object_position { InitialValues::object_position() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 21:09:29 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::UnicodeBidi unicode_bidi { InitialValues::unicode_bidi() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-08 01:51:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::UserSelect user_select { InitialValues::user_select() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-11 01:34:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Isolation isolation { InitialValues::isolation() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-18 20:39:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::Containment contain { InitialValues::contain() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-22 09:50:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::MixBlendMode mix_blend_mode { InitialValues::mix_blend_mode() };
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 02:21:42 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        WhiteSpaceTrimData white_space_trim;
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-21 17:56:24 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<FlyString> view_transition_name;
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-16 18:44:49 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        TouchActionData touch_action;
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-08 01:51:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-16 08:50:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<CSS::Transformation> rotate;
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 16:42:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<CSS::Transformation> translate;
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 18:07:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<CSS::Transformation> scale;
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Optional<MaskReference> mask;
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-08 11:06:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        CSS::MaskType mask_type { InitialValues::mask_type() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-27 00:06:35 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Optional<ClipPathReference> clip_path;
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-15 15:18:27 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        RefPtr<CSS::AbstractImageStyleValue const> mask_image;
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-03 20:24:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage cx { InitialValues::cx() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage cy { InitialValues::cy() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage r { InitialValues::r() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage rx { InitialValues::rx() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage ry { InitialValues::ry() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-28 17:48:59 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage x { InitialValues::x() };
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        LengthPercentage y { InitialValues::x() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        CSS::ScrollbarWidth scrollbar_width { InitialValues::scrollbar_width() };
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 15:47:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        Vector<CounterData, 0> counter_increment;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Vector<CounterData, 0> counter_reset;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        Vector<CounterData, 0> counter_set;
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    } m_noninherited;
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 10:34:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								class ImmutableComputedValues final : public ComputedValues {
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 10:34:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								class MutableComputedValues final : public ComputedValues {
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								public:
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-03 12:49:13 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void inherit_from(ComputedValues const& other)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_inherited = static_cast<MutableComputedValues const&>(other).m_inherited;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_aspect_ratio(AspectRatio aspect_ratio) { m_noninherited.aspect_ratio = move(aspect_ratio); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-09 13:59:33 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_caret_color(Color caret_color) { m_inherited.caret_color = caret_color; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-15 15:48:14 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_list(NonnullRefPtr<Gfx::FontCascadeList const> font_list) { m_inherited.font_list = move(font_list); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-31 19:53:41 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_size(CSSPixels font_size) { m_inherited.font_size = font_size; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-21 16:24:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_weight(int font_weight) { m_inherited.font_weight = font_weight; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-12-05 01:19:03 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_alternates(Optional<Gfx::FontVariantAlternates> font_variant_alternates) { m_inherited.font_variant_alternates = font_variant_alternates; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_caps(FontVariantCaps font_variant_caps) { m_inherited.font_variant_caps = font_variant_caps; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_east_asian(Optional<Gfx::FontVariantEastAsian> font_variant_east_asian) { m_inherited.font_variant_east_asian = font_variant_east_asian; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_emoji(FontVariantEmoji font_variant_emoji) { m_inherited.font_variant_emoji = font_variant_emoji; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_ligatures(Optional<Gfx::FontVariantLigatures> font_variant_ligatures) { m_inherited.font_variant_ligatures = font_variant_ligatures; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_numeric(Optional<Gfx::FontVariantNumeric> font_variant_numeric) { m_inherited.font_variant_numeric = font_variant_numeric; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_font_variant_position(FontVariantPosition font_variant_position) { m_inherited.font_variant_position = font_variant_position; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-09-27 17:11:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_language_override(Optional<FlyString> font_language_override) { m_inherited.font_language_override = font_language_override; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:37:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_feature_settings(Optional<HashMap<FlyString, IntegerOrCalculated>> value) { m_inherited.font_feature_settings = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-01 09:20:06 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_font_variation_settings(Optional<HashMap<FlyString, NumberOrCalculated>> value) { m_inherited.font_variation_settings = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-12 15:34:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_line_height(CSSPixels line_height) { m_inherited.line_height = line_height; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-16 02:35:03 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_border_spacing_horizontal(CSS::Length border_spacing_horizontal) { m_inherited.border_spacing_horizontal = border_spacing_horizontal; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_border_spacing_vertical(CSS::Length border_spacing_vertical) { m_inherited.border_spacing_vertical = border_spacing_vertical; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-07 02:10:55 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_caption_side(CSS::CaptionSide caption_side) { m_inherited.caption_side = caption_side; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-06 19:43:46 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_color(Color color) { m_inherited.color = color; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-02 12:59:09 +11:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_color_scheme(CSS::PreferredColorScheme color_scheme) { m_inherited.color_scheme = color_scheme; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-31 18:47:09 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_clip(CSS::Clip const& clip) { m_noninherited.clip = clip; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-24 16:52:58 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_content(ContentData const& content) { m_noninherited.content = content; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-06-23 14:52:56 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_content_visibility(CSS::ContentVisibility content_visibility) { m_inherited.content_visibility = content_visibility; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-20 12:17:29 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_cursor(Vector<CursorData> cursor) { m_inherited.cursor = move(cursor); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-02-18 12:21:27 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_image_rendering(CSS::ImageRendering value) { m_inherited.image_rendering = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 19:47:13 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_pointer_events(CSS::PointerEvents value) { m_inherited.pointer_events = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-12-06 19:43:46 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_background_color(Color color) { m_noninherited.background_color = color; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-11-12 12:11:01 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_background_layers(Vector<BackgroundLayerData>&& layers) { m_noninherited.background_layers = move(layers); }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_float(CSS::Float value) { m_noninherited.float_ = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_clear(CSS::Clear value) { m_noninherited.clear = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_z_index(Optional<int> value) { m_noninherited.z_index = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_tab_size(Variant<LengthOrCalculated, NumberOrCalculated> value) { m_inherited.tab_size = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_align(CSS::TextAlign text_align) { m_inherited.text_align = text_align; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-12 19:31:32 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_justify(CSS::TextJustify text_justify) { m_inherited.text_justify = text_justify; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-04-14 16:22:35 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_decoration_line(Vector<CSS::TextDecorationLine> value) { m_noninherited.text_decoration_line = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-04 18:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_decoration_thickness(CSS::LengthPercentage value) { m_noninherited.text_decoration_thickness = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-01-20 20:27:55 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_decoration_style(CSS::TextDecorationStyle value) { m_noninherited.text_decoration_style = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-06 00:25:42 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_decoration_color(Color value) { m_noninherited.text_decoration_color = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_transform(CSS::TextTransform value) { m_inherited.text_transform = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-06 21:09:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_shadow(Vector<ShadowData>&& value) { m_inherited.text_shadow = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-15 16:42:28 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_indent(CSS::LengthPercentage value) { m_inherited.text_indent = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 00:49:25 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_wrap_mode(CSS::TextWrapMode value) { m_inherited.text_wrap_mode = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 20:58:17 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_overflow(CSS::TextOverflow value) { m_noninherited.text_overflow = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-07 19:41:18 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_webkit_text_fill_color(Color value) { m_inherited.webkit_text_fill_color = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-27 15:17:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_position(CSS::Positioning position) { m_noninherited.position = position; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-16 18:32:31 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_white_space_collapse(CSS::WhiteSpaceCollapse value) { m_inherited.white_space_collapse = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-18 02:21:42 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_white_space_trim(WhiteSpaceTrimData value) { m_noninherited.white_space_trim = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_word_spacing(CSS::LengthOrCalculated value) { m_inherited.word_spacing = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-25 16:47:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_word_break(CSS::WordBreak value) { m_inherited.word_break = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-22 14:21:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_letter_spacing(CSS::LengthOrCalculated value) { m_inherited.letter_spacing = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-25 15:48:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_width(CSS::Size const& width) { m_noninherited.width = width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_min_width(CSS::Size const& width) { m_noninherited.min_width = width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_max_width(CSS::Size const& width) { m_noninherited.max_width = width; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_height(CSS::Size const& height) { m_noninherited.height = height; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_min_height(CSS::Size const& height) { m_noninherited.min_height = height; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_max_height(CSS::Size const& height) { m_noninherited.max_height = height; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-27 15:42:23 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_inset(CSS::LengthBox const& inset) { m_noninherited.inset = inset; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_margin(const CSS::LengthBox& margin) { m_noninherited.margin = margin; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_padding(const CSS::LengthBox& padding) { m_noninherited.padding = padding; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-02-22 15:20:31 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_overflow_x(CSS::Overflow value) { m_noninherited.overflow_x = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_overflow_y(CSS::Overflow value) { m_noninherited.overflow_y = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_list_style_type(CSS::ListStyleType value) { m_inherited.list_style_type = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-02 23:05:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_list_style_position(CSS::ListStylePosition value) { m_inherited.list_style_position = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-07 14:41:50 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_display(CSS::Display value) { m_noninherited.display = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-11 12:44:54 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_backdrop_filter(Optional<Gfx::Filter> backdrop_filter) { m_noninherited.backdrop_filter = move(backdrop_filter); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_filter(Optional<Gfx::Filter> filter) { m_noninherited.filter = move(filter); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 19:26:32 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_border_bottom_left_radius(CSS::BorderRadiusData value)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.has_noninitial_border_radii = true;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.border_bottom_left_radius = move(value);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_border_bottom_right_radius(CSS::BorderRadiusData value)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.has_noninitial_border_radii = true;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.border_bottom_right_radius = move(value);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_border_top_left_radius(CSS::BorderRadiusData value)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.has_noninitial_border_radii = true;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.border_top_left_radius = move(value);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_border_top_right_radius(CSS::BorderRadiusData value)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.has_noninitial_border_radii = true;
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        m_noninherited.border_top_right_radius = move(value);
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-06 12:54:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    BorderData& border_left() { return m_noninherited.border_left; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData& border_top() { return m_noninherited.border_top; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData& border_right() { return m_noninherited.border_right; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    BorderData& border_bottom() { return m_noninherited.border_bottom; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-01-18 17:41:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_flex_direction(CSS::FlexDirection value) { m_noninherited.flex_direction = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-30 12:11:32 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_flex_wrap(CSS::FlexWrap value) { m_noninherited.flex_wrap = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-21 19:39:07 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_flex_basis(FlexBasis value) { m_noninherited.flex_basis = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:22:08 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_flex_grow(float value) { m_noninherited.flex_grow = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_flex_shrink(float value) { m_noninherited.flex_shrink = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-31 22:11:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_order(int value) { m_noninherited.order = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-03-18 20:49:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_accent_color(Color value) { m_inherited.accent_color = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-14 13:50:06 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_align_content(CSS::AlignContent value) { m_noninherited.align_content = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-15 18:27:20 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_align_items(CSS::AlignItems value) { m_noninherited.align_items = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-11 23:52:36 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_align_self(CSS::AlignSelf value) { m_noninherited.align_self = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-07-22 16:05:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_appearance(CSS::Appearance value) { m_noninherited.appearance = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-19 15:27:40 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_opacity(float value) { m_noninherited.opacity = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-16 18:38:26 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_justify_content(CSS::JustifyContent value) { m_noninherited.justify_content = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 20:49:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_justify_items(CSS::JustifyItems value) { m_noninherited.justify_items = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-14 14:41:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_justify_self(CSS::JustifySelf value) { m_noninherited.justify_self = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-23 16:55:22 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_box_shadow(Vector<ShadowData>&& value) { m_noninherited.box_shadow = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 16:11:33 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_rotate(CSS::Transformation value) { m_noninherited.rotate = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 18:07:16 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_scale(CSS::Transformation value) { m_noninherited.scale = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-18 17:20:00 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_transformations(Vector<CSS::Transformation> value) { m_noninherited.transformations = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-01-25 17:02:37 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_transform_box(CSS::TransformBox value) { m_noninherited.transform_box = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 19:38:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_transform_origin(CSS::TransformOrigin value) { m_noninherited.transform_origin = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-22 16:42:20 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_translate(CSS::Transformation value) { m_noninherited.translate = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 16:55:02 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_box_sizing(CSS::BoxSizing value) { m_noninherited.box_sizing = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-04 18:10:38 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_vertical_align(Variant<CSS::VerticalAlign, CSS::LengthPercentage> value) { m_noninherited.vertical_align = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-03-21 15:42:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_visibility(CSS::Visibility value) { m_inherited.visibility = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-21 18:08:41 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_grid_auto_columns(CSS::GridTrackSizeList value) { m_noninherited.grid_auto_columns = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_grid_auto_rows(CSS::GridTrackSizeList value) { m_noninherited.grid_auto_rows = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2022-10-30 13:27:57 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_grid_template_columns(CSS::GridTrackSizeList value) { m_noninherited.grid_template_columns = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_grid_template_rows(CSS::GridTrackSizeList value) { m_noninherited.grid_template_rows = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_grid_column_end(CSS::GridTrackPlacement value) { m_noninherited.grid_column_end = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_grid_column_start(CSS::GridTrackPlacement value) { m_noninherited.grid_column_start = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_grid_row_end(CSS::GridTrackPlacement value) { m_noninherited.grid_row_end = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_grid_row_start(CSS::GridTrackPlacement value) { m_noninherited.grid_row_start = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-06 18:30:57 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_column_count(CSS::ColumnCount value) { m_noninherited.column_count = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_column_gap(Variant<LengthPercentage, NormalGap> const& column_gap) { m_noninherited.column_gap = column_gap; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:23:13 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_column_span(CSS::ColumnSpan const column_span) { m_noninherited.column_span = column_span; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-20 19:58:14 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_column_width(CSS::Size const& column_width) { m_noninherited.column_width = column_width; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-09 17:38:09 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_row_gap(Variant<LengthPercentage, NormalGap> const& row_gap) { m_noninherited.row_gap = row_gap; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:23:13 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_border_collapse(CSS::BorderCollapse const border_collapse) { m_inherited.border_collapse = border_collapse; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-06-18 12:28:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_empty_cells(CSS::EmptyCells const empty_cells) { m_inherited.empty_cells = empty_cells; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-01-16 18:17:05 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_grid_template_areas(Vector<Vector<String>> const& grid_template_areas) { m_noninherited.grid_template_areas = grid_template_areas; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-17 20:25:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_grid_auto_flow(CSS::GridAutoFlow grid_auto_flow) { m_noninherited.grid_auto_flow = grid_auto_flow; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-27 22:05:48 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_transition_delay(CSS::Time const& transition_delay) { m_noninherited.transition_delay = transition_delay; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-07 01:32:52 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_table_layout(CSS::TableLayout value) { m_noninherited.table_layout = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-12 11:34:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_quotes(CSS::QuotesData value) { m_inherited.quotes = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 10:46:22 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_object_fit(CSS::ObjectFit value) { m_noninherited.object_fit = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-26 11:33:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_object_position(CSS::ObjectPosition value) { m_noninherited.object_position = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-08-10 23:13:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_direction(CSS::Direction value) { m_inherited.direction = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-03 21:09:29 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_unicode_bidi(CSS::UnicodeBidi value) { m_noninherited.unicode_bidi = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-27 22:12:54 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_writing_mode(CSS::WritingMode value) { m_inherited.writing_mode = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-08 01:51:29 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_user_select(CSS::UserSelect value) { m_noninherited.user_select = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-11 01:34:47 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_isolation(CSS::Isolation value) { m_noninherited.isolation = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-18 20:39:26 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_contain(CSS::Containment value) { m_noninherited.contain = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-22 09:50:49 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_mix_blend_mode(CSS::MixBlendMode value) { m_noninherited.mix_blend_mode = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-21 17:56:24 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_view_transition_name(Optional<FlyString> value) { m_noninherited.view_transition_name = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2025-03-16 18:44:49 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_touch_action(TouchActionData value) { m_noninherited.touch_action = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-16 12:28:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_fill(SVGPaint value) { m_inherited.fill = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_stroke(SVGPaint value) { m_inherited.stroke = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-06-11 16:43:46 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_fill_rule(CSS::FillRule value) { m_inherited.fill_rule = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_fill_opacity(float value) { m_inherited.fill_opacity = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-20 19:23:10 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_dasharray(Vector<Variant<LengthPercentage, NumberOrCalculated>> value) { m_inherited.stroke_dasharray = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-18 21:21:22 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_dashoffset(LengthPercentage value) { m_inherited.stroke_dashoffset = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-10 10:15:49 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_linecap(CSS::StrokeLinecap value) { m_inherited.stroke_linecap = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-10-28 20:51:16 -04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_linejoin(CSS::StrokeLinejoin value) { m_inherited.stroke_linejoin = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_miterlimit(NumberOrCalculated value) { m_inherited.stroke_miterlimit = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_opacity(float value) { m_inherited.stroke_opacity = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stroke_width(LengthPercentage value) { m_inherited.stroke_width = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-04-19 18:51:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stop_color(Color value) { m_noninherited.stop_color = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-05-19 20:35:39 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_stop_opacity(float value) { m_noninherited.stop_opacity = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-07-19 19:12:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_text_anchor(CSS::TextAnchor value) { m_inherited.text_anchor = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_outline_color(Color value) { m_noninherited.outline_color = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 20:09:10 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_outline_offset(CSS::Length value) { m_noninherited.outline_offset = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-08-02 17:24:14 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_outline_style(CSS::OutlineStyle value) { m_noninherited.outline_style = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_outline_width(CSS::Length value) { m_noninherited.outline_width = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-03 19:44:00 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_mask(MaskReference value) { m_noninherited.mask = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-10-08 11:06:34 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_mask_type(CSS::MaskType value) { m_noninherited.mask_type = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-16 03:25:48 +03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_mask_image(CSS::AbstractImageStyleValue const& value) { m_noninherited.mask_image = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_clip_path(ClipPathReference value) { m_noninherited.clip_path = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-05-12 20:19:43 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_clip_rule(CSS::ClipRule value) { m_inherited.clip_rule = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-03-03 20:24:11 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2024-11-30 18:28:56 +04:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_cx(LengthPercentage cx) { m_noninherited.cx = move(cx); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_cy(LengthPercentage cy) { m_noninherited.cy = move(cy); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_r(LengthPercentage r) { m_noninherited.r = move(r); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_rx(LengthPercentage rx) { m_noninherited.rx = move(rx); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_ry(LengthPercentage ry) { m_noninherited.ry = move(ry); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_x(LengthPercentage x) { m_noninherited.x = move(x); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_y(LengthPercentage y) { m_noninherited.y = move(y); }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-05 20:23:15 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_math_shift(CSS::MathShift value) { m_inherited.math_shift = value; }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_math_style(CSS::MathStyle value) { m_inherited.math_style = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2023-09-07 15:29:54 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_math_depth(int value) { m_inherited.math_depth = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2025-05-26 22:36:12 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_scrollbar_color(ScrollbarColorData value) { m_inherited.scrollbar_color = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2024-02-27 09:37:18 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    void set_scrollbar_width(CSS::ScrollbarWidth value) { m_noninherited.scrollbar_width = value; }
							 | 
						
					
						
							
								
									
										
										
										
											2024-07-24 15:47:11 +01:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_counter_increment(Vector<CounterData> value) { m_noninherited.counter_increment = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_counter_reset(Vector<CounterData> value) { m_noninherited.counter_reset = move(value); }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    void set_counter_set(Vector<CounterData> value) { m_noninherited.counter_set = move(value); }
							 | 
						
					
						
							
								
									
										
										
										
											2020-06-24 14:17:05 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								};
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 |