Skip to content
  • sergio@webkit.org's avatar
    Autoclose braces and parentheses at the end of style sheet · 7d7118f3
    sergio@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=117414
    
    Reviewed by Andreas Kling.
    
    From Blink r150202 by <serya@chromium.org>
    
    Source/WebCore:
    
    Use closing_parenthesis and closing_brace instead of the literals
    '}' and ')'. This allows the parser to treat expressions with
    unmatched closing braces/parenthesis as if all of them were
    actually closed.
    
    Tests: animations/keyframe-autoclose-brace.html
           css3/autoclose-braces-and-parentheses.html
    
    * css/CSSGrammar.y.in:
    
    LayoutTests:
    
    * animations/keyframe-autoclose-brace-expected.txt: Added.
    * animations/keyframe-autoclose-brace.html: Added.
    * css3/autoclose-braces-and-parentheses-expected.txt: Added.
    * css3/autoclose-braces-and-parentheses.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d7118f3