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

Issue 1488603002: Use LocalStyleChange for element cursor changes in SVG. (Closed)

Created:
5 years ago by rune
Modified:
5 years ago
Reviewers:
fs
CC:
fs, blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use LocalStyleChange for element cursor changes in SVG. Propagating the change to the computed cursor property value through inheritance is handled correctly when using LocalStyleChange. No need to force a recalc of the whole subtree. This is part of making sure non of our SubtreeStyleChanges rely on sibling tree invalidations, and removing unnecessary use of SubtreeStyleChange, so that we can make SubtreeStyleChange mean subtree only, and not have to consider the sibling forest. R=fs@opera.com BUG=557440 Committed: https://crrev.com/eeb62d1bf832505d2e1b13145e2028bce5acab91 Cr-Commit-Position: refs/heads/master@{#362140}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed indentation in test #

Total comments: 2

Patch Set 3 : Fixed URI paths #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/css/cursor-change-href-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGCursorElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (5 generated)
rune
ptal
5 years ago (2015-11-30 14:21:18 UTC) #1
rune
https://codereview.chromium.org/1488603002/diff/1/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg File third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg (right): https://codereview.chromium.org/1488603002/diff/1/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg#newcode4 third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg:4: <rect id="rect" x="50" y="50" width="100" height="100" fill="green" /> Indentation ...
5 years ago (2015-11-30 14:22:59 UTC) #2
rune
On 2015/11/30 14:22:59, rune wrote: > https://codereview.chromium.org/1488603002/diff/1/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg > File third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg (right): > > https://codereview.chromium.org/1488603002/diff/1/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg#newcode4 > ...
5 years ago (2015-11-30 14:25:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488603002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488603002/20001
5 years ago (2015-11-30 14:26:24 UTC) #5
fs
Change LGTM, test needs to be tweaked somehow. https://codereview.chromium.org/1488603002/diff/20001/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg File third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg (right): https://codereview.chromium.org/1488603002/diff/20001/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg#newcode20 third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg:20: if ...
5 years ago (2015-11-30 14:44:39 UTC) #6
rune
https://codereview.chromium.org/1488603002/diff/20001/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg File third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg (right): https://codereview.chromium.org/1488603002/diff/20001/third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg#newcode20 third_party/WebKit/LayoutTests/svg/css/cursor-change-href.svg:20: if (getComputedStyle(rect).cursor == "url(\"file:///home/rune/dev/src/third_party/WebKit/LayoutTests/svg/css/icon1.ico\"), auto") On 2015/11/30 14:44:39, fs ...
5 years ago (2015-11-30 14:51:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1488603002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1488603002/40001
5 years ago (2015-11-30 15:08:37 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-30 16:25:45 UTC) #12
commit-bot: I haz the power
5 years ago (2015-11-30 16:26:52 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eeb62d1bf832505d2e1b13145e2028bce5acab91
Cr-Commit-Position: refs/heads/master@{#362140}

Powered by Google App Engine
This is Rietveld 408576698