1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:55:06 +00:00
serenity/Userland/Libraries/LibWeb/CSS
Andreas Kling 55ad9591df LibWeb: Add a way to ask if a PercentageOr<T> value contains percentages
Values that contain percentages require special treatment in various
parts of layout. Previously we had no way of peeking into calc() values
to see if their expression contains one or more percentages. That's the
bulk of what we're adding here.
2022-09-14 14:43:17 +02:00
..
Parser Everywhere: Fix a variety of typos 2022-09-14 04:46:49 +00:00
SyntaxHighlighter LibWeb: Move Token and Tokenizer into Parser namespace 2022-04-12 23:03:46 +02:00
Angle.cpp LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
Angle.h LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
Clip.cpp LibWeb: Use rect value in CSS clip property 2022-08-07 22:40:11 +02:00
Clip.h LibWeb: Use rect value in CSS clip property 2022-08-07 22:40:11 +02:00
ComputedValues.h LibWeb: Make default CSS font settings match other browsers better 2022-09-08 12:43:49 +02:00
CSSConditionRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSConditionRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSConditionRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSFontFaceRule.cpp LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
CSSFontFaceRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSFontFaceRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSGroupingRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSGroupingRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSGroupingRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSImportRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSImportRule.h LibWeb: Make CSSImportList mark its document 2022-09-06 00:27:09 +02:00
CSSImportRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSMediaRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSMediaRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSMediaRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSRuleList.cpp LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
CSSRuleList.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSRuleList.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSStyleDeclaration.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSStyleDeclaration.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSStyleDeclaration.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSStyleRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSStyleRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSStyleRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
CSSStyleSheet.cpp LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
CSSStyleSheet.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSStyleSheet.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSSSupportsRule.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
CSSSupportsRule.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CSSSupportsRule.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
Default.css LibWeb: Make default CSS font settings match other browsers better 2022-09-08 12:43:49 +02:00
Display.cpp LibWeb: Don't crash on unknown CSS display types, fall back to inline 2022-02-13 01:03:49 +01:00
Display.h LibWeb: Fix typo in CSS::Display::is_outside_and_inside() name 2022-04-13 16:40:46 +02:00
Enums.json LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +02:00
FontFace.cpp LibWeb: Parse @font-face unicode-range descriptor 2022-04-07 21:20:14 +02:00
FontFace.h LibWeb: Understand the format() part of a @font-face's src 2022-04-07 21:20:14 +02:00
Frequency.cpp LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
Frequency.h LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
GeneralEnclosed.h LibWeb: Implement independent GeneralEnclosed class 2021-11-24 22:57:46 +01:00
GridTrackPlacement.cpp LibWeb: Allow having auto GridTrackPlacements 2022-09-14 00:09:14 +02:00
GridTrackPlacement.h LibWeb: Allow having auto GridTrackPlacements 2022-09-14 00:09:14 +02:00
GridTrackSize.cpp LibWeb: Add helper function for creating auto GridTrackSizes 2022-09-14 00:09:14 +02:00
GridTrackSize.h LibWeb: Add spec utility function for GridTrackSize 2022-09-14 00:09:14 +02:00
Identifiers.json LibWeb: Implement appearance CSS property 2022-07-23 01:45:49 +02:00
Length.cpp LibWeb: Avoid copying viewport rect when converting length to pixels 2022-09-11 22:08:38 +01:00
Length.h LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
LengthBox.h LibWeb: Stop including StyleValue.h in a few places 2022-04-14 14:54:06 +02:00
LinkStyle.idl LibWeb: Extract the LinkStyle IDL mixin 2022-07-29 17:15:49 +01:00
MediaFeatures.json LibWeb: Add missing MEDIAQUERIES-5 media-features 2022-03-16 22:07:53 +01:00
MediaList.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
MediaList.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
MediaList.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
MediaQuery.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
MediaQuery.h LibWeb: Extract MediaType to/from_string() logic into functions 2022-04-29 00:07:31 +02:00
MediaQueryList.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
MediaQueryList.h LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
MediaQueryList.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00
MediaQueryListEvent.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
MediaQueryListEvent.h LibWeb: Use the WRAPPER_HACK() macro instead of hand-coding wrap() 2022-09-06 00:27:09 +02:00
MediaQueryListEvent.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
Number.h LibWeb: Add missing Formatters for CSS dimension types 2022-07-27 17:03:55 +02:00
Percentage.cpp LibWeb: Stop handling impossible Percentage return values 2022-07-21 16:36:08 +02:00
Percentage.h LibWeb: Add a way to ask if a PercentageOr<T> value contains percentages 2022-09-14 14:43:17 +02:00
PreferredColorScheme.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
PreferredColorScheme.h LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
Properties.json LibWeb: Parse grid-column and grid-row CSS values 2022-08-25 13:47:48 +02:00
QuirksMode.css Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Ratio.cpp LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
Ratio.h LibWeb+AudioServer: Remove unused spaceship operators 2022-04-23 10:43:32 -07:00
Resolution.cpp LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
Resolution.h LibWeb: Implement CSS Resolution class 2022-02-24 08:04:25 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
ResolvedCSSStyleDeclaration.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
Screen.cpp LibWeb: Make CSS::Screen GC-allocated 2022-09-06 00:27:09 +02:00
Screen.h LibWeb: Make CSS::Screen GC-allocated 2022-09-06 00:27:09 +02:00
Screen.idl LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
Selector.cpp LibWeb: Parse the -webkit-progress-bar/value pseudo elements 2022-07-23 01:45:49 +02:00
Selector.h LibWeb: Parse the -webkit-progress-bar/value pseudo elements 2022-07-23 01:45:49 +02:00
SelectorEngine.cpp LibWeb: Make :enabled and :disabled selector handling more idiomatic 2022-07-27 17:29:48 +02:00
SelectorEngine.h LibWeb: Match styles for pseudo-elements 2022-02-25 19:35:34 +01:00
Serialize.cpp LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
Serialize.h LibWeb: Add partial serialization for CSSFontFaceRule 2022-09-14 10:50:33 +01:00
StyleComputer.cpp LibWeb: Keep CSS sheets sorted in document tree order 2022-09-09 15:20:10 +02:00
StyleComputer.h LibWeb: Make CSSRule and all its subclasses GC-allocated 2022-09-06 00:27:09 +02:00
StyleProperties.cpp LibWeb: Parse grid-column-start and related CSS properties 2022-08-25 13:47:48 +02:00
StyleProperties.h LibWeb: Parse grid-column-start and related CSS properties 2022-08-25 13:47:48 +02:00
StyleSheet.cpp LibWeb: Use cached_web_prototype() as much as possible 2022-09-06 00:27:09 +02:00
StyleSheet.h LibWeb: Make StyleSheet mark its owner node 2022-09-06 00:27:09 +02:00
StyleSheet.idl LibWeb: Add the StyleSheet.href attribute 2022-03-09 19:56:08 +01:00
StyleSheetList.cpp LibWeb: Keep CSS sheets sorted in document tree order 2022-09-09 15:20:10 +02:00
StyleSheetList.h LibWeb: Keep CSS sheets sorted in document tree order 2022-09-09 15:20:10 +02:00
StyleSheetList.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
StyleValue.cpp LibWeb: Add a way to ask if a PercentageOr<T> value contains percentages 2022-09-14 14:43:17 +02:00
StyleValue.h LibWeb: Add a way to ask if a PercentageOr<T> value contains percentages 2022-09-14 14:43:17 +02:00
Supports.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Supports.h LibWeb: Implement @supports serialization 2022-05-11 20:16:10 +02:00
Time.cpp LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
Time.h LibWeb: Ensure PercentageOr<T>::resolved() returns a concrete T 2022-07-27 17:03:55 +02:00
TransformFunctions.json LibWeb: Add code generator for CSS transform functions 2022-04-18 14:16:28 +02:00
UnicodeRange.h LibWeb: Add CSS::UnicodeRange class 2022-04-07 21:20:14 +02:00