ladybird/Userland/Libraries/LibWeb/CSS
Sam Atkins 35f64af3a4 LibWeb: Implement CalculationResult type for calc() results
calc() sub-expressions can return a variety of different types, which
then can be combined using the basic arithmetic operators. This class
should make that easier to deal with, instead of having to handle all
the possible combinations at each call site. :^)

We take the Layout::Node as a pointer not a reference, since later we'll
need to call these functions when resolving to `<number>` or `<integer>`
which don't use those, and we don't want to force users to pass them in
unnecessarily.
2022-02-04 13:52:02 +01:00
..
Parser LibWeb: Resolve type of calc() expressions at parse-time 2022-02-04 13:52:02 +01:00
SyntaxHighlighter LibWeb: Implement first draft of CSS syntax highlighting :^) 2021-10-23 19:07:44 +02:00
.gitignore Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ComputedValues.h LibWeb: Add new property 'text-decoration-style' 2022-01-23 15:48:27 +03:30
CSSConditionRule.cpp LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSConditionRule.h LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSConditionRule.idl LibWeb: Add CSSConditionRule 2021-09-29 18:57:48 +02:00
CSSGroupingRule.cpp LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSGroupingRule.h LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSGroupingRule.idl LibWeb: Add CSSGroupingRule 2021-09-29 18:57:48 +02:00
CSSImportRule.cpp LibWeb: Make CSSImportRule::m_document a WeakPtr 2021-12-06 19:22:16 +01:00
CSSImportRule.h Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
CSSMediaRule.cpp LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSMediaRule.h LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSRule.cpp LibWeb: Use W3C urls for CSSOM spec links 2021-10-15 21:05:35 +01:00
CSSRule.h LibWeb: Make CSSStyleSheet::m_owner_css_rule a WeakPtr 2021-12-06 19:22:16 +01:00
CSSRule.idl LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
CSSRuleList.cpp LibWeb: Remove duplicate checks in for_each_effective_style_rule() 2022-01-23 01:22:41 +01:00
CSSRuleList.h LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSRuleList.idl LibWeb: Make CSSRule and CSSRuleList available to JavaScript :^) 2021-09-29 21:21:57 +02:00
CSSStyleDeclaration.cpp LibWeb: Use W3C urls for CSSOM spec links 2021-10-15 21:05:35 +01:00
CSSStyleDeclaration.h LibWeb: Include custom properties in CSS dump 2021-12-09 21:30:31 +01:00
CSSStyleDeclaration.idl LibWeb: Support simplest form of CSSStyleDeclaration.setProperty() 2021-09-26 19:07:03 +02:00
CSSStyleRule.cpp LibWeb: Serialize selectors only in CSSStyleRule::selector_text() 2021-10-16 15:16:27 +01:00
CSSStyleRule.h LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
CSSStyleRule.idl LibWeb: Have CSSStyleRule inherit from CSSRule in IDL 2021-10-03 16:39:17 +02:00
CSSStyleSheet.cpp LibWeb: Remove for_first_not_loaded_import_rule() :^) 2021-11-18 21:11:19 +01:00
CSSStyleSheet.h LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr 2021-12-06 19:22:16 +01:00
CSSStyleSheet.idl LibWeb: Add CSSStyleSheet.{insert,delete,remove}Rule() APIs 2021-09-29 21:21:57 +02:00
CSSSupportsRule.cpp LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
CSSSupportsRule.h LibWeb: Add serialization code for CSS{Media,Supports}Rule 2021-10-15 18:12:20 +01:00
Default.css LibWeb: Make attribute hidden have an effect; hide some other elements 2022-01-22 01:28:42 +00:00
Display.h LibWeb: Add missing headers 2021-10-20 09:20:18 +01:00
GeneralEnclosed.h LibWeb: Implement independent GeneralEnclosed class 2021-11-24 22:57:46 +01:00
Identifiers.json LibWeb: Remove media-query-related identifiers from identifiers.json 2022-01-02 15:43:51 +01:00
Length.cpp LibWeb: Replace Length::set_calculated_style() with ::make_calculated() 2022-02-04 13:52:02 +01:00
Length.h LibWeb: Replace Length::set_calculated_style() with ::make_calculated() 2022-02-04 13:52:02 +01:00
LengthBox.h LibWeb: Convert width/height and min-/max- versions to LengthPercentage 2022-01-20 00:04:10 +01:00
MediaList.cpp LibWeb: Move media-query-list serialization code to MediaQuery.{h,cpp} 2021-10-15 18:12:20 +01:00
MediaList.h LibWeb: Implement MediaQuery matching :^) 2021-10-05 18:51:39 +02:00
MediaList.idl LibWeb: Add MediaList 2021-10-01 20:03:03 +02:00
MediaQuery.cpp AK+Everywhere: Make Variant::visit() respect the Variant's constness 2022-01-14 11:35:40 +03:30
MediaQuery.h LibWeb: Support range syntax for media queries 2022-01-02 15:43:51 +01:00
MediaQueryList.cpp LibCore: Make LocalServer::take_over_from_system_server() return ErrorOr 2021-12-06 19:22:16 +01:00
MediaQueryList.h LibCore: Make LocalServer::take_over_from_system_server() return ErrorOr 2021-12-06 19:22:16 +01:00
MediaQueryList.idl LibWeb: Implement MediaQueryList.onchange 2021-10-01 01:35:30 +01:00
MediaQueryListEvent.h LibWeb: Fire MediaQueryListEvents when an MQL's match-state changes 2021-10-05 18:51:39 +02:00
MediaQueryListEvent.idl LibWeb: Fire MediaQueryListEvents when an MQL's match-state changes 2021-10-05 18:51:39 +02:00
Percentage.h LibWeb: Add Formatters for Length, Percentage and LengthPercentage 2022-01-20 00:04:10 +01:00
PreferredColorScheme.cpp LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
PreferredColorScheme.h LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
Properties.json LibWeb: Add none as a valid identifier for fill and stroke 2022-01-24 17:04:00 +01:00
QuirksMode.css Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Allow comma- or space-separated StyleValueLists 2022-02-03 00:45:49 +01:00
ResolvedCSSStyleDeclaration.h LibWeb: Implement CSSRule and CSSStyleDeclaration serialization 2021-10-01 20:17:15 +02:00
Screen.cpp LibWeb: Make CSS::Screen forward its ref count to DOM::Window 2021-12-09 21:28:52 +01:00
Screen.h LibWeb: Make CSS::Screen forward its ref count to DOM::Window 2021-12-09 21:28:52 +01:00
Screen.idl LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
Selector.cpp LibWeb: Use the serialize_a_{identifier,string} algorithms for selectors 2021-10-16 15:16:27 +01:00
Selector.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
SelectorEngine.cpp LibWeb: Remove duplicate type checks in SelectorEngine 2022-01-23 01:22:41 +01:00
SelectorEngine.h LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const 2021-07-14 13:31:00 +02:00
Serialize.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Serialize.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
StyleComputer.cpp LibWeb: Replace Length::set_calculated_style() with ::make_calculated() 2022-02-04 13:52:02 +01:00
StyleComputer.h LibWeb: Teach StyleComputer about "Automatic Box Type Transformation" 2022-01-24 14:44:46 +01:00
StyleInvalidator.cpp LibWeb: Avoid unnecessary copies in StyleInvalidator 2022-01-01 15:40:39 +01:00
StyleInvalidator.h LibWeb: Rename CSS::StyleResolver => StyleComputer 2021-09-24 15:12:15 +02:00
StyleProperties.cpp LibWeb: Replace Length::set_calculated_style() with ::make_calculated() 2022-02-04 13:52:02 +01:00
StyleProperties.h LibWeb: Add new property 'text-decoration-style' 2022-01-23 15:48:27 +03:30
StyleSheet.cpp LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr 2021-12-06 19:22:16 +01:00
StyleSheet.h LibWeb: Make StyleSheet::m_parent_style_sheet a WeakPtr 2021-12-06 19:22:16 +01:00
StyleSheet.idl LibWeb: Reimplement the <style> element following the spec 2021-09-30 00:00:55 +02:00
StyleSheetList.cpp LibWeb: Use W3C urls for CSSOM spec links 2021-10-15 21:05:35 +01:00
StyleSheetList.h LibWeb: Evaluate @media rules 2021-10-08 23:02:57 +02:00
StyleSheetList.idl LibWeb: Make StyleSheetList.item an IDL getter 2021-09-29 14:57:59 +01:00
StyleValue.cpp LibWeb: Implement CalculationResult type for calc() results 2022-02-04 13:52:02 +01:00
StyleValue.h LibWeb: Implement CalculationResult type for calc() results 2022-02-04 13:52:02 +01:00
Supports.cpp LibWeb: Remove unknown value in @supports query logic 2022-01-19 21:44:45 +00:00
Supports.h LibWeb: Remove unknown value in @supports query logic 2022-01-19 21:44:45 +00:00