Changeset 56405 in webkit


Ignore:
Timestamp:
Mar 23, 2010 11:51:29 AM (14 years ago)
Author:
hyatt@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=36277, make sure nth-child supports the positive unary prefix (+) as well as the negative
one (-).

Reviewed by Jeremy Orlow.

Added fast/css/nth-child-unary-prefix.html

  • css/tokenizer.flex:
Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r56404 r56405  
     12010-03-23  David Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=36277, make sure nth-child supports the positive unary prefix (+) as well as the negative
     6        one (-).
     7
     8        Added fast/css/nth-child-unary-prefix.html
     9
     10        * css/tokenizer.flex:
     11
    1122010-03-23  Andrey Kosyakov  <caseq@chromium.org>
    213
  • trunk/WebCore/css/tokenizer.flex

    r56383 r56405  
    2525nl              \n|\r\n|\r|\f
    2626range           \?{1,6}|{h}(\?{0,5}|{h}(\?{0,4}|{h}(\?{0,3}|{h}(\?{0,2}|{h}(\??|{h})))))
    27 nth             (-?[0-9]*n[\+-][0-9]+)|(-?[0-9]*n)
     27nth             ([\+-]?[0-9]*n[\+-][0-9]+)|(-?[0-9]*n)
    2828
    2929%%
Note: See TracChangeset for help on using the changeset viewer.