Changeset 85938 in webkit
- Timestamp:
- May 6, 2011 1:42:10 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r85936 r85938 1 2011-05-06 Luke Macpherson <macpherson@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Make CSSStyleSelector::applyProperty() CSSPropertyWebkitColorCorrection case use appropriate macro. 6 https://bugs.webkit.org/show_bug.cgi?id=60339 7 8 No tests added as no functionality changed. 9 10 * css/CSSStyleSelector.cpp: 11 (WebCore::CSSStyleSelector::applyProperty): 12 Use correct macro for CSSPropertySpeak. 13 * rendering/style/RenderStyle.h: 14 (WebCore::InheritedFlags::initialColorSpace): 15 Add initialColorSpace() static method. 16 1 17 2011-05-06 Luke Macpherson <macpherson@chromium.org> 2 18 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r85936 r85938 5398 5398 } 5399 5399 case CSSPropertyWebkitColorCorrection: 5400 if (isInherit) 5401 m_style->setColorSpace(m_parentStyle->colorSpace()); 5402 else if (isInitial) 5403 m_style->setColorSpace(ColorSpaceDeviceRGB); 5404 else { 5405 if (!primitiveValue) 5406 return; 5407 m_style->setColorSpace(*primitiveValue); 5408 } 5400 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(colorSpace, ColorSpace); 5409 5401 return; 5410 5402 case CSSPropertySize: -
trunk/Source/WebCore/rendering/style/RenderStyle.h
r85936 r85938 1218 1218 static ECaptionSide initialCaptionSide() { return CAPTOP; } 1219 1219 static EClear initialClear() { return CNONE; } 1220 static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; } 1220 1221 static TextDirection initialDirection() { return LTR; } 1221 1222 static WritingMode initialWritingMode() { return TopToBottomWritingMode; }
Note: See TracChangeset
for help on using the changeset viewer.