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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
// This file is automatically generated from CSSProperties.json by the process-css-properties.py script. Do not edit it.
#pragma once
#ifndef COMPUTED_STYLE_PROPERTIES_GETTERS_INLINES_INCLUDE_TRAP
#error "Please do not include this file anywhere except from StyleComputedStyle+GettersInlines.h."
#endif
#include <WebCore/StyleComputedStyleProperties+GettersCustomInlines.h>
namespace WebCore {
namespace Style {
inline const Style::Color& ComputedStyleProperties::testColor() const
{
return level1->testColor;
}
inline decltype(auto) ComputedStyleProperties::testColorResolver() const
{
return ColorPropertyResolver<ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColor>>> { *this };
}
inline const Style::Color& ComputedStyleProperties::testColorAllowsTypesAbsolute() const
{
return level1->testColorAllowsTypesAbsolute;
}
inline decltype(auto) ComputedStyleProperties::testColorAllowsTypesAbsoluteResolver() const
{
return ColorPropertyResolver<ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorAllowsTypesAbsolute>>> { *this };
}
inline const Style::Color& ComputedStyleProperties::testColorPropertyWithVisitedLinkSupport() const
{
return level1->testColorPropertyWithVisitedLinkSupport;
}
inline const Style::Color& ComputedStyleProperties::visitedLinkTestColorPropertyWithVisitedLinkSupport() const
{
return level1->level2->visitedLinkTestColorPropertyWithVisitedLinkSupport;
}
inline decltype(auto) ComputedStyleProperties::testColorPropertyWithVisitedLinkSupportResolver() const
{
return ColorPropertyResolver<ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorPropertyWithVisitedLinkSupport>>> { *this };
}
inline Style::Number<> ComputedStyleProperties::testRenderStyleHasExplicitlySetPolicyAllAuthorOrigin() const
{
return level1->level2->testRenderStyleHasExplicitlySetPolicyAllAuthorOrigin;
}
inline bool ComputedStyleProperties::hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin() const
{
return level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin;
}
inline Style::Number<> ComputedStyleProperties::testRenderStyleHasExplicitlySetPolicyAllBorderRadius() const
{
return level1->level2->testRenderStyleHasExplicitlySetPolicyAllBorderRadius;
}
inline bool ComputedStyleProperties::hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius() const
{
return level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius;
}
inline Style::Number<> ComputedStyleProperties::testRenderStyleHasExplicitlySetPolicyValueOnly() const
{
return level1->level2->testRenderStyleHasExplicitlySetPolicyValueOnly;
}
inline bool ComputedStyleProperties::hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly() const
{
return level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly;
}
inline Style::TestEnumeration ComputedStyleProperties::testRenderStyleStorageOneLevelEnum() const
{
return static_cast<Style::TestEnumeration>(level1->testRenderStyleStorageOneLevelEnum);
}
inline Style::TestRaw ComputedStyleProperties::testRenderStyleStorageOneLevelRaw() const
{
return Style::TestRaw::fromRaw(level1->testRenderStyleStorageOneLevelRaw);
}
inline const Style::Number<>& ComputedStyleProperties::testRenderStyleStorageOneLevelReference() const
{
return level1->testRenderStyleStorageOneLevelReference;
}
inline Style::Number<> ComputedStyleProperties::testRenderStyleStorageOneLevelValue() const
{
return level1->testRenderStyleStorageOneLevelValue;
}
inline Style::TestEnumeration ComputedStyleProperties::testRenderStyleStorageTwoLevelEnum() const
{
return static_cast<Style::TestEnumeration>(level1->level2->testRenderStyleStorageTwoLevelEnum);
}
inline Style::TestRaw ComputedStyleProperties::testRenderStyleStorageTwoLevelRaw() const
{
return Style::TestRaw::fromRaw(level1->level2->testRenderStyleStorageTwoLevelRaw);
}
inline const Style::Number<>& ComputedStyleProperties::testRenderStyleStorageTwoLevelReference() const
{
return level1->level2->testRenderStyleStorageTwoLevelReference;
}
inline Style::Number<> ComputedStyleProperties::testRenderStyleStorageTwoLevelValue() const
{
return level1->level2->testRenderStyleStorageTwoLevelValue;
}
inline Style::Number<> ComputedStyleProperties::testLogicalPropertyGroupPhysicalHorizontal() const
{
return level1->testLogicalPropertyGroupPhysicalHorizontal;
}
inline Style::Number<> ComputedStyleProperties::testLogicalPropertyGroupPhysicalVertical() const
{
return level1->testLogicalPropertyGroupPhysicalVertical;
}
inline Style::Number<> ComputedStyleProperties::logicalTestLogicalPropertyGroupPhysicalHorizontal(WritingMode writingMode) const
{
return writingMode.isHorizontal() ? testLogicalPropertyGroupPhysicalHorizontal() : testLogicalPropertyGroupPhysicalVertical();
}
inline Style::Number<> ComputedStyleProperties::logicalTestLogicalPropertyGroupPhysicalHorizontal() const
{
return logicalTestLogicalPropertyGroupPhysicalHorizontal(writingMode());
}
inline Style::Number<> ComputedStyleProperties::logicalTestLogicalPropertyGroupPhysicalVertical(WritingMode writingMode) const
{
return writingMode.isHorizontal() ? testLogicalPropertyGroupPhysicalVertical() : testLogicalPropertyGroupPhysicalHorizontal();
}
inline Style::Number<> ComputedStyleProperties::logicalTestLogicalPropertyGroupPhysicalVertical() const
{
return logicalTestLogicalPropertyGroupPhysicalVertical(writingMode());
}
inline const Color& ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColor>>::color(const ComputedStyleProperties& style)
{
return style.testColor();
}
inline const Color& ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorAllowsTypesAbsolute>>::color(const ComputedStyleProperties& style)
{
return style.testColorAllowsTypesAbsolute();
}
inline const Color& ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorPropertyWithVisitedLinkSupport>>::color(const ComputedStyleProperties& style)
{
return style.testColorPropertyWithVisitedLinkSupport();
}
inline const Color& ColorPropertyTraits<PropertyNameConstant<CSSPropertyTestColorPropertyWithVisitedLinkSupport>>::visitedLinkColor(const ComputedStyleProperties& style)
{
return style.visitedLinkTestColorPropertyWithVisitedLinkSupport();
}
} // namespace WebCore
} // namespace Style
|