Ignore:
Timestamp:
Sep 18, 2013, 6:48:19 AM (12 years ago)
Author:
Csaba Osztrogonác
Message:

ASSERT_NOT_REACHED is touched in WebCore::CSSPrimitiveValue::computeLengthDouble
https://bugs.webkit.org/show_bug.cgi?id=120469

Source/WebCore:

Tests: fast/css/outline-offset-parsing-assert.html

fast/css/outline-offset-parsing.html

Reviewed by Dirk Schulze.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseValue): Fixed a typo after r66615, outline-offset can't be percentage.

LayoutTests:

Reviewed by Dirk Schulze.

  • fast/css/outline-offset-parsing-assert-expected.txt: Added.
  • fast/css/outline-offset-parsing-assert.html: Added.
  • fast/css/outline-offset-parsing-expected.txt: Added.
  • fast/css/outline-offset-parsing.html: Added.
  • fast/css/script-tests/outline-offset-parsing.js: Added.

(test):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSParser.cpp

    r156015 r156037  
    24782478        return parseBorderRadius(propId, important);
    24792479    case CSSPropertyOutlineOffset:
    2480         validPrimitive = validUnit(value, FLength | FPercent);
     2480        validPrimitive = validUnit(value, FLength);
    24812481        break;
    24822482    case CSSPropertyTextShadow: // CSS2 property, dropped in CSS2.1, back in CSS3, so treat as CSS3
Note: See TracChangeset for help on using the changeset viewer.