Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: Source/core/page/RuntimeCSSEnabled.cpp

Issue 27002004: CSSPropertyTextIndent should be a member of css3TextProperties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 }; 67 };
68 setCSSPropertiesEnabled(shapeProperties, WTF_ARRAY_LENGTH(shapeProperties), RuntimeEnabledFeatures::cssShapesEnabled()); 68 setCSSPropertiesEnabled(shapeProperties, WTF_ARRAY_LENGTH(shapeProperties), RuntimeEnabledFeatures::cssShapesEnabled());
69 CSSPropertyID css3TextDecorationProperties[] = { 69 CSSPropertyID css3TextDecorationProperties[] = {
70 CSSPropertyTextDecorationColor, 70 CSSPropertyTextDecorationColor,
71 CSSPropertyTextDecorationLine, 71 CSSPropertyTextDecorationLine,
72 CSSPropertyTextDecorationStyle, 72 CSSPropertyTextDecorationStyle,
73 }; 73 };
74 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 74 setCSSPropertiesEnabled(css3TextDecorationProperties, WTF_ARRAY_LENGTH(css3T extDecorationProperties), RuntimeEnabledFeatures::css3TextDecorationsEnabled());
75 CSSPropertyID css3TextProperties[] = { 75 CSSPropertyID css3TextProperties[] = {
76 CSSPropertyTextAlignLast, 76 CSSPropertyTextAlignLast,
77 CSSPropertyTextIndent,
Julien - ping for review 2013/10/14 12:04:10 This should be tested by a webexposed/ LayoutTests
dw.im 2013/10/14 12:47:47 Done.
77 }; 78 };
78 setCSSPropertiesEnabled(css3TextProperties, WTF_ARRAY_LENGTH(css3TextPropert ies), RuntimeEnabledFeatures::css3TextEnabled()); 79 setCSSPropertiesEnabled(css3TextProperties, WTF_ARRAY_LENGTH(css3TextPropert ies), RuntimeEnabledFeatures::css3TextEnabled());
79 CSSPropertyID cssGridLayoutProperties[] = { 80 CSSPropertyID cssGridLayoutProperties[] = {
80 CSSPropertyGridAutoColumns, 81 CSSPropertyGridAutoColumns,
81 CSSPropertyGridAutoRows, 82 CSSPropertyGridAutoRows,
82 CSSPropertyGridDefinitionColumns, 83 CSSPropertyGridDefinitionColumns,
83 CSSPropertyGridDefinitionRows, 84 CSSPropertyGridDefinitionRows,
84 CSSPropertyGridColumnStart, 85 CSSPropertyGridColumnStart,
85 CSSPropertyGridColumnEnd, 86 CSSPropertyGridColumnEnd,
86 CSSPropertyGridRowStart, 87 CSSPropertyGridRowStart,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID * properties, size_t propertyCount, Vector<CSSPropertyID>& outVector) 162 void RuntimeCSSEnabled::filterEnabledCSSPropertiesIntoVector(const CSSPropertyID * properties, size_t propertyCount, Vector<CSSPropertyID>& outVector)
162 { 163 {
163 for (unsigned i = 0; i < propertyCount; i++) { 164 for (unsigned i = 0; i < propertyCount; i++) {
164 CSSPropertyID property = properties[i]; 165 CSSPropertyID property = properties[i];
165 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property)) 166 if (RuntimeCSSEnabled::isCSSPropertyEnabled(property))
166 outVector.append(property); 167 outVector.append(property);
167 } 168 }
168 } 169 }
169 170
170 } // namespace WebCore 171 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698