Changeset 59366 in webkit
- Timestamp:
- May 13, 2010 7:56:27 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r59365 r59366 1 2010-05-13 Chang Shu <chang.shu@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Based on the spec and Philip Taylor's test suite, strokeStyle and fillStyle attributes 6 must initially have the string value #000000. 7 The link to the spec: 8 http://philip.html5.org/tests/canvas/suite/tests/spec.html#testrefs.2d.colours.default 9 10 https://bugs.webkit.org/show_bug.cgi?id=39068 11 12 The complete test suite is in the process of checking in. 13 https://bugs.webkit.org/show_bug.cgi?id=20553 14 15 * html/canvas/CanvasRenderingContext2D.cpp: 16 (WebCore::CanvasRenderingContext2D::State::State): 17 1 18 2010-05-13 Yury Semikhatsky <yurys@chromium.org> 2 19 -
trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp
r59362 r59366 119 119 120 120 CanvasRenderingContext2D::State::State() 121 : m_strokeStyle(CanvasStyle::create(" black"))122 , m_fillStyle(CanvasStyle::create(" black"))121 : m_strokeStyle(CanvasStyle::create("#000000")) 122 , m_fillStyle(CanvasStyle::create("#000000")) 123 123 , m_lineWidth(1) 124 124 , m_lineCap(ButtCap)
Note: See TracChangeset
for help on using the changeset viewer.