⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 113139 in webkit


Ignore:
Timestamp:
Apr 3, 2012, 10:05:37 PM (14 years ago)
Author:
macpherson@chromium.org
Message:

Don't parse "show" and "hide" as valid values for display property.
https://bugs.webkit.org/show_bug.cgi?id=83115

Reviewed by Adam Barth.

No new tests.

  • css/CSSParser.cpp:

(WebCore::isValidKeywordPropertyAndValue):

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r113138 r113139  
     12012-04-03  Luke Macpherson  <macpherson@chromium.org>
     2
     3        Don't parse "show" and "hide" as valid values for display property.
     4        https://bugs.webkit.org/show_bug.cgi?id=83115
     5
     6        Reviewed by Adam Barth.
     7
     8        No new tests.
     9
     10        * css/CSSParser.cpp:
     11        (WebCore::isValidKeywordPropertyAndValue):
     12
    1132012-04-03  Yuta Kitamura  <yutak@chromium.org>
    214
  • trunk/Source/WebCore/css/CSSParser.cpp

    r113046 r113139  
    532532        if (valueID == CSSValueWebkitGrid || valueID == CSSValueWebkitInlineGrid)
    533533            return true;
    534         break;
    535534#endif
     535        break;
    536536    case CSSPropertyEmptyCells: // show | hide | inherit
    537537        if (valueID == CSSValueShow || valueID == CSSValueHide)
Note: See TracChangeset for help on using the changeset viewer.