| Summary: | ASSERTION FAILED: columnCount in WebCore::CSSParser::parseGridTemplateAreasRow | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Renata Hodovan <rhodovan.u-szeged> | ||||||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | benjamin, commit-queue, darin, jfernandez, rego, svillar | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 60731, 116980 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Renata Hodovan
2014-09-19 01:57:40 PDT
Created attachment 238652 [details]
Patch
Comment on attachment 238652 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238652&action=review > Source/WebCore/css/CSSParser.cpp:5571 > + if (gridRowNames.isEmpty() || gridRowNames.containsOnlyWhitespace()) Does this cover also multiple whitespaces? > LayoutTests/fast/css-grid-layout/grid-template-areas-empty-string-crash-expected.txt:1 > +crbug.com/412715 - ASSERTION FAILED: columnCount in blink::CSSPropertyParser::parseGridTemplateAreasRow Do not mention external bugs. Also remove the blink:: thing > LayoutTests/fast/css-grid-layout/grid-template-areas-empty-string-crash.html:27 > +<p>crbug.com/412715 - ASSERTION FAILED: columnCount in blink::CSSPropertyParser::parseGridTemplateAreasRow</p> Ditto. Created attachment 238657 [details]
Patch
Created attachment 238658 [details]
Patch
Comment on attachment 238658 [details] Patch Clearing flags on attachment: 238658 Committed r173965: <http://trac.webkit.org/changeset/173965> All reviewed patches have been landed. Closing bug. Comment on attachment 238658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238658&action=review > Source/WebCore/css/CSSParser.cpp:5571 > + if (gridRowNames.isEmpty() || gridRowNames.containsOnlyWhitespace()) The isEmpty check here is now redundant. The containsOnlyWhitespace function returns true for empty strings. (In reply to comment #7) > (From update of attachment 238658 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=238658&action=review > > > Source/WebCore/css/CSSParser.cpp:5571 > > + if (gridRowNames.isEmpty() || gridRowNames.containsOnlyWhitespace()) > > The isEmpty check here is now redundant. The containsOnlyWhitespace function returns true for empty strings. This will be address in bug #137146. |