Changeset 59366 in webkit


Ignore:
Timestamp:
May 13, 2010 7:56:27 AM (14 years ago)
Author:
chang.shu@nokia.com
Message:

2010-05-13 Chang Shu <chang.shu@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Based on the spec and Philip Taylor's test suite, strokeStyle and fillStyle attributes
must initially have the string value #000000.
The link to the spec:
http://philip.html5.org/tests/canvas/suite/tests/spec.html#testrefs.2d.colours.default

https://bugs.webkit.org/show_bug.cgi?id=39068

The complete test suite is in the process of checking in.
https://bugs.webkit.org/show_bug.cgi?id=20553

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::State::State):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r59365 r59366  
     12010-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
    1182010-05-13  Yury Semikhatsky  <yurys@chromium.org>
    219
  • trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp

    r59362 r59366  
    119119
    120120CanvasRenderingContext2D::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"))
    123123    , m_lineWidth(1)
    124124    , m_lineCap(ButtCap)
Note: See TracChangeset for help on using the changeset viewer.