Changeset 62161 in webkit


Ignore:
Timestamp:
Jun 29, 2010 11:47:26 PM (14 years ago)
Author:
yuzo@google.com
Message:

2010-06-30 Yuzo Fujishima <yuzo@google.com>

Reviewed by Dan Bernstein.

Fix for Bug 41339 - unicode-range property only with a descending range
causes a crash

https://bugs.webkit.org/show_bug.cgi?id=41339

  • fast/css/font-face-descending-unicode-range-expected.txt: Added.
  • fast/css/font-face-descending-unicode-range.html: Added.

2010-06-30 Yuzo Fujishima <yuzo@google.com>

Reviewed by Dan Bernstein.

Fix for Bug 41339 - unicode-range property only with a descending range
causes a crash

https://bugs.webkit.org/show_bug.cgi?id=41339

Test: fast/css/font-face-descending-unicode-range.html

  • css/CSSParser.cpp: (WebCore::CSSParser::parseFontFaceUnicodeRange):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62160 r62161  
     12010-06-30  Yuzo Fujishima  <yuzo@google.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        Fix for Bug 41339 - unicode-range property only with a descending range
     6        causes a crash
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=41339
     9
     10        * fast/css/font-face-descending-unicode-range-expected.txt: Added.
     11        * fast/css/font-face-descending-unicode-range.html: Added.
     12
    1132010-06-29  MORITA Hajime  <morrita@google.com>
    214
  • trunk/WebCore/ChangeLog

    r62159 r62161  
     12010-06-30  Yuzo Fujishima  <yuzo@google.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        Fix for Bug 41339 - unicode-range property only with a descending range
     6        causes a crash
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=41339
     9
     10        Test: fast/css/font-face-descending-unicode-range.html
     11
     12        * css/CSSParser.cpp:
     13        (WebCore::CSSParser::parseFontFaceUnicodeRange):
     14
    1152010-06-29  Abhinav Mithal <abhinav.mithal@nokia.com>
    216
  • trunk/WebCore/css/CSSParser.cpp

    r61837 r62161  
    36573657                break;
    36583658        }
    3659         values->append(CSSUnicodeRangeValue::create(from, to));
     3659        if (from <= to)
     3660            values->append(CSSUnicodeRangeValue::create(from, to));
    36603661        m_valueList->next();
    36613662    }
Note: See TracChangeset for help on using the changeset viewer.