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 172
|
// 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_SETTERS_INLINES_INCLUDE_TRAP
#error "Please do not include this file anywhere except from StyleComputedStyle+SettersInlines.h."
#endif
#include "StyleComputedStyleProperties+SettersCustomInlines.h"
namespace WebCore {
namespace Style {
inline void ComputedStyleProperties::setTestColor(Style::Color&& value)
{
if (value != level1->testColor) {
level1.access().testColor = WTF::move(value);
}
}
inline void ComputedStyleProperties::setTestColorAllowsTypesAbsolute(Style::Color&& value)
{
if (value != level1->testColorAllowsTypesAbsolute) {
level1.access().testColorAllowsTypesAbsolute = WTF::move(value);
}
}
inline void ComputedStyleProperties::setTestColorPropertyWithVisitedLinkSupport(Style::Color&& value)
{
if (value != level1->testColorPropertyWithVisitedLinkSupport) {
level1.access().testColorPropertyWithVisitedLinkSupport = WTF::move(value);
}
}
inline void ComputedStyleProperties::setVisitedLinkTestColorPropertyWithVisitedLinkSupport(Style::Color&& value)
{
if (value != level1->level2->visitedLinkTestColorPropertyWithVisitedLinkSupport) {
level1.access().level2.access().visitedLinkTestColorPropertyWithVisitedLinkSupport = WTF::move(value);
}
}
inline void ComputedStyleProperties::setTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin(Style::Number<> value)
{
if (value != level1->level2->testRenderStyleHasExplicitlySetPolicyAllAuthorOrigin) {
level1.access().level2.access().testRenderStyleHasExplicitlySetPolicyAllAuthorOrigin = value;
}
}
inline void ComputedStyleProperties::setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin(bool value)
{
if (value != level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin) {
level1.access().level2.access().hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllAuthorOrigin = value;
}
}
inline void ComputedStyleProperties::setTestRenderStyleHasExplicitlySetPolicyAllBorderRadius(Style::Number<> value)
{
if (value != level1->level2->testRenderStyleHasExplicitlySetPolicyAllBorderRadius) {
level1.access().level2.access().testRenderStyleHasExplicitlySetPolicyAllBorderRadius = value;
}
}
inline void ComputedStyleProperties::setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius(bool value)
{
if (value != level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius) {
level1.access().level2.access().hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyAllBorderRadius = value;
}
}
inline void ComputedStyleProperties::setTestRenderStyleHasExplicitlySetPolicyValueOnly(Style::Number<> value)
{
if (value != level1->level2->testRenderStyleHasExplicitlySetPolicyValueOnly) {
level1.access().level2.access().testRenderStyleHasExplicitlySetPolicyValueOnly = value;
}
}
inline void ComputedStyleProperties::setHasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly(bool value)
{
if (value != level1->level2->hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly) {
level1.access().level2.access().hasExplicitlySetTestRenderStyleHasExplicitlySetPolicyValueOnly = value;
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageOneLevelEnum(Style::TestEnumeration value)
{
if (value != static_cast<Style::TestEnumeration>(level1->testRenderStyleStorageOneLevelEnum)) {
level1.access().testRenderStyleStorageOneLevelEnum = static_cast<unsigned>(value);
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageOneLevelRaw(Style::TestRaw value)
{
if (value != Style::TestRaw::fromRaw(level1->testRenderStyleStorageOneLevelRaw)) {
level1.access().testRenderStyleStorageOneLevelRaw = value.toRaw();
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageOneLevelReference(Style::Number<>&& value)
{
if (value != level1->testRenderStyleStorageOneLevelReference) {
level1.access().testRenderStyleStorageOneLevelReference = WTF::move(value);
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageOneLevelValue(Style::Number<> value)
{
if (value != level1->testRenderStyleStorageOneLevelValue) {
level1.access().testRenderStyleStorageOneLevelValue = value;
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageTwoLevelEnum(Style::TestEnumeration value)
{
if (value != static_cast<Style::TestEnumeration>(level1->level2->testRenderStyleStorageTwoLevelEnum)) {
level1.access().level2.access().testRenderStyleStorageTwoLevelEnum = static_cast<unsigned>(value);
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageTwoLevelRaw(Style::TestRaw value)
{
if (value != Style::TestRaw::fromRaw(level1->level2->testRenderStyleStorageTwoLevelRaw)) {
level1.access().level2.access().testRenderStyleStorageTwoLevelRaw = value.toRaw();
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageTwoLevelReference(Style::Number<>&& value)
{
if (value != level1->level2->testRenderStyleStorageTwoLevelReference) {
level1.access().level2.access().testRenderStyleStorageTwoLevelReference = WTF::move(value);
}
}
inline void ComputedStyleProperties::setTestRenderStyleStorageTwoLevelValue(Style::Number<> value)
{
if (value != level1->level2->testRenderStyleStorageTwoLevelValue) {
level1.access().level2.access().testRenderStyleStorageTwoLevelValue = value;
}
}
inline void ComputedStyleProperties::setTestLogicalPropertyGroupPhysicalHorizontal(Style::Number<> value)
{
if (value != level1->testLogicalPropertyGroupPhysicalHorizontal) {
level1.access().testLogicalPropertyGroupPhysicalHorizontal = value;
}
}
inline void ComputedStyleProperties::setTestLogicalPropertyGroupPhysicalVertical(Style::Number<> value)
{
if (value != level1->testLogicalPropertyGroupPhysicalVertical) {
level1.access().testLogicalPropertyGroupPhysicalVertical = value;
}
}
inline void ComputedStyleProperties::setLogicalTestLogicalPropertyGroupPhysicalHorizontal(Style::Number<> value)
{
if (writingMode().isHorizontal())
setTestLogicalPropertyGroupPhysicalHorizontal(WTF::move(value));
else
setTestLogicalPropertyGroupPhysicalVertical(WTF::move(value));
}
inline void ComputedStyleProperties::setLogicalTestLogicalPropertyGroupPhysicalVertical(Style::Number<> value)
{
if (writingMode().isHorizontal())
setTestLogicalPropertyGroupPhysicalVertical(WTF::move(value));
else
setTestLogicalPropertyGroupPhysicalHorizontal(WTF::move(value));
}
} // namespace WebCore
} // namespace Style
|