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

Issue 1628413002: asdfsdf

Created:
4 years, 11 months ago by zino
Modified:
4 years, 11 months ago
Reviewers:
CC:
chromium-reviews, blink-reviews, ajuma+watch-canvas_chromium.org, Rik, Justin Novosad, dshwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

asdfsdf Canvas2d: addHitRegion() should take clipping region into account. Current implementation ignores the clipping region when calling addHitRegion(). In the past, we had no way to get the current clip path from canvas state stack in Blink side but it's been possible since display list 2d canvas feature. BUG=387057

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/fast/canvas/canvas-hit-regions-clip-test.html View 1 chunk +67 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/ClipList.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/ClipList.cpp View 2 chunks +10 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698