Changeset 173965 in webkit


Ignore:
Timestamp:
Sep 25, 2014 7:50:12 AM (10 years ago)
Author:
jfernandez@igalia.com
Message:

ASSERTION FAILED: columnCount in WebCore::CSSParser::parseGridTemplateAreasRow
https://bugs.webkit.org/show_bug.cgi?id=136945

Reviewed by Sergio Villar Senin.

Source/WebCore:

Checking out whether the grid-template-areas value contains a white-space only
string, which is not valid as it does not produce a cell token.

Test: fast/css-grid-layout/grid-template-areas-empty-string-crash.html

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseGridTemplateAreasRow):

LayoutTests:

Testing the different types of white-space only strings for the grid-template-areas
property, which is not valid as it does not produce a cell token.

  • fast/css-grid-layout/grid-template-areas-empty-string-crash-expected.txt: Added.
  • fast/css-grid-layout/grid-template-areas-empty-string-crash.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r173948 r173965  
     12014-09-25  Javier Fernandez  <jfernandez@igalia.com>
     2
     3        ASSERTION FAILED: columnCount in WebCore::CSSParser::parseGridTemplateAreasRow
     4        https://bugs.webkit.org/show_bug.cgi?id=136945
     5
     6        Reviewed by Sergio Villar Senin.
     7
     8        Testing the different types of white-space only strings for the grid-template-areas
     9        property, which is not valid as it does not produce a cell token.
     10
     11        * fast/css-grid-layout/grid-template-areas-empty-string-crash-expected.txt: Added.
     12        * fast/css-grid-layout/grid-template-areas-empty-string-crash.html: Added.
     13
    1142014-09-25  Lorenzo Tilve  <ltilve@igalia.com>
    215
  • trunk/Source/WebCore/ChangeLog

    r173949 r173965  
     12014-09-25  Javier Fernandez  <jfernandez@igalia.com>
     2
     3        ASSERTION FAILED: columnCount in WebCore::CSSParser::parseGridTemplateAreasRow
     4        https://bugs.webkit.org/show_bug.cgi?id=136945
     5
     6        Reviewed by Sergio Villar Senin.
     7
     8        Checking out whether the grid-template-areas value contains a white-space only
     9        string, which is not valid as it does not produce a cell token.
     10
     11        Test: fast/css-grid-layout/grid-template-areas-empty-string-crash.html
     12
     13        * css/CSSParser.cpp:
     14        (WebCore::CSSParser::parseGridTemplateAreasRow):
     15
    1162014-09-25  Csaba Osztrogonác  <ossy@webkit.org>
    217
  • trunk/Source/WebCore/css/CSSParser.cpp

    r173698 r173965  
    55695569
    55705570    String gridRowNames = currentValue->string;
    5571     if (gridRowNames.isEmpty())
     5571    if (gridRowNames.isEmpty() || gridRowNames.containsOnlyWhitespace())
    55725572        return false;
    55735573
Note: See TracChangeset for help on using the changeset viewer.