Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky

This commit is contained in:
L. David Baron 2009-12-11 08:13:19 -08:00
parent d31af7cbc0
commit 97bb930d4b
3 changed files with 8 additions and 1 deletions

View File

@ -1274,7 +1274,7 @@ CSS_PROP_COLUMN(
eCSSType_Value,
kBorderWidthKTable,
CSS_PROP_NO_OFFSET,
eStyleAnimType_None)
eStyleAnimType_Custom)
CSS_PROP_CONTENT(
content,
content,

View File

@ -1096,6 +1096,12 @@ nsStyleAnimation::ExtractComputedValue(nsCSSProperty aProperty,
BORDER_WIDTH_CASE(eCSSProperty_border_top_width, top)
#undef BORDER_WIDTH_CASE
case eCSSProperty__moz_column_rule_width:
aComputedValue.SetCoordValue(
static_cast<const nsStyleColumn*>(styleStruct)->
GetComputedColumnRuleWidth());
break;
case eCSSProperty_border_bottom_color:
ExtractBorderColor(aStyleContext, styleStruct, NS_SIDE_BOTTOM,
aComputedValue);

View File

@ -57,6 +57,7 @@ var supported_properties = {
"-moz-column-count": [ test_pos_integer_or_auto_transition ],
"-moz-column-gap": [ test_length_transition ],
"-moz-column-rule-color": [ test_color_transition ],
"-moz-column-rule-width": [ test_length_transition ],
"-moz-column-width": [ test_length_transition ],
"-moz-outline-radius-bottomleft": [ test_radius_transition ],
"-moz-outline-radius-bottomright": [ test_radius_transition ],