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

Issue 321403004: SVG: Items inserted into list should be made a tear-off. (Closed)

Created:
6 years, 6 months ago by kouhei (in TOK)
Modified:
6 years, 6 months ago
CC:
blink-reviews, krit, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Stephen Chennney, kouhei+svg_chromium.org, pdr., rwlbuis, haraken
Visibility:
Public.

Description

SVG: Items inserted into list should be made a tear-off. Before this patch, static SVGPropertyTearOff items inserted into a SVGListTearOff were not marked as a tear-off. For such items, |svgAttributeChanged| was not dispatched to its context element, and view was not updated when its value changed. This patch fixes the issue by converting a static tear-off inserted into a list to a dynamic tear-off. Also this patch fixes an issue that a tearoff returned from replaceItem/removeItem was still attached to the list. BUG=380546, 380176 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176284

Patch Set 1 #

Patch Set 2 : LayoutTests #

Total comments: 10

Patch Set 3 : address comments #

Patch Set 4 : wip #

Patch Set 5 : add attr transfer test #

Patch Set 6 : add missing expectation fileg #

Patch Set 7 : remove check against nullQName #

Patch Set 8 : swap red/green #

Patch Set 9 : added needsrebaseline for Win/Mac #

Patch Set 10 : use ahem font to avoid platform differences #

Patch Set 11 : rebase #

Patch Set 12 : rebaseline after ahem change #

Patch Set 13 : add baseline for mac #

Messages

Total messages: 37 (0 generated)
kouhei (in TOK)
I will add a test shortly.
6 years, 6 months ago (2014-06-11 07:12:23 UTC) #1
kouhei (in TOK)
Added LayoutTest. PTAL
6 years, 6 months ago (2014-06-11 07:43:23 UTC) #2
kouhei (in TOK)
fixed cc list
6 years, 6 months ago (2014-06-11 07:44:07 UTC) #3
Erik Dahlström (inactive)
What if you have a static tearoff, insert it to make it dynamic, then take ...
6 years, 6 months ago (2014-06-11 08:22:03 UTC) #4
Erik Dahlström (inactive)
https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/SVGPathSegListTearOff.h File Source/core/svg/SVGPathSegListTearOff.h (right): https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/SVGPathSegListTearOff.h#newcode51 Source/core/svg/SVGPathSegListTearOff.h:51: newItem->setContextElement(contextElement); Doesn't this need to set attributeName too? Like ...
6 years, 6 months ago (2014-06-11 08:31:32 UTC) #5
fs
https://codereview.chromium.org/321403004/diff/20001/LayoutTests/svg/dom/modify-inserted-listitem.html File LayoutTests/svg/dom/modify-inserted-listitem.html (right): https://codereview.chromium.org/321403004/diff/20001/LayoutTests/svg/dom/modify-inserted-listitem.html#newcode8 LayoutTests/svg/dom/modify-inserted-listitem.html:8: enablePixelTesting = true; Could you make this a repaint ...
6 years, 6 months ago (2014-06-11 08:42:23 UTC) #6
kouhei (in TOK)
Thanks for your comments! On 2014/06/11 08:22:03, Erik Dahlström wrote: > What if you have ...
6 years, 6 months ago (2014-06-12 04:25:28 UTC) #7
fs
LGTM, thanks. https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/properties/SVGPropertyTearOff.h File Source/core/svg/properties/SVGPropertyTearOff.h (right): https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/properties/SVGPropertyTearOff.h#newcode86 Source/core/svg/properties/SVGPropertyTearOff.h:86: void makeTearOff(SVGElement* contextElement, const QualifiedName& attributeName) On ...
6 years, 6 months ago (2014-06-12 08:32:23 UTC) #8
Erik Dahlström (inactive)
https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/SVGPathSegListTearOff.h File Source/core/svg/SVGPathSegListTearOff.h (right): https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/SVGPathSegListTearOff.h#newcode51 Source/core/svg/SVGPathSegListTearOff.h:51: newItem->setContextElement(contextElement); On 2014/06/12 04:25:28, kouhei wrote: > On 2014/06/11 ...
6 years, 6 months ago (2014-06-12 08:47:04 UTC) #9
kouhei (in TOK)
PTAL. On 2014/06/12 08:47:04, Erik Dahlström wrote: > https://codereview.chromium.org/321403004/diff/20001/Source/core/svg/SVGPathSegListTearOff.h > File Source/core/svg/SVGPathSegListTearOff.h (right): > > ...
6 years, 6 months ago (2014-06-16 00:23:45 UTC) #10
Erik Dahlström (inactive)
On 2014/06/16 00:23:45, kouhei wrote: > PTAL. > > On 2014/06/12 08:47:04, Erik Dahlström wrote: ...
6 years, 6 months ago (2014-06-16 08:37:34 UTC) #11
kouhei (in TOK)
On 2014/06/16 08:37:34, Erik Dahlström wrote: > On 2014/06/16 00:23:45, kouhei wrote: > > PTAL. ...
6 years, 6 months ago (2014-06-16 23:24:47 UTC) #12
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-16 23:24:58 UTC) #13
kouhei (in TOK)
Thanks for review!
6 years, 6 months ago (2014-06-16 23:32:55 UTC) #14
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-16 23:33:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/140001
6 years, 6 months ago (2014-06-16 23:33:43 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 01:36:33 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/12199)
6 years, 6 months ago (2014-06-17 01:36:34 UTC) #18
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 01:48:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/160001
6 years, 6 months ago (2014-06-17 01:49:02 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 01:49:13 UTC) #21
kouhei (in TOK)
On 2014/06/17 01:36:34, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-17 01:49:14 UTC) #22
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-17 01:49:14 UTC) #23
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 02:00:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/180001
6 years, 6 months ago (2014-06-17 02:00:24 UTC) #25
kouhei (in TOK)
The CQ bit was unchecked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 02:00:26 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 02:00:39 UTC) #27
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-17 02:00:40 UTC) #28
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 02:01:32 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/200001
6 years, 6 months ago (2014-06-17 02:02:48 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-17 03:51:57 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/12227)
6 years, 6 months ago (2014-06-17 03:51:59 UTC) #32
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 04:06:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/220001
6 years, 6 months ago (2014-06-17 04:07:08 UTC) #34
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 6 months ago (2014-06-17 04:58:43 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/321403004/240001
6 years, 6 months ago (2014-06-17 04:58:55 UTC) #36
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 06:05:21 UTC) #37
Message was sent while issue was closed.
Change committed as 176284

Powered by Google App Engine
This is Rietveld 408576698