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

Issue 802233004: Implement icon attribute for menuitem (Closed)

Created:
6 years ago by pals
Modified:
5 years, 10 months ago
Reviewers:
haraken, keishi, chrishtr
CC:
aandrey+blink_chromium.org, apavlov+blink_chromium.org, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-html_chromium.org, caseq+blink_chromium.org, Inactive, devtools-reviews_chromium.org, dglazkov+blink, eustas+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, vsevik+blink_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Resolved icon url #

Patch Set 4 : Rebased #

Patch Set 5 : rebasing #

Patch Set 6 : LayoutTest rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -9 lines) Patch
A LayoutTests/http/tests/misc/custom-context-menu.html View 1 2 3 4 1 chunk +203 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/misc/custom-context-menu-expected.txt View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/element-instance-property-listing-expected.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/custom/V8DevToolsHostCustom.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/html/HTMLAttributeNames.in View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLMenuItemElement.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/CustomContextMenuProvider.cpp View 1 2 3 4 3 chunks +11 lines, -4 lines 0 comments Download
M Source/platform/ContextMenuItem.h View 2 chunks +6 lines, -2 lines 0 comments Download
M Source/platform/ContextMenuItem.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/web/ContextMenuClientImpl.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 32 (11 generated)
pals
tkent used to review menuitem related patches, but he is in leave. haraken, Could you ...
5 years, 11 months ago (2015-01-02 12:01:23 UTC) #2
pals
https://codereview.chromium.org/802233004/diff/20001/Source/core/page/CustomContextMenuProvider.cpp File Source/core/page/CustomContextMenuProvider.cpp (right): https://codereview.chromium.org/802233004/diff/20001/Source/core/page/CustomContextMenuProvider.cpp#newcode85 Source/core/page/CustomContextMenuProvider.cpp:85: String icon = menuItem->fastGetAttribute(iconAttr); We need to resolve icon's ...
5 years, 11 months ago (2015-01-02 12:07:47 UTC) #3
pals
https://codereview.chromium.org/802233004/diff/20001/Source/core/page/CustomContextMenuProvider.cpp File Source/core/page/CustomContextMenuProvider.cpp (right): https://codereview.chromium.org/802233004/diff/20001/Source/core/page/CustomContextMenuProvider.cpp#newcode85 Source/core/page/CustomContextMenuProvider.cpp:85: String icon = menuItem->fastGetAttribute(iconAttr); On 2015/01/02 12:07:47, pals wrote: ...
5 years, 11 months ago (2015-01-02 13:05:42 UTC) #4
haraken
I'm not familiar with the code... keishi@: Would you mind taking a look?
5 years, 11 months ago (2015-01-02 16:44:51 UTC) #6
keishi
LGTM
5 years, 11 months ago (2015-01-05 02:18:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802233004/60001
5 years, 11 months ago (2015-01-13 11:40:47 UTC) #9
commit-bot: I haz the power
Failed to apply patch for LayoutTests/http/tests/misc/custom-context-menu-expected.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; A LayoutTests/http/tests/misc/custom-context-menu-expected.txt ...
5 years, 11 months ago (2015-01-13 11:40:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802233004/120001
5 years, 11 months ago (2015-01-14 10:07:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/24149)
5 years, 11 months ago (2015-01-14 10:13:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802233004/120001
5 years, 11 months ago (2015-01-14 11:43:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/24169)
5 years, 11 months ago (2015-01-14 11:50:14 UTC) #20
pals
On 2015/01/14 11:50:14, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 11 months ago (2015-01-14 13:07:32 UTC) #22
chrishtr
I'll defer to haraken's review for these.
5 years, 11 months ago (2015-01-14 18:25:38 UTC) #23
haraken
The implementation looks good. What's the conclusion of the Intent-to-Implement for this? (Sorry, the thread ...
5 years, 11 months ago (2015-01-14 23:26:26 UTC) #24
pals
On 2015/01/14 23:26:26, haraken wrote: > The implementation looks good. > > What's the conclusion ...
5 years, 11 months ago (2015-01-15 05:07:21 UTC) #25
haraken
On 2015/01/15 05:07:21, pals wrote: > On 2015/01/14 23:26:26, haraken wrote: > > The implementation ...
5 years, 11 months ago (2015-01-15 05:09:43 UTC) #26
pals
christr: PTAL for owner's review.
5 years, 11 months ago (2015-01-19 05:16:41 UTC) #27
chrishtr
lgtm
5 years, 11 months ago (2015-01-20 19:13:03 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802233004/120001
5 years, 11 months ago (2015-01-21 05:39:46 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:120001) as https://src.chromium.org/viewvc/blink?view=rev&revision=188718
5 years, 11 months ago (2015-01-21 07:31:11 UTC) #31
tkent
5 years, 10 months ago (2015-02-02 00:32:54 UTC) #32
Message was sent while issue was closed.
We need a test for icon attribute values with leading/trailing spaces.

https://html.spec.whatwg.org/multipage/forms.html#attr-menuitem-icon
> he attribute's value must contain a valid non-empty URL potentially surrounded
by spaces

https://html.spec.whatwg.org/multipage/infrastructure.html#valid-non-empty-ur...
> A string is a valid non-empty URL potentially surrounded by spaces if, after
stripping leading and trailing whitespace from it, it is a valid non-empty URL.

Powered by Google App Engine
This is Rietveld 408576698