1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-25 05:12:06 +00:00
serenity/Userland/Libraries/LibWeb/CSS
MacDue a9ea0ee9af LibWeb: Fix passing size/position to paint_radial_gradient()
This was wrong twice making it right... But let's fix that.

The center was being passed as a DevicePixelPoint, but was in fact in
CSS pixels, the size was passed as a Gfx::FloatSize but was in
CSS pixels again. Then we were scaling from device pixels to CSS pixels
when painting which does not need to be done if everything is passed
which the correct scale factors already applied.
2022-12-20 11:03:18 +01:00
..
Parser LibWeb: Support calc() values in background-position 2022-12-11 22:09:24 +01:00
SyntaxHighlighter LibSyntax: Teach each highlighter about it's comment syntax 2022-11-27 18:28:43 -07:00
Angle.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Angle.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
BackdropFilter.h
Clip.cpp
Clip.h
ComputedValues.h Meta+Userland: Pass Gfx::Color by value 2022-12-07 11:48:27 +01:00
CSSConditionRule.cpp LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
CSSConditionRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSConditionRule.idl
CSSFontFaceRule.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSFontFaceRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSFontFaceRule.idl
CSSGroupingRule.cpp LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
CSSGroupingRule.h LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
CSSGroupingRule.idl
CSSImportRule.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSImportRule.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSImportRule.idl
CSSMediaRule.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSMediaRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSMediaRule.idl
CSSRule.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSRule.idl
CSSRuleList.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
CSSRuleList.h LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
CSSRuleList.idl
CSSStyleDeclaration.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
CSSStyleDeclaration.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSStyleDeclaration.idl LibWeb: Implement CSSStyleDeclaration.cssText 2022-11-07 14:10:41 +01:00
CSSStyleRule.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSStyleRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSStyleRule.idl
CSSStyleSheet.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSStyleSheet.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSStyleSheet.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
CSSSupportsRule.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
CSSSupportsRule.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
CSSSupportsRule.idl
Default.css LibWeb: Support displaying HTMLInputElement placeholder values 2022-12-01 11:18:11 -05:00
Display.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Display.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Enums.json LibWeb: Parse the CSS align-content property 2022-10-14 19:50:15 +02:00
FontFace.cpp
FontFace.h
Frequency.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Frequency.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
GeneralEnclosed.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
GridTrackPlacement.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
GridTrackPlacement.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
GridTrackSize.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
GridTrackSize.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Identifiers.json
Length.cpp LibWeb: Allow creating Lengths from CSSPixels 2022-12-10 12:03:19 +00:00
Length.h LibWeb: Allow creating Lengths from CSSPixels 2022-12-10 12:03:19 +00:00
LengthBox.cpp
LengthBox.h
LinkStyle.idl
MediaFeatures.json
MediaList.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
MediaList.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MediaList.idl
MediaQuery.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MediaQuery.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MediaQueryList.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
MediaQueryList.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MediaQueryList.idl
MediaQueryListEvent.cpp LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
MediaQueryListEvent.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MediaQueryListEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Number.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Percentage.cpp
Percentage.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
PreferredColorScheme.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
PreferredColorScheme.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Properties.json LibWeb: Parse CSS gap property 2022-11-07 10:06:07 +01:00
QuirksMode.css
Ratio.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Ratio.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Resolution.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Resolution.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
ResolvedCSSStyleDeclaration.cpp LibWeb: Use HashMap::try_ensure_capacity in StyleComputer 2022-12-10 14:29:46 +01:00
ResolvedCSSStyleDeclaration.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Screen.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Screen.h LibWeb: Remove unecessary dependence on Window from CSS classes 2022-10-01 21:05:32 +01:00
Screen.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Selector.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Selector.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SelectorEngine.cpp
SelectorEngine.h
Serialize.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Serialize.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Size.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Size.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
StyleComputer.cpp LibWeb: Use HashMap::try_ensure_capacity in StyleComputer 2022-12-10 14:29:46 +01:00
StyleComputer.h LibWeb: Use HashMap::try_ensure_capacity in StyleComputer 2022-12-10 14:29:46 +01:00
StyleProperties.cpp LibWeb: Remove unused StyleProperties::length_or_fallback function 2022-12-10 11:46:12 +00:00
StyleProperties.h LibWeb: Remove unused StyleProperties::length_or_fallback function 2022-12-10 11:46:12 +00:00
StyleSheet.cpp LibWeb: Respect media attribute of style tag 2022-11-14 14:47:37 +00:00
StyleSheet.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
StyleSheet.idl LibWeb: Respect media attribute of style tag 2022-11-14 14:47:37 +00:00
StyleSheetList.cpp LibWeb: Don't invalidate style when adding/removing empty style sheet 2022-10-29 15:16:57 +02:00
StyleSheetList.h
StyleSheetList.idl
StyleValue.cpp LibWeb: Fix passing size/position to paint_radial_gradient() 2022-12-20 11:03:18 +01:00
StyleValue.h Meta+Userland: Pass Gfx::FloatSize by value 2022-12-07 11:48:27 +01:00
Supports.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Supports.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Time.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Time.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
TransformFunctions.json LibWeb: Support translate3d 2022-11-02 11:04:23 +00:00
UnicodeRange.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00