Changeset 160010 in webkit
- Timestamp:
- Dec 3, 2013 9:29:22 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r160007 r160010 1 2013-12-03 László Langó <lango@inf.u-szeged.hu> 2 3 ASSERTION FAILED: !value || (value->isPrimitiveValue()) in WebCore::StyleProperties::getLayeredShorthandValue. 4 https://bugs.webkit.org/show_bug.cgi?id=125146 5 6 Reviewed by Darin Adler. 7 8 * fast/css/webkit-mask-crash-implicit-expected.txt: Added. 9 * fast/css/webkit-mask-crash-implicit.html: Added. 10 1 11 2013-12-03 Rob Buis <rob.buis@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r160009 r160010 1 2013-12-03 László Langó <lango@inf.u-szeged.hu> 2 3 ASSERTION FAILED: !value || (value->isPrimitiveValue()) in WebCore::StyleProperties::getLayeredShorthandValue. 4 https://bugs.webkit.org/show_bug.cgi?id=125146 5 6 Reviewed by Darin Adler. 7 8 Do not presume that |yValue| is primitive if |value| is implicit in StylePropertySerializer. 9 An implicit y-value can become explicit if specified as a separate longhand. 10 At the same time, its new value can be non-primitive. 11 12 Backported from Blink: 13 http://src.chromium.org/viewvc/blink?view=rev&rev=153678 14 15 Test: fast/css/webkit-mask-crash-implicit.html 16 17 * css/StyleProperties.cpp: 18 (WebCore::StyleProperties::getLayeredShorthandValue): 19 1 20 2013-12-03 Rob Buis <rob.buis@samsung.com> 2 21 -
trunk/Source/WebCore/css/StyleProperties.cpp
r159856 r160010 412 412 yValue = nextValue; 413 413 414 if (!value->isPrimitiveValue() || !yValue->isPrimitiveValue()) 415 continue; 416 414 417 CSSValueID xId = toCSSPrimitiveValue(value.get())->getValueID(); 415 418 CSSValueID yId = toCSSPrimitiveValue(yValue.get())->getValueID();
Note: See TracChangeset
for help on using the changeset viewer.