Changeset 207549 in webkit


Ignore:
Timestamp:
Oct 19, 2016 11:42:43 AM (8 years ago)
Author:
hyatt@apple.com
Message:

[CSS Parser] Fix -webkit-mask-box-image parsing
https://bugs.webkit.org/show_bug.cgi?id=163676

Reviewed by Dean Jackson.

-webkit-mask-box-image is not a shorthand in our current code, so treat it the same as the legacy
-webkit-border-image.

  • css/parser/CSSPropertyParser.cpp:

(WebCore::CSSPropertyParser::parseSingleValue):
(WebCore::CSSPropertyParser::parseShorthand):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r207548 r207549  
     12016-10-19  Dave Hyatt  <hyatt@apple.com>
     2
     3        [CSS Parser] Fix -webkit-mask-box-image parsing
     4        https://bugs.webkit.org/show_bug.cgi?id=163676
     5
     6        Reviewed by Dean Jackson.
     7
     8        -webkit-mask-box-image is not a shorthand in our current code, so treat it the same as the legacy
     9        -webkit-border-image.
     10
     11        * css/parser/CSSPropertyParser.cpp:
     12        (WebCore::CSSPropertyParser::parseSingleValue):
     13        (WebCore::CSSPropertyParser::parseShorthand):
     14
    1152016-10-19  Carlos Alberto Lopez Perez  <clopez@igalia.com>
    216
  • trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp

    r207548 r207549  
    33183318        return consumeBorderImageWidth(m_range);
    33193319    case CSSPropertyWebkitBorderImage:
     3320    case CSSPropertyWebkitMaskBoxImage:
    33203321        return consumeWebkitBorderImage(property, m_range, m_context);
    33213322    case CSSPropertyWebkitBoxReflect:
     
    45274528        return consumeBorder(important);
    45284529    case CSSPropertyBorderImage:
    4529     case CSSPropertyWebkitMaskBoxImage:
    45304530        return consumeBorderImage(property, important);
    45314531    case CSSPropertyPageBreakAfter:
Note: See TracChangeset for help on using the changeset viewer.