Skip to content
  • dino@apple.com's avatar
    Add -webkit-filter to CSSPropertyNames · 335772d5
    dino@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=68675
    
    Reviewed by Simon Fraser.
    
    Add property and rudimentary parsing for -webkit-filter. The
    property value isn't preserved anywhere yet. Add
    stub definition for computed style.
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseValue):
    (WebCore::CSSParser::parseFilter):
    * css/CSSParser.h:
    * css/CSSPropertyNames.in:
    * css/CSSStyleSelector.cpp:
    (WebCore::CSSStyleSelector::applyProperty):
    
    New test for rudimentary parsing of -webkit-filter.
    Since currently only the Apple port enables the
    feature, add this new test to the platform skip lists
    for GTK, QT and Chromium.
    
    * css3/filters/filter-property-expected.txt: Added.
    * css3/filters/filter-property.html: Added.
    * css3/filters/script-tests/TEMPLATE.html: Added.
    * css3/filters/script-tests/filter-property.js: Added.
    * platform/chromium/test_expectations.txt:
    * platform/gtk/Skipped:
    * platform/qt/Skipped:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    335772d5