Skip to content
  • tony@chromium.org's avatar
    -webkit-order should take an integer, not a number · cbad8a2f
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=92688
    
    Reviewed by Ojan Vafai.
    
    Source/WebCore:
    
    The spec changed back from floats to integers:
    http://lists.w3.org/Archives/Public/www-style/2012Jul/0607.html
    
    Tests: css3/flexbox/css-properties.html: Updated.
           css3/flexbox/flex-order.html: Test cases modified.
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseValue):
    * css/StyleBuilder.cpp:
    (WebCore::StyleBuilder::StyleBuilder):
    * rendering/RenderFlexibleBox.cpp:
    (WebCore):
    (RenderFlexibleBox::OrderHashTraits):
    (WebCore::RenderFlexibleBox::OrderHashTraits::emptyValue):
    (WebCore::RenderFlexibleBox::OrderHashTraits::constructDeletedValue):
    (WebCore::RenderFlexibleBox::OrderHashTraits::isDeletedValue):
    (RenderFlexibleBox::OrderIterator):
    * rendering/RenderFlexibleBox.h:
    * rendering/style/RenderStyle.h:
    * rendering/style/StyleRareNonInheritedData.h:
    (StyleRareNonInheritedData):
    
    LayoutTests:
    
    Update tests.
    
    * css3/flexbox/css-properties-expected.txt:
    * css3/flexbox/css-properties.html:
    * css3/flexbox/flex-order.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cbad8a2f