Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Issue 237743009: Don't parse colors for <canvas> in quirks mode (Closed)

Created:
6 years, 8 months ago by fs
Modified:
6 years, 8 months ago
Reviewers:
Justin Novosad
CC:
blink-reviews, aandrey+blink_chromium.org, dglazkov+blink, Rik, adamk+blink_chromium.org
Visibility:
Public.

Description

Don't parse colors for <canvas> in quirks mode Use 'strict' mode when parsing colors, to disallow hex-color specifications without a leading '#'. BUG=364008 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171791

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix style issue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
A LayoutTests/fast/canvas/canvas-fillStyle-no-quirks-parsing.html View 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasStyle.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Justin Novosad
lgtm with style nit. https://codereview.chromium.org/237743009/diff/1/Source/core/html/canvas/CanvasStyle.cpp File Source/core/html/canvas/CanvasStyle.cpp (right): https://codereview.chromium.org/237743009/diff/1/Source/core/html/canvas/CanvasStyle.cpp#newcode49 Source/core/html/canvas/CanvasStyle.cpp:49: if (BisonCSSParser::parseColor(parsedColor, colorString, true /* ...
6 years, 8 months ago (2014-04-16 16:26:49 UTC) #1
fs
https://codereview.chromium.org/237743009/diff/1/Source/core/html/canvas/CanvasStyle.cpp File Source/core/html/canvas/CanvasStyle.cpp (right): https://codereview.chromium.org/237743009/diff/1/Source/core/html/canvas/CanvasStyle.cpp#newcode49 Source/core/html/canvas/CanvasStyle.cpp:49: if (BisonCSSParser::parseColor(parsedColor, colorString, true /* strict */)) On 2014/04/16 ...
6 years, 8 months ago (2014-04-16 16:34:10 UTC) #2
fs
The CQ bit was checked by fs@opera.com
6 years, 8 months ago (2014-04-16 16:34:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/237743009/20001
6 years, 8 months ago (2014-04-16 16:34:38 UTC) #4
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 18:05:45 UTC) #5
Message was sent while issue was closed.
Change committed as 171791

Powered by Google App Engine
This is Rietveld 408576698