1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
// This file is automatically generated from CSSProperties.json by the process-css-properties.py script. Do not edit it.
#pragma once
#include <WebCore/StyleComputedStyleBase.h>
namespace WebCore {
namespace Style {
class ComputedStyleProperties : public ComputedStyleBase {
public:
// 'test-color'
inline const Style::Color& testColor() const;
inline void setTestColor(Style::Color&&);
static inline Style::Color initialTestColor();
inline decltype(auto) testColorResolver() const;
WebCore::Color testColorResolvingCurrentColor() const;
WebCore::Color testColorResolvingCurrentColorApplyingColorFilter() const;
WebCore::Color visitedDependentTestColor(OptionSet<PaintBehavior>) const;
WebCore::Color visitedDependentTestColorApplyingColorFilter(OptionSet<PaintBehavior>) const;
// 'test-color-allows-types-absolute'
inline const Style::Color& testColorAllowsTypesAbsolute() const;
inline void setTestColorAllowsTypesAbsolute(Style::Color&&);
static inline Style::Color initialTestColorAllowsTypesAbsolute();
inline decltype(auto) testColorAllowsTypesAbsoluteResolver() const;
WebCore::Color testColorAllowsTypesAbsoluteResolvingCurrentColor() const;
WebCore::Color testColorAllowsTypesAbsoluteResolvingCurrentColorApplyingColorFilter() const;
WebCore::Color visitedDependentTestColorAllowsTypesAbsolute(OptionSet<PaintBehavior>) const;
WebCore::Color visitedDependentTestColorAllowsTypesAbsoluteApplyingColorFilter(OptionSet<PaintBehavior>) const;
// 'test-color-property-with-visited-link-support'
inline const Style::Color& testColorPropertyWithVisitedLinkSupport() const;
inline void setTestColorPropertyWithVisitedLinkSupport(Style::Color&&);
static inline Style::Color initialTestColorPropertyWithVisitedLinkSupport();
inline const Style::Color& visitedLinkTestColorPropertyWithVisitedLinkSupport() const;
inline void setVisitedLinkTestColorPropertyWithVisitedLinkSupport(Style::Color&&);
inline decltype(auto) testColorPropertyWithVisitedLinkSupportResolver() const;
WebCore::Color testColorPropertyWithVisitedLinkSupportResolvingCurrentColor() const;
WebCore::Color testColorPropertyWithVisitedLinkSupportResolvingCurrentColorApplyingColorFilter() const;
WebCore::Color visitedLinkTestColorPropertyWithVisitedLinkSupportResolvingCurrentColor() const;
WebCore::Color visitedLinkTestColorPropertyWithVisitedLinkSupportResolvingCurrentColorApplyingColorFilter() const;
WebCore::Color visitedDependentTestColorPropertyWithVisitedLinkSupport(OptionSet<PaintBehavior>) const;
WebCore::Color visitedDependentTestColorPropertyWithVisitedLinkSupportApplyingColorFilter(OptionSet<PaintBehavior>) const;
// 'test-render-style-has-explicitly-set-policy-all-author-origin'
inline Style::Number<> testRenderStyleHasExplicitlySetPolicyAllAuthorOrigin() const;
inline void setTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin(Style::Number<>);
static inline Style::Number<> initialTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin();
inline bool hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin() const;
inline void setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin(bool);
// 'test-render-style-has-explicitly-set-policy-all-border-radius'
inline Style::Number<> testRenderStyleHasExplicitlySetPolicyAllBorderRadius() const;
inline void setTestRenderStyleHasExplicitlySetPolicyAllBorderRadius(Style::Number<>);
static inline Style::Number<> initialTestRenderStyleHasExplicitlySetPolicyAllBorderRadius();
inline bool hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius() const;
inline void setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius(bool);
// 'test-render-style-has-explicitly-set-policy-value-only'
inline Style::Number<> testRenderStyleHasExplicitlySetPolicyValueOnly() const;
inline void setTestRenderStyleHasExplicitlySetPolicyValueOnly(Style::Number<>);
static inline Style::Number<> initialTestRenderStyleHasExplicitlySetPolicyValueOnly();
inline bool hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly() const;
inline void setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly(bool);
// 'test-render-style-storage-one-level-enum'
inline Style::TestEnumeration testRenderStyleStorageOneLevelEnum() const;
inline void setTestRenderStyleStorageOneLevelEnum(Style::TestEnumeration);
static constexpr Style::TestEnumeration initialTestRenderStyleStorageOneLevelEnum();
// 'test-render-style-storage-one-level-raw'
inline Style::TestRaw testRenderStyleStorageOneLevelRaw() const;
inline void setTestRenderStyleStorageOneLevelRaw(Style::TestRaw);
static constexpr Style::TestRaw initialTestRenderStyleStorageOneLevelRaw();
// 'test-render-style-storage-one-level-reference'
inline const Style::Number<>& testRenderStyleStorageOneLevelReference() const;
inline void setTestRenderStyleStorageOneLevelReference(Style::Number<>&&);
static inline Style::Number<> initialTestRenderStyleStorageOneLevelReference();
// 'test-render-style-storage-one-level-value'
inline Style::Number<> testRenderStyleStorageOneLevelValue() const;
inline void setTestRenderStyleStorageOneLevelValue(Style::Number<>);
static inline Style::Number<> initialTestRenderStyleStorageOneLevelValue();
// 'test-render-style-storage-two-level-enum'
inline Style::TestEnumeration testRenderStyleStorageTwoLevelEnum() const;
inline void setTestRenderStyleStorageTwoLevelEnum(Style::TestEnumeration);
static constexpr Style::TestEnumeration initialTestRenderStyleStorageTwoLevelEnum();
// 'test-render-style-storage-two-level-raw'
inline Style::TestRaw testRenderStyleStorageTwoLevelRaw() const;
inline void setTestRenderStyleStorageTwoLevelRaw(Style::TestRaw);
static constexpr Style::TestRaw initialTestRenderStyleStorageTwoLevelRaw();
// 'test-render-style-storage-two-level-reference'
inline const Style::Number<>& testRenderStyleStorageTwoLevelReference() const;
inline void setTestRenderStyleStorageTwoLevelReference(Style::Number<>&&);
static inline Style::Number<> initialTestRenderStyleStorageTwoLevelReference();
// 'test-render-style-storage-two-level-value'
inline Style::Number<> testRenderStyleStorageTwoLevelValue() const;
inline void setTestRenderStyleStorageTwoLevelValue(Style::Number<>);
static inline Style::Number<> initialTestRenderStyleStorageTwoLevelValue();
// 'test-logical-property-group-physical-horizontal'
inline Style::Number<> testLogicalPropertyGroupPhysicalHorizontal() const;
inline void setTestLogicalPropertyGroupPhysicalHorizontal(Style::Number<>);
static inline Style::Number<> initialTestLogicalPropertyGroupPhysicalHorizontal();
// 'test-logical-property-group-physical-vertical'
inline Style::Number<> testLogicalPropertyGroupPhysicalVertical() const;
inline void setTestLogicalPropertyGroupPhysicalVertical(Style::Number<>);
static inline Style::Number<> initialTestLogicalPropertyGroupPhysicalVertical();
// Logical getters and setters for 'test-group' properties of type 'axis'.
inline Style::Number<> logicalTestLogicalPropertyGroupPhysicalHorizontal(WritingMode) const;
inline Style::Number<> logicalTestLogicalPropertyGroupPhysicalVertical(WritingMode) const;
inline Style::Number<> logicalTestLogicalPropertyGroupPhysicalHorizontal() const;
inline Style::Number<> logicalTestLogicalPropertyGroupPhysicalVertical() const;
inline void setLogicalTestLogicalPropertyGroupPhysicalHorizontal(Style::Number<>);
inline void setLogicalTestLogicalPropertyGroupPhysicalVertical(Style::Number<>);
protected:
ComputedStyleProperties(ComputedStyleProperties&&) = default;
ComputedStyleProperties& operator=(ComputedStyleProperties&&) = default;
ComputedStyleProperties(CreateDefaultStyleTag tag) : ComputedStyleBase { tag } { }
ComputedStyleProperties(const ComputedStyleProperties& other, CloneTag tag) : ComputedStyleBase { other, tag } { }
ComputedStyleProperties(ComputedStyleProperties& a, ComputedStyleProperties&& b) : ComputedStyleBase { a, WTF::move(b) } { }
};
template<> struct ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColor>> {
static inline const Color& color(const ComputedStyleProperties&);
};
template<> struct ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorAllowsTypesAbsolute>> {
static inline const Color& color(const ComputedStyleProperties&);
};
template<> struct ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorPropertyWithVisitedLinkSupport>> {
static inline const Color& color(const ComputedStyleProperties&);
static inline const Color& visitedLinkColor(const ComputedStyleProperties&);
};
} // namespace WebCore
} // namespace Style
|