Skip to content
  • eric@webkit.org's avatar
    2010-05-05 Charles Wei <charles.wei@torchmobile.com.cn> · 5d98a3f2
    eric@webkit.org authored
            Reviewed by George Staikos
    
            https://bugs.webkit.org/show_bug.cgi?id=37848
            Add test cases for -wap-input-format and -wap-input-required of WCSS
    
            * fast/wcss/wap-input-format-expected.txt: Added.
            * fast/wcss/wap-input-format.xhtml: Added.
            * fast/wcss/wap-input-required-expected.txt: Added.
            * fast/wcss/wap-input-required.xhtml: Added.
    2010-05-05  Charles Wei  <charles.wei@torchmobile.com.cn>
    
            Reviewed by George Staikos
    
            https://bugs.webkit.org/show_bug.cgi?id=37848
            This patch adds WCSS -wap-input-format and -wap-input-required support to WebKit
    
            Tests: fast/wcss/wap-input-format.xhtml
                   fast/wcss/wap-input-required.xhtml
    
            * css/CSSParser.cpp:
            (WebCore::CSSParser::parseValue):
            (WebCore::CSSParser::parseWCSSInputProperty):
            * css/CSSParser.h:
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::applyProperty):
            * css/WCSSPropertyNames.in:
            * dom/InputElement.cpp:
            (WebCore::InputElement::sanitizeValue):
            (WebCore::InputElement::handleBeforeTextInsertedEvent):
            (WebCore::InputElementData::InputElementData):
            (WebCore::formatCodes):
            (WebCore::cursorPositionToMaskIndex):
            (WebCore::InputElement::isConformToInputMask):
            (WebCore::InputElement::validateInputMask):
            * dom/InputElement.h:
            (WebCore::InputElementData::inputFormatMask):
            (WebCore::InputElementData::setInputFormatMask):
            (WebCore::InputElementData::maxInputCharsAllowed):
            (WebCore::InputElementData::setMaxInputCharsAllowed):
            * html/HTMLInputElement.cpp:
            (WebCore::HTMLInputElement::setWapInputFormat):
            * html/HTMLInputElement.h:
            (WebCore::HTMLInputElement::data):
            * wml/WMLInputElement.h:
            (WebCore::WMLInputElement::data):
    2010-05-05  Charles Wei  <charles.wei@torchmobile.com.cn>
    
            Reviewed by George Staikos
    
            This patch adds WCSS -wap-input-format and -wap-input-required support to WebKit
            Make the test cases in fast/wcss optionional only when  WCSS is enabled.
    
            https://bugs.webkit.org/show_bug.cgi?id=37848
    
            * Scripts/old-run-webkit-tests:
            * Scripts/webkitperl/features.pm:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5d98a3f2