| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 CSSPropertyGridDefinitionColumns, | 85 CSSPropertyGridDefinitionColumns, |
| 86 CSSPropertyGridDefinitionRows, | 86 CSSPropertyGridDefinitionRows, |
| 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 CSSPropertyGridTemplate | 95 CSSPropertyGridTemplate, |
| 96 CSSPropertyJustifySelf |
| 96 }; | 97 }; |
| 97 setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); | 98 setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLay
outProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
| 98 CSSPropertyID cssObjectFitPositionProperties[] = { | 99 CSSPropertyID cssObjectFitPositionProperties[] = { |
| 99 CSSPropertyObjectFit, | 100 CSSPropertyObjectFit, |
| 100 CSSPropertyObjectPosition | 101 CSSPropertyObjectPosition |
| 101 }; | 102 }; |
| 102 setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(css
ObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()
); | 103 setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(css
ObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()
); |
| 103 | 104 |
| 104 CSSPropertyID animationProperties[] = { | 105 CSSPropertyID animationProperties[] = { |
| 105 CSSPropertyAnimation, | 106 CSSPropertyAnimation, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) | 166 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID
* properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) |
| 166 { | 167 { |
| 167 for (unsigned i = 0; i < propertyCount; i++) { | 168 for (unsigned i = 0; i < propertyCount; i++) { |
| 168 CSSPropertyID property = properties[i]; | 169 CSSPropertyID property = properties[i]; |
| 169 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) | 170 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) |
| 170 outVector.append(property); | 171 outVector.append(property); |
| 171 } | 172 } |
| 172 } | 173 } |
| 173 | 174 |
| 174 } // namespace WebCore | 175 } // namespace WebCore |
| OLD | NEW |