OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 CSSPropertyWebkitShapeInside, | 62 CSSPropertyWebkitShapeInside, |
63 CSSPropertyWebkitShapeOutside, | 63 CSSPropertyWebkitShapeOutside, |
64 }; | 64 }; |
65 setCSSPropertiesEnabled(exclusionProperties, WTF_ARRAY_LENGTH(exclusionPrope
rties), RuntimeEnabledFeatures::cssExclusionsEnabled()); | 65 setCSSPropertiesEnabled(exclusionProperties, WTF_ARRAY_LENGTH(exclusionPrope
rties), RuntimeEnabledFeatures::cssExclusionsEnabled()); |
66 CSSPropertyID css3TextDecorationProperties[] = { | 66 CSSPropertyID css3TextDecorationProperties[] = { |
67 CSSPropertyTextDecorationColor, | 67 CSSPropertyTextDecorationColor, |
68 CSSPropertyTextDecorationLine, | 68 CSSPropertyTextDecorationLine, |
69 CSSPropertyTextDecorationStyle, | 69 CSSPropertyTextDecorationStyle, |
70 }; | 70 }; |
71 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); | 71 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); |
| 72 CSSPropertyID css3TextProperties[] = { |
| 73 CSSPropertyTextAlignLast, |
| 74 }; |
| 75 setCSSPropertiesEnabled(css3TextProperties, WTF_ARRAY_LENGTH(css3TextPropert
ies), RuntimeEnabledFeatures::css3TextEnabled()); |
72 CSSPropertyID cssGridLayoutProperties[] = { | 76 CSSPropertyID cssGridLayoutProperties[] = { |
73 CSSPropertyGridAutoColumns, | 77 CSSPropertyGridAutoColumns, |
74 CSSPropertyGridAutoRows, | 78 CSSPropertyGridAutoRows, |
75 CSSPropertyGridDefinitionColumns, | 79 CSSPropertyGridDefinitionColumns, |
76 CSSPropertyGridDefinitionRows, | 80 CSSPropertyGridDefinitionRows, |
77 CSSPropertyGridColumnStart, | 81 CSSPropertyGridColumnStart, |
78 CSSPropertyGridColumnEnd, | 82 CSSPropertyGridColumnEnd, |
79 CSSPropertyGridRowStart, | 83 CSSPropertyGridRowStart, |
80 CSSPropertyGridRowEnd, | 84 CSSPropertyGridRowEnd, |
81 CSSPropertyGridColumn, | 85 CSSPropertyGridColumn, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 125 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) |
122 { | 126 { |
123 for (unsigned i = 0; i < propertyCount; i++) { | 127 for (unsigned i = 0; i < propertyCount; i++) { |
124 CSSPropertyID property = properties[i]; | 128 CSSPropertyID property = properties[i]; |
125 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 129 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) |
126 outVector.append(property); | 130 outVector.append(property); |
127 } | 131 } |
128 } | 132 } |
129 | 133 |
130 } // namespace WebCore | 134 } // namespace WebCore |
OLD | NEW |