Changeset 50664 in webkit


Ignore:
Timestamp:
Nov 9, 2009 9:44:56 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-09 Keishi Hattori <casey.hattori@gmail.com>

Reviewed by Timothy Hatcher.

Web Inspector: CSS syntax highlighter doesn't recognize negative numbers
https://bugs.webkit.org/show_bug.cgi?id=31257

  • inspector/syntax-highlight-css-expected.txt:
  • inspector/syntax-highlight-css.html:

2009-11-09 Keishi Hattori <casey.hattori@gmail.com>

Reviewed by Timothy Hatcher.

Web Inspector: CSS syntax highlighter doesn't recognize negative numbers
https://bugs.webkit.org/show_bug.cgi?id=31257

  • inspector/front-end/SourceFrame.js:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r50644 r50664  
     12009-11-09  Keishi Hattori  <casey.hattori@gmail.com>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: CSS syntax highlighter doesn't recognize negative numbers
     6        https://bugs.webkit.org/show_bug.cgi?id=31257
     7
     8        * inspector/syntax-highlight-css-expected.txt:
     9        * inspector/syntax-highlight-css.html:
     10
    1112009-11-09  Andras Becsi  <becsi.andras@stud.u-szeged.hu>
    212
  • trunk/LayoutTests/inspector/syntax-highlight-css-expected.txt

    r50582 r50664  
    88webkit-css-at-rule,*,webkit-css-property,*
    99webkit-css-selector,*,webkit-css-property,*,webkit-css-keyword,*
    10 webkit-css-selector,*,webkit-css-property,*,webkit-css-keyword,*,webkit-css-important,*
     10webkit-css-selector,*,webkit-css-property,*,webkit-css-number,*,webkit-css-important,*
    1111
  • trunk/LayoutTests/inspector/syntax-highlight-css.html

    r50582 r50664  
    2121    result.push(frontend_dumpSyntaxHighlightCSS("@font-face { font-family: MyHelvetica; }"));
    2222    result.push(frontend_dumpSyntaxHighlightCSS("p { color: color; red: red; }"));
    23     result.push(frontend_dumpSyntaxHighlightCSS("p { color: red !important; }"));
     23    result.push(frontend_dumpSyntaxHighlightCSS("p { margin: -10px !important; }"));
    2424    return result;
    2525}
  • trunk/WebCore/ChangeLog

    r50663 r50664  
     12009-11-09  Keishi Hattori  <casey.hattori@gmail.com>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: CSS syntax highlighter doesn't recognize negative numbers
     6        https://bugs.webkit.org/show_bug.cgi?id=31257
     7
     8        * inspector/front-end/SourceFrame.js:
     9
    1102009-11-09  Alexander Pavlov  <apavlov@chromium.org>
    211
  • trunk/WebCore/inspector/front-end/SourceFrame.js

    r50472 r50664  
    948948        lexStateCondition: this.LexState.DeclarationValue
    949949    }, {
    950         pattern: /^(?:(?:\d+|\d*\.\d+)(?:em|rem|__qem|ex|px|cm|mm|in|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|%)?)/i,
     950        pattern: /^(?:-?(?:\d+|\d*\.\d+)(?:em|rem|__qem|ex|px|cm|mm|in|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|%)?)/i,
    951951        action: numvalueAction,
    952952        lexStateCondition: this.LexState.DeclarationValue
Note: See TracChangeset for help on using the changeset viewer.