Changeset 175421 in webkit
- Timestamp:
- Oct 31, 2014, 1:42:45 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 14 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LayoutTests/ChangeLog ¶
r175412 r175421 1 2014-10-31 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 Remove webkit prefix from CSS columns. 4 https://bugs.webkit.org/show_bug.cgi?id=137132. 5 6 Reviewed by Dean Jackson. 7 8 Ensure the CSS un-prefixed column properties are behaving the same way as the 9 prefixed ones. The CSS prefixed column properties are still supported by making 10 them aliases of the un-prefixed ones. Also port some of the W3C and Mozilla 11 tests for css column properties tests. 12 13 Change to the un-prefixed column names to be compared with the return of CSSStyleDeclaration.item(). 14 And change the expected names to be the un-prefixed ones also. 15 * fast/css/getComputedStyle/computed-style-expected.txt: 16 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 17 * fast/css/getComputedStyle/resources/property-names.js: 18 19 Change to the un-prefixed column names and compare them with the return of object.style.cssText(). 20 * fast/css/remove-shorthand-expected.txt: 21 22 Test for the effect of the rtl settings on column flow; it is ported from Mozilla. 23 * fast/multicol/column-box-alignment-rtl-expected.html: Added. 24 * fast/multicol/column-box-alignment-rtl.html: Added. 25 26 Ensure the prefixed and the un-prefixed column properties are behaving exactly the same. 27 * fast/multicol/multicol-aliases-expected.html: Added. 28 * fast/multicol/multicol-aliases.html: Added. 29 30 Change to the un-prefixed column names to be compared with the return of CSSStyleDeclaration.item(). 31 * svg/css/getComputedStyle-basic-expected.txt: 32 33 Remove the use of the un-prefixed columns property since it seems unrelated to the test. 34 * svg/custom/svg-fonts-in-html.html: 35 1 36 2014-10-31 Eric Carlson <eric.carlson@apple.com> 2 37 -
TabularUnified trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt ¶
r173572 r175421 137 137 -webkit-column-break-inside: auto; 138 138 -webkit-column-axis: auto; 139 -webkit-column-count: auto;140 -webkit-column-gap: normal;141 -webkit-column-rule-color: rgb(0, 0, 0);142 -webkit-column-rule-style: none;143 -webkit-column-rule-width: 0px;144 -webkit-column-span: none;145 -webkit-column-width: auto;139 column-count: auto; 140 column-gap: normal; 141 column-rule-color: rgb(0, 0, 0); 142 column-rule-style: none; 143 column-rule-width: 0px; 144 column-span: none; 145 column-width: auto; 146 146 align-content: stretch; 147 147 align-items: stretch; -
TabularUnified trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt ¶
r173572 r175421 136 136 -webkit-column-break-inside: auto 137 137 -webkit-column-axis: auto 138 -webkit-column-count: auto139 -webkit-column-gap: normal140 -webkit-column-rule-color: rgb(0, 0, 0)141 -webkit-column-rule-style: none142 -webkit-column-rule-width: 0px143 -webkit-column-span: none144 -webkit-column-width: auto138 column-count: auto 139 column-gap: normal 140 column-rule-color: rgb(0, 0, 0) 141 column-rule-style: none 142 column-rule-width: 0px 143 column-span: none 144 column-width: auto 145 145 align-content: stretch 146 146 align-items: stretch -
TabularUnified trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js ¶
r173572 r175421 38 38 "-webkit-column-break-before": true, 39 39 "-webkit-column-break-inside": true, 40 " -webkit-column-count": true,41 " -webkit-column-gap": true,42 " -webkit-column-rule-color": true,43 " -webkit-column-rule-style": true,44 " -webkit-column-rule-width": true,45 " -webkit-column-span": true,46 " -webkit-column-width": true,40 "column-count": true, 41 "column-gap": true, 42 "column-rule-color": true, 43 "column-rule-style": true, 44 "column-rule-width": true, 45 "column-span": true, 46 "column-width": true, 47 47 "flex-direction": true, 48 48 "flex-wrap": true, -
TabularUnified trunk/LayoutTests/fast/css/remove-shorthand-expected.txt ¶
r115227 r175421 43 43 and adds "". 44 44 Removing -webkit-columns 45 removes " -webkit-column-width, -webkit-column-count"45 removes "column-width, column-count" 46 46 and adds "". 47 47 Removing -webkit-column-rule 48 removes " -webkit-column-rule-width, -webkit-column-rule-style, -webkit-column-rule-color"48 removes "column-rule-width, column-rule-style, column-rule-color" 49 49 and adds "". 50 50 Removing list-style -
TabularUnified trunk/LayoutTests/imported/w3c/ChangeLog ¶
r160037 r175421 1 2014-10-31 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 Remove webkit prefix from CSS columns. 4 https://bugs.webkit.org/show_bug.cgi?id=137132. 5 6 Reviewed by Dean Jackson. 7 8 Import tests for basic multi-column properties settings. They are approved by W3C and 9 pass the WebKit testing. More tests need to be imported when they are approved. 10 11 * css: Added. 12 * css/multicol: Added. 13 * css/multicol/multicol-basic-001-expected.html: Added. 14 * css/multicol/multicol-basic-001.html: Added. 15 * css/multicol/multicol-basic-002-expected.html: Added. 16 * css/multicol/multicol-basic-002.html: Added. 17 * css/multicol/multicol-basic-003-expected.html: Added. 18 * css/multicol/multicol-basic-003.html: Added. 19 * css/multicol/multicol-basic-004-expected.html: Added. 20 * css/multicol/multicol-basic-004.html: Added. 21 1 22 2013-12-03 Ryosuke Niwa <rniwa@webkit.org> 2 23 -
TabularUnified trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt ¶
r173572 r175421 271 271 rect: style.getPropertyValue(-webkit-column-axis) : auto 272 272 rect: style.getPropertyCSSValue(-webkit-column-axis) : [object CSSPrimitiveValue] 273 rect: style.getPropertyValue( -webkit-column-count) : auto274 rect: style.getPropertyCSSValue( -webkit-column-count) : [object CSSPrimitiveValue]275 rect: style.getPropertyValue( -webkit-column-gap) : normal276 rect: style.getPropertyCSSValue( -webkit-column-gap) : [object CSSPrimitiveValue]277 rect: style.getPropertyValue( -webkit-column-rule-color) : rgb(0, 0, 0)278 rect: style.getPropertyCSSValue( -webkit-column-rule-color) : [object CSSPrimitiveValue]279 rect: style.getPropertyValue( -webkit-column-rule-style) : none280 rect: style.getPropertyCSSValue( -webkit-column-rule-style) : [object CSSPrimitiveValue]281 rect: style.getPropertyValue( -webkit-column-rule-width) : 0px282 rect: style.getPropertyCSSValue( -webkit-column-rule-width) : [object CSSPrimitiveValue]283 rect: style.getPropertyValue( -webkit-column-span) : none284 rect: style.getPropertyCSSValue( -webkit-column-span) : [object CSSPrimitiveValue]285 rect: style.getPropertyValue( -webkit-column-width) : auto286 rect: style.getPropertyCSSValue( -webkit-column-width) : [object CSSPrimitiveValue]273 rect: style.getPropertyValue(column-count) : auto 274 rect: style.getPropertyCSSValue(column-count) : [object CSSPrimitiveValue] 275 rect: style.getPropertyValue(column-gap) : normal 276 rect: style.getPropertyCSSValue(column-gap) : [object CSSPrimitiveValue] 277 rect: style.getPropertyValue(column-rule-color) : rgb(0, 0, 0) 278 rect: style.getPropertyCSSValue(column-rule-color) : [object CSSPrimitiveValue] 279 rect: style.getPropertyValue(column-rule-style) : none 280 rect: style.getPropertyCSSValue(column-rule-style) : [object CSSPrimitiveValue] 281 rect: style.getPropertyValue(column-rule-width) : 0px 282 rect: style.getPropertyCSSValue(column-rule-width) : [object CSSPrimitiveValue] 283 rect: style.getPropertyValue(column-span) : none 284 rect: style.getPropertyCSSValue(column-span) : [object CSSPrimitiveValue] 285 rect: style.getPropertyValue(column-width) : auto 286 rect: style.getPropertyCSSValue(column-width) : [object CSSPrimitiveValue] 287 287 rect: style.getPropertyValue(align-content) : stretch 288 288 rect: style.getPropertyCSSValue(align-content) : [object CSSPrimitiveValue] … … 783 783 g: style.getPropertyValue(-webkit-column-axis) : auto 784 784 g: style.getPropertyCSSValue(-webkit-column-axis) : [object CSSPrimitiveValue] 785 g: style.getPropertyValue( -webkit-column-count) : auto786 g: style.getPropertyCSSValue( -webkit-column-count) : [object CSSPrimitiveValue]787 g: style.getPropertyValue( -webkit-column-gap) : normal788 g: style.getPropertyCSSValue( -webkit-column-gap) : [object CSSPrimitiveValue]789 g: style.getPropertyValue( -webkit-column-rule-color) : rgb(0, 0, 0)790 g: style.getPropertyCSSValue( -webkit-column-rule-color) : [object CSSPrimitiveValue]791 g: style.getPropertyValue( -webkit-column-rule-style) : none792 g: style.getPropertyCSSValue( -webkit-column-rule-style) : [object CSSPrimitiveValue]793 g: style.getPropertyValue( -webkit-column-rule-width) : 0px794 g: style.getPropertyCSSValue( -webkit-column-rule-width) : [object CSSPrimitiveValue]795 g: style.getPropertyValue( -webkit-column-span) : none796 g: style.getPropertyCSSValue( -webkit-column-span) : [object CSSPrimitiveValue]797 g: style.getPropertyValue( -webkit-column-width) : auto798 g: style.getPropertyCSSValue( -webkit-column-width) : [object CSSPrimitiveValue]785 g: style.getPropertyValue(column-count) : auto 786 g: style.getPropertyCSSValue(column-count) : [object CSSPrimitiveValue] 787 g: style.getPropertyValue(column-gap) : normal 788 g: style.getPropertyCSSValue(column-gap) : [object CSSPrimitiveValue] 789 g: style.getPropertyValue(column-rule-color) : rgb(0, 0, 0) 790 g: style.getPropertyCSSValue(column-rule-color) : [object CSSPrimitiveValue] 791 g: style.getPropertyValue(column-rule-style) : none 792 g: style.getPropertyCSSValue(column-rule-style) : [object CSSPrimitiveValue] 793 g: style.getPropertyValue(column-rule-width) : 0px 794 g: style.getPropertyCSSValue(column-rule-width) : [object CSSPrimitiveValue] 795 g: style.getPropertyValue(column-span) : none 796 g: style.getPropertyCSSValue(column-span) : [object CSSPrimitiveValue] 797 g: style.getPropertyValue(column-width) : auto 798 g: style.getPropertyCSSValue(column-width) : [object CSSPrimitiveValue] 799 799 g: style.getPropertyValue(align-content) : stretch 800 800 g: style.getPropertyCSSValue(align-content) : [object CSSPrimitiveValue] -
TabularUnified trunk/LayoutTests/svg/custom/svg-fonts-in-html.html ¶
r101858 r175421 79 79 80 80 #quickSummary, #supportingText, #linkList { display: none } 81 82 #preamble { columns: 2 }83 81 </style> 84 82 -
TabularUnified trunk/Source/WebCore/ChangeLog ¶
r175417 r175421 1 2014-10-31 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 Remove webkit prefix from CSS columns. 4 https://bugs.webkit.org/show_bug.cgi?id=137132. 5 6 Reviewed by Dean Jackson. 7 8 CSS columns properties are ready for un-prefixing. There are still a couple 9 that we haven't implemented, such as the ones starting with "break-", so we're 10 just going to do the ones starting with "column-". The list of column un- 11 prefixed properties in this change set is: 12 - column-count 13 - column-fill 14 - column-gap 15 - column-progression 16 - column-rule 17 - column-rule-color 18 - column-rule-style 19 - column-rule-width 20 - column-span 21 - column-width 22 - columns 23 24 Tests: fast/multicol/column-box-alignment-rtl.html 25 fast/multicol/multicol-aliases.html 26 imported/w3c/css/multicol/multicol-basic-001.html 27 imported/w3c/css/multicol/multicol-basic-002.html 28 imported/w3c/css/multicol/multicol-basic-003.html 29 imported/w3c/css/multicol/multicol-basic-004.html 30 31 Add new un-prefixed column properties and make the -webkit* ones be aliases 32 to the new ones. 33 * css/CSSPropertyNames.in: 34 35 Use the new enums CSSPropertyColumn* instead of the prefixed ones. 36 * css/CSSComputedStyleDeclaration.cpp: 37 (WebCore::ComputedStyleExtractor::propertyValue): 38 * css/CSSParser.cpp: 39 (WebCore::isColorPropertyID): 40 (WebCore::isValidKeywordPropertyAndValue): 41 (WebCore::isKeywordPropertyID): 42 (WebCore::CSSParser::parseValue): 43 * css/DeprecatedStyleBuilder.cpp: 44 (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): 45 * css/StyleProperties.cpp: 46 (WebCore::StyleProperties::getPropertyValue): 47 * css/StylePropertyShorthand.cpp: 48 (WebCore::webkitColumnsShorthand): 49 (WebCore::webkitColumnRuleShorthand): 50 (WebCore::shorthandForProperty): 51 (WebCore::matchingShorthandsForLonghand): 52 * css/StyleResolver.cpp: 53 (WebCore::isValidVisitedLinkProperty): 54 (WebCore::StyleResolver::applyProperty): 55 * page/animation/CSSPropertyAnimation.cpp: 56 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 57 * rendering/RenderMultiColumnSet.cpp: 58 (WebCore::RenderMultiColumnSet::paintColumnRules): 59 * rendering/style/RenderStyle.cpp: 60 (WebCore::RenderStyle::colorIncludingFallback): 61 1 62 2014-10-31 Tim Horton <timothy_horton@apple.com> 2 63 -
TabularUnified trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp ¶
r174840 r175421 267 267 CSSPropertyWebkitColumnBreakInside, 268 268 CSSPropertyWebkitColumnAxis, 269 CSSProperty WebkitColumnCount,270 CSSProperty WebkitColumnGap,271 CSSProperty WebkitColumnProgression,272 CSSProperty WebkitColumnRuleColor,273 CSSProperty WebkitColumnRuleStyle,274 CSSProperty WebkitColumnRuleWidth,275 CSSProperty WebkitColumnSpan,276 CSSProperty WebkitColumnWidth,269 CSSPropertyColumnCount, 270 CSSPropertyColumnGap, 271 CSSPropertyColumnProgression, 272 CSSPropertyColumnRuleColor, 273 CSSPropertyColumnRuleStyle, 274 CSSPropertyColumnRuleWidth, 275 CSSPropertyColumnSpan, 276 CSSPropertyColumnWidth, 277 277 #if ENABLE(CURSOR_VISIBILITY) 278 278 CSSPropertyWebkitCursorVisibility, … … 1975 1975 case CSSPropertyWebkitColumnAxis: 1976 1976 return cssValuePool().createValue(style->columnAxis()); 1977 case CSSProperty WebkitColumnCount:1977 case CSSPropertyColumnCount: 1978 1978 if (style->hasAutoColumnCount()) 1979 1979 return cssValuePool().createIdentifierValue(CSSValueAuto); 1980 1980 return cssValuePool().createValue(style->columnCount(), CSSPrimitiveValue::CSS_NUMBER); 1981 case CSSProperty WebkitColumnFill:1981 case CSSPropertyColumnFill: 1982 1982 return cssValuePool().createValue(style->columnFill()); 1983 case CSSProperty WebkitColumnGap:1983 case CSSPropertyColumnGap: 1984 1984 if (style->hasNormalColumnGap()) 1985 1985 return cssValuePool().createIdentifierValue(CSSValueNormal); 1986 1986 return zoomAdjustedPixelValue(style->columnGap(), style.get()); 1987 case CSSProperty WebkitColumnProgression:1987 case CSSPropertyColumnProgression: 1988 1988 return cssValuePool().createValue(style->columnProgression()); 1989 case CSSProperty WebkitColumnRuleColor:1989 case CSSPropertyColumnRuleColor: 1990 1990 return m_allowVisitedStyle ? cssValuePool().createColorValue(style->visitedDependentColor(CSSPropertyOutlineColor).rgb()) : currentColorOrValidColor(style.get(), style->columnRuleColor()); 1991 case CSSProperty WebkitColumnRuleStyle:1991 case CSSPropertyColumnRuleStyle: 1992 1992 return cssValuePool().createValue(style->columnRuleStyle()); 1993 case CSSProperty WebkitColumnRuleWidth:1993 case CSSPropertyColumnRuleWidth: 1994 1994 return zoomAdjustedPixelValue(style->columnRuleWidth(), style.get()); 1995 case CSSProperty WebkitColumnSpan:1995 case CSSPropertyColumnSpan: 1996 1996 return cssValuePool().createIdentifierValue(style->columnSpan() ? CSSValueAll : CSSValueNone); 1997 1997 case CSSPropertyWebkitColumnBreakAfter: … … 2001 2001 case CSSPropertyWebkitColumnBreakInside: 2002 2002 return cssValuePool().createValue(style->columnBreakInside()); 2003 case CSSProperty WebkitColumnWidth:2003 case CSSPropertyColumnWidth: 2004 2004 if (style->hasAutoColumnWidth()) 2005 2005 return cssValuePool().createIdentifierValue(CSSValueAuto); … … 2938 2938 case CSSPropertyBorderWidth: 2939 2939 return getCSSPropertyValuesForSidesShorthand(borderWidthShorthand()); 2940 case CSSProperty WebkitColumnRule:2940 case CSSPropertyColumnRule: 2941 2941 return getCSSPropertyValuesForShorthandProperties(webkitColumnRuleShorthand()); 2942 case CSSProperty WebkitColumns:2942 case CSSPropertyColumns: 2943 2943 return getCSSPropertyValuesForShorthandProperties(webkitColumnsShorthand()); 2944 2944 case CSSPropertyListStyle: -
TabularUnified trunk/Source/WebCore/css/CSSParser.cpp ¶
r174999 r175421 491 491 case CSSPropertyWebkitBorderEndColor: 492 492 case CSSPropertyWebkitBorderStartColor: 493 case CSSProperty WebkitColumnRuleColor:493 case CSSPropertyColumnRuleColor: 494 494 case CSSPropertyWebkitTextDecorationColor: 495 495 case CSSPropertyWebkitTextEmphasisColor: … … 653 653 case CSSPropertyWebkitBorderEndStyle: 654 654 case CSSPropertyWebkitBorderStartStyle: 655 case CSSProperty WebkitColumnRuleStyle:655 case CSSPropertyColumnRuleStyle: 656 656 if (valueID >= CSSValueNone && valueID <= CSSValueDouble) 657 657 return true; … … 857 857 return true; 858 858 break; 859 case CSSProperty WebkitColumnFill:859 case CSSPropertyColumnFill: 860 860 if (valueID == CSSValueAuto || valueID == CSSValueBalance) 861 861 return true; … … 1104 1104 case CSSPropertyWebkitColumnBreakBefore: 1105 1105 case CSSPropertyWebkitColumnBreakInside: 1106 case CSSProperty WebkitColumnFill:1107 case CSSProperty WebkitColumnRuleStyle:1106 case CSSPropertyColumnFill: 1107 case CSSPropertyColumnRuleStyle: 1108 1108 case CSSPropertyAlignContent: 1109 1109 case CSSPropertyAlignItems: … … 1955 1955 case CSSPropertyTextUnderlineColor: 1956 1956 case CSSPropertyTextOverlineColor: 1957 case CSSProperty WebkitColumnRuleColor:1957 case CSSPropertyColumnRuleColor: 1958 1958 case CSSPropertyWebkitTextDecorationColor: 1959 1959 case CSSPropertyWebkitTextEmphasisColor: … … 2142 2142 case CSSPropertyWebkitBorderBeforeWidth: 2143 2143 case CSSPropertyWebkitBorderAfterWidth: 2144 case CSSProperty WebkitColumnRuleWidth:2144 case CSSPropertyColumnRuleWidth: 2145 2145 if (id == CSSValueThin || id == CSSValueMedium || id == CSSValueThick) 2146 2146 validPrimitive = true; … … 2684 2684 validPrimitive = !id && validUnit(value, FNumber | FLength | FPercent); 2685 2685 break; 2686 case CSSProperty WebkitColumnCount:2686 case CSSPropertyColumnCount: 2687 2687 if (id == CSSValueAuto) 2688 2688 validPrimitive = true; … … 2690 2690 validPrimitive = !id && validUnit(value, FPositiveInteger, CSSQuirksMode); 2691 2691 break; 2692 case CSSProperty WebkitColumnGap:// normal | <length>2692 case CSSPropertyColumnGap: // normal | <length> 2693 2693 if (id == CSSValueNormal) 2694 2694 validPrimitive = true; … … 2700 2700 validPrimitive = true; 2701 2701 break; 2702 case CSSProperty WebkitColumnProgression:2702 case CSSPropertyColumnProgression: 2703 2703 if (id == CSSValueNormal || id == CSSValueReverse) 2704 2704 validPrimitive = true; 2705 2705 break; 2706 case CSSProperty WebkitColumnSpan: // none | all | 1 (will be dropped in the unprefixed property)2706 case CSSPropertyColumnSpan: // none | all | 1 (will be dropped in the unprefixed property) 2707 2707 if (id == CSSValueAll || id == CSSValueNone) 2708 2708 validPrimitive = true; … … 2710 2710 validPrimitive = validUnit(value, FNumber | FNonNeg) && value->fValue == 1; 2711 2711 break; 2712 case CSSProperty WebkitColumnWidth:// auto | <length>2712 case CSSPropertyColumnWidth: // auto | <length> 2713 2713 if (id == CSSValueAuto) 2714 2714 validPrimitive = true; … … 2874 2874 case CSSPropertyListStyle: 2875 2875 return parseShorthand(propId, listStyleShorthand(), important); 2876 case CSSProperty WebkitColumns:2876 case CSSPropertyColumns: 2877 2877 return parseShorthand(propId, webkitColumnsShorthand(), important); 2878 case CSSProperty WebkitColumnRule:2878 case CSSPropertyColumnRule: 2879 2879 return parseShorthand(propId, webkitColumnRuleShorthand(), important); 2880 2880 case CSSPropertyWebkitTextStroke: … … 3011 3011 case CSSPropertyWebkitColumnBreakBefore: 3012 3012 case CSSPropertyWebkitColumnBreakInside: 3013 case CSSProperty WebkitColumnFill:3014 case CSSProperty WebkitColumnRuleStyle:3013 case CSSPropertyColumnFill: 3014 case CSSPropertyColumnRuleStyle: 3015 3015 case CSSPropertyAlignContent: 3016 3016 case CSSPropertyAlignItems: -
TabularUnified trunk/Source/WebCore/css/CSSPropertyNames.in ¶
r175405 r175421 317 317 -webkit-column-break-before [NewStyleBuilder, TypeName=EPageBreak, Initial=initialPageBreak] 318 318 -webkit-column-break-inside [NewStyleBuilder, TypeName=EPageBreak, Initial=initialPageBreak] 319 -webkit-column-count 320 -webkit-column-fill [NewStyleBuilder, TypeName=ColumnFill] 321 -webkit-column-gap 322 -webkit-column-progression [NewStyleBuilder, TypeName=ColumnProgression] 323 -webkit-column-rule 324 -webkit-column-rule-color 325 -webkit-column-rule-style [NewStyleBuilder, TypeName=EBorderStyle, Initial=initialBorderStyle] 326 -webkit-column-rule-width [NewStyleBuilder, Converter=LineWidth<unsigned short>] 327 -webkit-column-span [NewStyleBuilder, TypeName=ColumnSpan] 328 -webkit-column-width 329 -webkit-columns 319 column-count 320 -webkit-column-count = column-count 321 column-fill [NewStyleBuilder, TypeName=ColumnFill] 322 -webkit-column-fill = column-fill 323 column-gap 324 -webkit-column-gap = column-gap 325 column-progression [NewStyleBuilder, TypeName=ColumnProgression] 326 -webkit-column-progression = column-progression 327 column-rule 328 -webkit-column-rule = column-rule 329 column-rule-color 330 -webkit-column-rule-color = column-rule-color 331 column-rule-style [NewStyleBuilder, TypeName=EBorderStyle, Initial=initialBorderStyle] 332 -webkit-column-rule-style = column-rule-style 333 column-rule-width [NewStyleBuilder, Converter=LineWidth<unsigned short>] 334 -webkit-column-rule-width = column-rule-width 335 column-span [NewStyleBuilder, TypeName=ColumnSpan] 336 -webkit-column-span = column-span 337 column-width 338 -webkit-column-width = column-width 339 columns 340 -webkit-columns = columns 330 341 #if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK 331 342 -webkit-box-decoration-break [NewStyleBuilder] -
TabularUnified trunk/Source/WebCore/css/DeprecatedStyleBuilder.cpp ¶
r175405 r175421 2233 2233 setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundOrigin); 2234 2234 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSize); 2235 setPropertyHandler(CSSProperty WebkitColumnCount, ApplyPropertyAuto<unsigned short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::hasAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler());2236 setPropertyHandler(CSSProperty WebkitColumnGap, ApplyPropertyAuto<float, &RenderStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGap, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHandler());2237 setPropertyHandler(CSSProperty WebkitColumnRuleColor, ApplyPropertyColor<NoInheritFromParent, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor, &RenderStyle::setVisitedLinkColumnRuleColor, &RenderStyle::color>::createHandler());2238 setPropertyHandler(CSSProperty WebkitColumnWidth, ApplyPropertyAuto<float, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColumnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler());2235 setPropertyHandler(CSSPropertyColumnCount, ApplyPropertyAuto<unsigned short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::hasAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler()); 2236 setPropertyHandler(CSSPropertyColumnGap, ApplyPropertyAuto<float, &RenderStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGap, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHandler()); 2237 setPropertyHandler(CSSPropertyColumnRuleColor, ApplyPropertyColor<NoInheritFromParent, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor, &RenderStyle::setVisitedLinkColumnRuleColor, &RenderStyle::color>::createHandler()); 2238 setPropertyHandler(CSSPropertyColumnWidth, ApplyPropertyAuto<float, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColumnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler()); 2239 2239 #if ENABLE(CSS_REGIONS) 2240 2240 setPropertyHandler(CSSPropertyWebkitFlowFrom, ApplyPropertyString<MapNoneToNull, &RenderStyle::regionThread, &RenderStyle::setRegionThread, &RenderStyle::initialRegionThread>::createHandler()); -
TabularUnified trunk/Source/WebCore/css/StyleProperties.cpp ¶
r175067 r175421 152 152 case CSSPropertyBorderStyle: 153 153 return get4Values(borderStyleShorthand()); 154 case CSSProperty WebkitColumnRule:154 case CSSPropertyColumnRule: 155 155 return getShorthandValue(webkitColumnRuleShorthand()); 156 case CSSProperty WebkitColumns:156 case CSSPropertyColumns: 157 157 return getShorthandValue(webkitColumnsShorthand()); 158 158 case CSSPropertyFlex: … … 1064 1064 CSSPropertyOverflow, // This can be also be applied to replaced elements 1065 1065 CSSPropertyWebkitAspectRatio, 1066 CSSProperty WebkitColumnCount,1067 CSSProperty WebkitColumnGap,1068 CSSProperty WebkitColumnRuleColor,1069 CSSProperty WebkitColumnRuleStyle,1070 CSSProperty WebkitColumnRuleWidth,1066 CSSPropertyColumnCount, 1067 CSSPropertyColumnGap, 1068 CSSPropertyColumnRuleColor, 1069 CSSPropertyColumnRuleStyle, 1070 CSSPropertyColumnRuleWidth, 1071 1071 CSSPropertyWebkitColumnBreakBefore, 1072 1072 CSSPropertyWebkitColumnBreakAfter, 1073 1073 CSSPropertyWebkitColumnBreakInside, 1074 CSSProperty WebkitColumnWidth,1074 CSSPropertyColumnWidth, 1075 1075 CSSPropertyPageBreakAfter, 1076 1076 CSSPropertyPageBreakBefore, -
TabularUnified trunk/Source/WebCore/css/StylePropertyShorthand.cpp ¶
r173572 r175421 320 320 StylePropertyShorthand webkitColumnsShorthand() 321 321 { 322 static const CSSPropertyID columnsProperties[] = { CSSProperty WebkitColumnWidth, CSSPropertyWebkitColumnCount };323 return StylePropertyShorthand(CSSProperty WebkitColumns, columnsProperties, WTF_ARRAY_LENGTH(columnsProperties));322 static const CSSPropertyID columnsProperties[] = { CSSPropertyColumnWidth, CSSPropertyColumnCount }; 323 return StylePropertyShorthand(CSSPropertyColumns, columnsProperties, WTF_ARRAY_LENGTH(columnsProperties)); 324 324 } 325 325 … … 327 327 { 328 328 static const CSSPropertyID columnRuleProperties[] = { 329 CSSProperty WebkitColumnRuleWidth,330 CSSProperty WebkitColumnRuleStyle,331 CSSProperty WebkitColumnRuleColor,332 }; 333 return StylePropertyShorthand(CSSProperty WebkitColumnRule, columnRuleProperties, WTF_ARRAY_LENGTH(columnRuleProperties));329 CSSPropertyColumnRuleWidth, 330 CSSPropertyColumnRuleStyle, 331 CSSPropertyColumnRuleColor, 332 }; 333 return StylePropertyShorthand(CSSPropertyColumnRule, columnRuleProperties, WTF_ARRAY_LENGTH(columnRuleProperties)); 334 334 } 335 335 … … 570 570 case CSSPropertyWebkitBorderRadius: 571 571 return borderRadiusShorthand(); 572 case CSSProperty WebkitColumns:572 case CSSPropertyColumns: 573 573 return webkitColumnsShorthand(); 574 case CSSProperty WebkitColumnRule:574 case CSSPropertyColumnRule: 575 575 return webkitColumnRuleShorthand(); 576 576 case CSSPropertyFlex: … … 764 764 case CSSPropertyWebkitBorderStartColor: 765 765 return makeVector(webkitBorderStartShorthand()); 766 case CSSProperty WebkitColumnWidth:767 case CSSProperty WebkitColumnCount:766 case CSSPropertyColumnWidth: 767 case CSSPropertyColumnCount: 768 768 return makeVector(webkitColumnsShorthand()); 769 case CSSProperty WebkitColumnRuleWidth:770 case CSSProperty WebkitColumnRuleStyle:771 case CSSProperty WebkitColumnRuleColor:769 case CSSPropertyColumnRuleWidth: 770 case CSSPropertyColumnRuleStyle: 771 case CSSPropertyColumnRuleColor: 772 772 return makeVector(webkitColumnRuleShorthand()); 773 773 case CSSPropertyFlexGrow: -
TabularUnified trunk/Source/WebCore/css/StyleResolver.cpp ¶
r175123 r175421 1793 1793 case CSSPropertyColor: 1794 1794 case CSSPropertyOutlineColor: 1795 case CSSProperty WebkitColumnRuleColor:1795 case CSSPropertyColumnRuleColor: 1796 1796 case CSSPropertyWebkitTextDecorationColor: 1797 1797 case CSSPropertyWebkitTextEmphasisColor: … … 2369 2369 case CSSPropertyWebkitBorderStart: 2370 2370 case CSSPropertyWebkitBorderRadius: 2371 case CSSProperty WebkitColumns:2372 case CSSProperty WebkitColumnRule:2371 case CSSPropertyColumns: 2372 case CSSPropertyColumnRule: 2373 2373 case CSSPropertyFlex: 2374 2374 case CSSPropertyFlexFlow: … … 3094 3094 case CSSPropertyWebkitColumnBreakBefore: 3095 3095 case CSSPropertyWebkitColumnBreakInside: 3096 case CSSProperty WebkitColumnCount:3097 case CSSProperty WebkitColumnGap:3098 case CSSProperty WebkitColumnProgression:3099 case CSSProperty WebkitColumnRuleColor:3100 case CSSProperty WebkitColumnRuleStyle:3101 case CSSProperty WebkitColumnRuleWidth:3102 case CSSProperty WebkitColumnSpan:3103 case CSSProperty WebkitColumnWidth:3096 case CSSPropertyColumnCount: 3097 case CSSPropertyColumnGap: 3098 case CSSPropertyColumnProgression: 3099 case CSSPropertyColumnRuleColor: 3100 case CSSPropertyColumnRuleStyle: 3101 case CSSPropertyColumnRuleWidth: 3102 case CSSPropertyColumnSpan: 3103 case CSSPropertyColumnWidth: 3104 3104 #if ENABLE(CURSOR_VISIBILITY) 3105 3105 case CSSPropertyWebkitCursorVisibility: -
TabularUnified trunk/Source/WebCore/page/animation/CSSPropertyAnimation.cpp ¶
r174840 r175421 1182 1182 #endif 1183 1183 &RenderStyle::setFontSize), 1184 new PropertyWrapper<unsigned short>(CSSProperty WebkitColumnRuleWidth, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWidth),1185 new PropertyWrapper<float>(CSSProperty WebkitColumnGap, &RenderStyle::columnGap, &RenderStyle::setColumnGap),1186 new PropertyWrapper<unsigned short>(CSSProperty WebkitColumnCount, &RenderStyle::columnCount, &RenderStyle::setColumnCount),1187 new PropertyWrapper<float>(CSSProperty WebkitColumnWidth, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth),1184 new PropertyWrapper<unsigned short>(CSSPropertyColumnRuleWidth, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWidth), 1185 new PropertyWrapper<float>(CSSPropertyColumnGap, &RenderStyle::columnGap, &RenderStyle::setColumnGap), 1186 new PropertyWrapper<unsigned short>(CSSPropertyColumnCount, &RenderStyle::columnCount, &RenderStyle::setColumnCount), 1187 new PropertyWrapper<float>(CSSPropertyColumnWidth, &RenderStyle::columnWidth, &RenderStyle::setColumnWidth), 1188 1188 new PropertyWrapper<short>(CSSPropertyWebkitBorderHorizontalSpacing, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHorizontalBorderSpacing), 1189 1189 new PropertyWrapper<short>(CSSPropertyWebkitBorderVerticalSpacing, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalBorderSpacing), … … 1224 1224 #endif 1225 1225 1226 new PropertyWrapperVisitedAffectedColor(CSSProperty WebkitColumnRuleColor, MaybeInvalidColor, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor, &RenderStyle::visitedLinkColumnRuleColor, &RenderStyle::setVisitedLinkColumnRuleColor),1226 new PropertyWrapperVisitedAffectedColor(CSSPropertyColumnRuleColor, MaybeInvalidColor, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor, &RenderStyle::visitedLinkColumnRuleColor, &RenderStyle::setVisitedLinkColumnRuleColor), 1227 1227 new PropertyWrapperVisitedAffectedColor(CSSPropertyWebkitTextStrokeColor, MaybeInvalidColor, &RenderStyle::textStrokeColor, &RenderStyle::setTextStrokeColor, &RenderStyle::visitedLinkTextStrokeColor, &RenderStyle::setVisitedLinkTextStrokeColor), 1228 1228 new PropertyWrapperVisitedAffectedColor(CSSPropertyWebkitTextFillColor, MaybeInvalidColor, &RenderStyle::textFillColor, &RenderStyle::setTextFillColor, &RenderStyle::visitedLinkTextFillColor, &RenderStyle::setVisitedLinkTextFillColor), … … 1286 1286 CSSPropertyPadding, 1287 1287 CSSPropertyWebkitTextStroke, 1288 CSSProperty WebkitColumnRule,1288 CSSPropertyColumnRule, 1289 1289 CSSPropertyWebkitBorderRadius, 1290 1290 CSSPropertyWebkitTransformOrigin … … 1298 1298 // Compound properties that have components that should be animatable: 1299 1299 // 1300 // CSSProperty WebkitColumns1300 // CSSPropertyColumns 1301 1301 // CSSPropertyWebkitBoxReflect 1302 1302 -
TabularUnified trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp ¶
r174875 r175421 574 574 RenderMultiColumnFlowThread* flowThread = multiColumnFlowThread(); 575 575 const RenderStyle& blockStyle = parent()->style(); 576 const Color& ruleColor = blockStyle.visitedDependentColor(CSSProperty WebkitColumnRuleColor);576 const Color& ruleColor = blockStyle.visitedDependentColor(CSSPropertyColumnRuleColor); 577 577 bool ruleTransparent = blockStyle.columnRuleIsTransparent(); 578 578 EBorderStyle ruleStyle = blockStyle.columnRuleStyle(); -
TabularUnified trunk/Source/WebCore/rendering/style/RenderStyle.cpp ¶
r175363 r175421 1523 1523 result = visitedLink ? visitedLinkOutlineColor() : outlineColor(); 1524 1524 break; 1525 case CSSProperty WebkitColumnRuleColor:1525 case CSSPropertyColumnRuleColor: 1526 1526 result = visitedLink ? visitedLinkColumnRuleColor() : columnRuleColor(); 1527 1527 break;
Note:
See TracChangeset
for help on using the changeset viewer.