Changeset 50796 in webkit
- Timestamp:
- Nov 11, 2009 1:38:36 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50792 r50796 1 2009-11-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 3 Reviewed by Eric Seidel. 4 5 [Qt] Make the default style background color valid. 6 Currently the color is transparent but invalid, this causes 7 list boxes in QtWebKit to be drawn with a black background 8 since r49242. 9 https://bugs.webkit.org/show_bug.cgi?id=31295 10 11 * rendering/style/RenderStyle.h: 12 (WebCore::InheritedFlags::initialBackgroundColor): 13 * rendering/style/StyleBackgroundData.cpp: 14 (WebCore::StyleBackgroundData::StyleBackgroundData): 15 1 16 2009-11-10 Gavin Barraclough <barraclough@apple.com> 2 17 -
trunk/WebCore/rendering/style/RenderStyle.h
r50760 r50796 1182 1182 static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } 1183 1183 static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } 1184 static Color initialBackgroundColor() { return Color::transparent; } 1184 1185 1185 1186 // Keep these at the end. -
trunk/WebCore/rendering/style/StyleBackgroundData.cpp
r36587 r50796 23 23 #include "StyleBackgroundData.h" 24 24 25 #include "RenderStyle.h" 25 26 #include "RenderStyleConstants.h" 26 27 … … 29 30 StyleBackgroundData::StyleBackgroundData() 30 31 : m_background(BackgroundFillLayer) 32 , m_color(RenderStyle::initialBackgroundColor()) 31 33 { 32 34 }
Note: See TracChangeset
for help on using the changeset viewer.