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

Side by Side Diff: LayoutTests/fast/canvas/canvas-fillStyle-no-quirks-parsing.html

Issue 237743009: Don't parse colors for <canvas> in quirks mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix style issue. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/html/canvas/CanvasStyle.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5 setup(function() {
6 window.ctx = document.createElement('canvas').getContext('2d');
7 });
8
9 test(function() {
10 ctx.fillStyle = "#008000";
11 ctx.fillStyle = "800000";
12 assert_equals(ctx.fillStyle, "#008000");
13 }, 'fillStyle should not accept quirks mode hex colors.');
14 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/canvas/CanvasStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698