Unreviewed test fix.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Mar 2015 18:07:01 +0000 (18:07 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Mar 2015 18:07:01 +0000 (18:07 +0000)
* css/CSSParser.cpp:
(WebCore::CSSParser::parseScrollSnapDestination): Remove new assertion.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181856 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/CSSParser.cpp

index 6175880..3d39138 100644 (file)
@@ -1,5 +1,12 @@
 2015-03-23  Brent Fulgham  <bfulgham@apple.com>
 
+        Unreviewed test fix.
+
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::parseScrollSnapDestination): Remove new assertion.
+
+2015-03-23  Brent Fulgham  <bfulgham@apple.com>
+
         scroll-snap-destination and scroll-snap-coordinate do not seem to work together properly
         https://bugs.webkit.org/show_bug.cgi?id=142552
         <rdar://problem/20114743>
index 506606e..0d67423 100644 (file)
@@ -3353,7 +3353,6 @@ bool CSSParser::parseScrollSnapPositions(RefPtr<CSSValue>& cssValueX, RefPtr<CSS
 bool CSSParser::parseScrollSnapDestination(CSSPropertyID propId, bool important)
 {
     RefPtr<CSSValueList> position = CSSValueList::createSpaceSeparated();
-    ASSERT(m_valueList->size() == 2);
     if (m_valueList->size() != 2)
         return false;