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

Issue 400763002: Adding relList attr to link and anchor element

Created:
6 years, 5 months ago by prashanth
Modified:
4 years, 3 months ago
CC:
blink-reviews, arv+blink, dglazkov+blink, blink-reviews-html_chromium.org, gavinp+prerender_chromium.org, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Adding relList attr to link and anchor element relList attribute has been added to HTMLLinkElement and HTMLAnchorElement in the w3c spec. Firefox already supports this, we should also add the same. link-element: http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#htmllinkelement anchor-element: http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#htmlanchorelement BUG=394770

Patch Set 1 #

Total comments: 3

Patch Set 2 : Modified as per review comments #

Total comments: 13

Patch Set 3 : Added to relList to anchor element and LayoutTest #

Total comments: 9

Patch Set 4 : modified as per review comment #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -33 lines) Patch
A LayoutTests/fast/dom/relList_on_anchor.html View 1 2 3 1 chunk +21 lines, -0 lines 2 comments Download
A LayoutTests/fast/dom/relList_on_anchor-expected.txt View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/relList_on_link.html View 1 2 3 1 chunk +21 lines, -0 lines 2 comments Download
A LayoutTests/fast/dom/relList_on_link-expected.txt View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLAnchorElement.h View 1 2 3 chunks +4 lines, -0 lines 1 comment Download
M Source/core/html/HTMLAnchorElement.cpp View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/html/HTMLAnchorElement.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLLinkElement.h View 1 2 3 chunks +3 lines, -0 lines 1 comment Download
M Source/core/html/HTMLLinkElement.cpp View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M Source/core/html/HTMLLinkElement.idl View 1 chunk +1 line, -0 lines 0 comments Download
A + Source/core/html/RelList.h View 1 2 3 4 chunks +12 lines, -13 lines 2 comments Download
A + Source/core/html/RelList.cpp View 1 2 3 3 chunks +27 lines, -20 lines 3 comments Download

Messages

Total messages: 18 (1 generated)
prashanth
PTAL, I have added only for link element, once my changes are satisfactory, I'll add ...
6 years, 5 months ago (2014-07-17 17:57:49 UTC) #1
Inactive
https://codereview.chromium.org/400763002/diff/1/Source/core/html/ClassList.h File Source/core/html/ClassList.h (right): https://codereview.chromium.org/400763002/diff/1/Source/core/html/ClassList.h#newcode62 Source/core/html/ClassList.h:62: virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute(HTMLNames::classAttr, value); ...
6 years, 5 months ago (2014-07-17 19:37:57 UTC) #2
prashanth
Modified as per review comment, let me know if there are any changes needed.
6 years, 5 months ago (2014-07-23 09:26:29 UTC) #3
Inactive
Obviously this needs layout tests. https://codereview.chromium.org/400763002/diff/20001/Source/core/html/HTMLLinkElement.cpp File Source/core/html/HTMLLinkElement.cpp (right): https://codereview.chromium.org/400763002/diff/20001/Source/core/html/HTMLLinkElement.cpp#newcode427 Source/core/html/HTMLLinkElement.cpp:427: setRelList(RelList::create(this)); m_relList = RelList::create(this); ...
6 years, 5 months ago (2014-07-23 13:26:44 UTC) #4
prashanth
Added relList attribute to anchor element and added LayoutTests for link and anchor element. PTAL.
6 years, 5 months ago (2014-07-24 11:45:19 UTC) #5
prashanth
Hi Chris, Why Trybot is not running is it because of [WorkInProgress] tag?
6 years, 5 months ago (2014-07-24 11:46:36 UTC) #6
Inactive
On 2014/07/24 11:46:36, prashanth wrote: > Hi Chris, Why Trybot is not running is it ...
6 years, 5 months ago (2014-07-24 15:23:36 UTC) #7
Inactive
Once you have made those remaining changes, tkent@ would likely be a good reviewer for ...
6 years, 5 months ago (2014-07-24 15:36:41 UTC) #8
prashanth
PTAL
6 years, 5 months ago (2014-07-25 11:40:02 UTC) #9
Inactive
https://codereview.chromium.org/400763002/diff/60001/LayoutTests/fast/dom/relList_on_anchor.html File LayoutTests/fast/dom/relList_on_anchor.html (right): https://codereview.chromium.org/400763002/diff/60001/LayoutTests/fast/dom/relList_on_anchor.html#newcode1 LayoutTests/fast/dom/relList_on_anchor.html:1: <a id="anchorId" rel="shortcut icon" href="../images/resources/1bit.ico"/> Please add back the ...
6 years, 5 months ago (2014-07-25 12:55:51 UTC) #10
prashanth
https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.cpp File Source/core/html/RelList.cpp (right): https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.cpp#newcode63 Source/core/html/RelList.cpp:63: bool RelList::containsInternal(const AtomicString& token) const On 2014/07/25 12:55:51, Chris ...
6 years, 4 months ago (2014-07-25 14:18:03 UTC) #11
Inactive
https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.cpp File Source/core/html/RelList.cpp (right): https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.cpp#newcode63 Source/core/html/RelList.cpp:63: bool RelList::containsInternal(const AtomicString& token) const On 2014/07/25 14:18:03, prashanth ...
6 years, 4 months ago (2014-07-25 14:30:53 UTC) #12
tkent
Please post "Intent to implement and ship" mail to blink-dev.
6 years, 4 months ago (2014-07-28 00:21:16 UTC) #13
prashanth
On 2014/07/28 00:21:16, tkent wrote: > Please post "Intent to implement and ship" mail to ...
6 years, 4 months ago (2014-07-28 05:49:00 UTC) #14
tkent
On 2014/07/28 05:49:00, prashanth wrote: > On 2014/07/28 00:21:16, tkent wrote: > > Please post ...
6 years, 4 months ago (2014-07-28 06:15:42 UTC) #15
sof
https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.h File Source/core/html/RelList.h (right): https://codereview.chromium.org/400763002/diff/60001/Source/core/html/RelList.h#newcode58 Source/core/html/RelList.h:58: virtual void setValue(const AtomicString& relAttrvalue) OVERRIDE; The parameter's purpose ...
6 years, 4 months ago (2014-08-23 19:22:19 UTC) #16
Anton Obzhirov
4 years, 3 months ago (2016-09-02 10:02:16 UTC) #18
hi guys,

Is this patch is still being worked on?
It affects also HTMLAreaElement and issue
https://bugs.chromium.org/p/chromium/issues/detail?id=605552.

Powered by Google App Engine
This is Rietveld 408576698