Changeset 35272 in webkit
- Timestamp:
- Jul 21, 2008 1:15:08 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r35266 r35272 1 2008-07-21 Rob Buis <buis@kde.org> 2 3 Reviewed by Mitz. 4 5 Testcase for: 6 https://bugs.webkit.org/show_bug.cgi?id=19966 7 CSS variables crash when using hex notation for colors 8 9 * fast/css/variables/color-hex-test-expected.txt: Added. 10 * fast/css/variables/color-hex-test.html: Added. 11 1 12 2008-07-20 Oliver Hunt <oliver@apple.com> 2 13 -
trunk/WebCore/ChangeLog
r35266 r35272 1 2008-07-21 Rob Buis <buis@kde.org> 2 3 Reviewed by Mitz. 4 5 https://bugs.webkit.org/show_bug.cgi?id=19966 6 CSS variables crash when using hex notation for colors 7 8 Support hex colors as values for the css variables. 9 10 Test: fast/css/variables/color-hex-test.html 11 12 * css/CSSParserValues.cpp: 13 (WebCore::CSSParserValue::createCSSValue): 14 * css/CSSPrimitiveValue.cpp: 15 (WebCore::CSSPrimitiveValue::parserValue): 16 * css/CSSVariablesRule.cpp: 17 1 18 2008-07-21 Simon Hausmann <hausmann@webkit.org> 2 19 -
trunk/WebCore/css/CSSParserValues.cpp
r34666 r35272 63 63 } else if (unit == CSSParserValue::Function) 64 64 parsedValue = CSSFunctionValue::create(function); 65 else if (unit == CSSPrimitiveValue::CSS_STRING || unit == CSSPrimitiveValue::CSS_URI || unit == CSSPrimitiveValue::CSS_ PARSER_VARIABLE)65 else if (unit == CSSPrimitiveValue::CSS_STRING || unit == CSSPrimitiveValue::CSS_URI || unit == CSSPrimitiveValue::CSS_RGBCOLOR || unit == CSSPrimitiveValue::CSS_PARSER_VARIABLE) 66 66 parsedValue = CSSPrimitiveValue::create(string, (CSSPrimitiveValue::UnitTypes)unit); 67 67 else if (unit >= CSSPrimitiveValue::CSS_NUMBER && unit <= CSSPrimitiveValue::CSS_KHZ) -
trunk/WebCore/css/CSSPrimitiveValue.cpp
r34932 r35272 783 783 value.unit = m_type; 784 784 break; 785 case CSS_RGBCOLOR: 785 786 case CSS_STRING: 786 787 case CSS_URI: … … 810 811 case CSS_COUNTER: 811 812 case CSS_RECT: 812 case CSS_RGBCOLOR:813 813 case CSS_PAIR: 814 814 #if ENABLE(DASHBOARD_SUPPORT) -
trunk/WebCore/css/CSSVariablesRule.cpp
r34675 r35272 27 27 #include "CSSVariablesRule.h" 28 28 29 #include "CSSVariablesDeclaration.h"30 29 #include "MediaList.h" 31 30 #include "PlatformString.h"
Note: See TracChangeset
for help on using the changeset viewer.