| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 }; | 75 }; |
| 76 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); | 76 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T
extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); |
| 77 CSSPropertyID css3TextProperties[] = { | 77 CSSPropertyID css3TextProperties[] = { |
| 78 CSSPropertyTextAlignLast, | 78 CSSPropertyTextAlignLast, |
| 79 CSSPropertyTextJustify, | 79 CSSPropertyTextJustify, |
| 80 }; | 80 }; |
| 81 setCSSPropertiesEnabled(css3TextProperties, WTF_ARRAY_LENGTH(css3TextPropert
ies), RuntimeEnabledFeatures::css3TextEnabled()); | 81 setCSSPropertiesEnabled(css3TextProperties, WTF_ARRAY_LENGTH(css3TextPropert
ies), RuntimeEnabledFeatures::css3TextEnabled()); |
| 82 CSSPropertyID cssGridLayoutProperties[] = { | 82 CSSPropertyID cssGridLayoutProperties[] = { |
| 83 CSSPropertyGridAutoColumns, | 83 CSSPropertyGridAutoColumns, |
| 84 CSSPropertyGridAutoRows, | 84 CSSPropertyGridAutoRows, |
| 85 CSSPropertyGridDefinitionColumns, | 85 CSSPropertyGridTemplateColumns, |
| 86 CSSPropertyGridDefinitionRows, | 86 CSSPropertyGridTemplateRows, |
| 87 CSSPropertyGridColumnStart, | 87 CSSPropertyGridColumnStart, |
| 88 CSSPropertyGridColumnEnd, | 88 CSSPropertyGridColumnEnd, |
| 89 CSSPropertyGridRowStart, | 89 CSSPropertyGridRowStart, |
| 90 CSSPropertyGridRowEnd, | 90 CSSPropertyGridRowEnd, |
| 91 CSSPropertyGridColumn, | 91 CSSPropertyGridColumn, |
| 92 CSSPropertyGridRow, | 92 CSSPropertyGridRow, |
| 93 CSSPropertyGridArea, | 93 CSSPropertyGridArea, |
| 94 CSSPropertyGridAutoFlow, | 94 CSSPropertyGridAutoFlow, |
| 95 CSSPropertyGridTemplateAreas, | 95 CSSPropertyGridTemplateAreas, |
| 96 CSSPropertyJustifySelf | 96 CSSPropertyJustifySelf |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 167 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) |
| 168 { | 168 { |
| 169 for (unsigned i = 0; i < propertyCount; i++) { | 169 for (unsigned i = 0; i < propertyCount; i++) { |
| 170 CSSPropertyID property = properties[i]; | 170 CSSPropertyID property = properties[i]; |
| 171 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 171 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) |
| 172 outVector.append(property); | 172 outVector.append(property); |
| 173 } | 173 } |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace WebCore | 176 } // namespace WebCore |
| OLD | NEW |