[Webkit-unassigned] [Bug 142972] New: CSSParser is encountering seemingly malformed scroll-snap-destination input

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 23 11:48:20 PDT 2015


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

            Bug ID: 142972
           Summary: CSSParser is encountering seemingly malformed
                    scroll-snap-destination input
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

I placed the following assertion in CSSParser to catch instances where the scroll-snap-destination input processed by the CSSParser did not match expectations.

--- a/trunk/Source/WebCore/css/CSSParser.cpp
+++ b/trunk/Source/WebCore/css/CSSParser.cpp
@@ -3354,5 +3354,4 @@
 {
     RefPtr<CSSValueList> position = CSSValueList::createSpaceSeparated();
+    ASSERT(m_valueList->size() == 2);
     if (m_valueList->size() != 2)
         return false;

This is firing for the following test cases:

css3/scroll-snap/scroll-snap-position-values.html
css3/scroll-snap/scroll-snap-property-computed-style.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150323/451b850f/attachment-0002.html>


More information about the webkit-unassigned mailing list