File: RenderStyleProperties.h

package info (click to toggle)
webkit2gtk 2.51.90-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 484,192 kB
  • sloc: cpp: 3,930,945; javascript: 197,713; ansic: 167,619; python: 53,160; asm: 21,857; ruby: 18,114; perl: 17,149; xml: 4,631; sh: 2,462; yacc: 2,394; java: 2,032; lex: 1,358; pascal: 372; makefile: 215
file content (119 lines) | stat: -rw-r--r-- 7,083 bytes parent folder | download
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
// This file is automatically generated from CSSProperties.json by the process-css-properties.py script. Do not edit it.

#pragma once

#include <WebCore/RenderStyleBase.h>

namespace WebCore {

class RenderStyleProperties : public RenderStyleBase {
public:
    // 'test-color'
    inline const Style::Color& testColor() const;
    inline void setTestColor(Style::Color&&);
    inline decltype(auto) testColorResolver() const;
    inline WebCore::Color testColorResolvingCurrentColor() const;
    inline WebCore::Color testColorResolvingCurrentColorApplyingColorFilter() const;
    inline WebCore::Color visitedDependentTestColor(OptionSet<PaintBehavior> = { }) const;
    inline WebCore::Color visitedDependentTestColorApplyingColorFilter(OptionSet<PaintBehavior> = { }) const;

    // 'test-color-allows-types-absolute'
    inline const Style::Color& testColorAllowsTypesAbsolute() const;
    inline void setTestColorAllowsTypesAbsolute(Style::Color&&);
    inline decltype(auto) testColorAllowsTypesAbsoluteResolver() const;
    inline WebCore::Color testColorAllowsTypesAbsoluteResolvingCurrentColor() const;
    inline WebCore::Color testColorAllowsTypesAbsoluteResolvingCurrentColorApplyingColorFilter() const;
    inline WebCore::Color visitedDependentTestColorAllowsTypesAbsolute(OptionSet<PaintBehavior> = { }) const;
    inline WebCore::Color visitedDependentTestColorAllowsTypesAbsoluteApplyingColorFilter(OptionSet<PaintBehavior> = { }) const;

    // 'test-color-property-with-visited-link-support'
    inline const Style::Color& testColorPropertyWithVisitedLinkSupport() const;
    inline void setTestColorPropertyWithVisitedLinkSupport(Style::Color&&);
    inline const Style::Color& visitedLinkTestColorPropertyWithVisitedLinkSupport() const;
    inline void setVisitedLinkTestColorPropertyWithVisitedLinkSupport(Style::Color&&);
    inline decltype(auto) testColorPropertyWithVisitedLinkSupportResolver() const;
    inline WebCore::Color testColorPropertyWithVisitedLinkSupportResolvingCurrentColor() const;
    inline WebCore::Color testColorPropertyWithVisitedLinkSupportResolvingCurrentColorApplyingColorFilter() const;
    inline WebCore::Color visitedLinkTestColorPropertyWithVisitedLinkSupportResolvingCurrentColor() const;
    inline WebCore::Color visitedLinkTestColorPropertyWithVisitedLinkSupportResolvingCurrentColorApplyingColorFilter() const;
    inline WebCore::Color visitedDependentTestColorPropertyWithVisitedLinkSupport(OptionSet<PaintBehavior> = { }) const;
    inline 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<>);
    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<>);
    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<>);
    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);

    // 'test-render-style-storage-one-level-raw'
    inline Style::TestRaw testRenderStyleStorageOneLevelRaw() const;
    inline void setTestRenderStyleStorageOneLevelRaw(Style::TestRaw);

    // 'test-render-style-storage-one-level-reference'
    inline const Style::Number<>& testRenderStyleStorageOneLevelReference() const;
    inline void setTestRenderStyleStorageOneLevelReference(Style::Number<>&&);

    // 'test-render-style-storage-one-level-value'
    inline Style::Number<> testRenderStyleStorageOneLevelValue() const;
    inline void setTestRenderStyleStorageOneLevelValue(Style::Number<>);

    // 'test-render-style-storage-two-level-enum'
    inline Style::TestEnumeration testRenderStyleStorageTwoLevelEnum() const;
    inline void setTestRenderStyleStorageTwoLevelEnum(Style::TestEnumeration);

    // 'test-render-style-storage-two-level-raw'
    inline Style::TestRaw testRenderStyleStorageTwoLevelRaw() const;
    inline void setTestRenderStyleStorageTwoLevelRaw(Style::TestRaw);

    // 'test-render-style-storage-two-level-reference'
    inline const Style::Number<>& testRenderStyleStorageTwoLevelReference() const;
    inline void setTestRenderStyleStorageTwoLevelReference(Style::Number<>&&);

    // 'test-render-style-storage-two-level-value'
    inline Style::Number<> testRenderStyleStorageTwoLevelValue() const;
    inline void setTestRenderStyleStorageTwoLevelValue(Style::Number<>);

    // 'test-logical-property-group-physical-horizontal'
    inline Style::Number<> testLogicalPropertyGroupPhysicalHorizontal() const;
    inline void setTestLogicalPropertyGroupPhysicalHorizontal(Style::Number<>);

    // 'test-logical-property-group-physical-vertical'
    inline Style::Number<> testLogicalPropertyGroupPhysicalVertical() const;
    inline void setTestLogicalPropertyGroupPhysicalVertical(Style::Number<>);

    // 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:
    RenderStyleProperties(RenderStyleProperties&&) = default;
    RenderStyleProperties& operator=(RenderStyleProperties&&) = default;

    RenderStyleProperties(CreateDefaultStyleTag tag) : RenderStyleBase { tag } { }
    RenderStyleProperties(const RenderStyleProperties& other, CloneTag tag) : RenderStyleBase { other, tag } { }

    RenderStyleProperties(RenderStyleProperties& a, RenderStyleProperties&& b) : RenderStyleBase { a, WTF::move(b) } { }
};

} // namespace WebCore