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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLLinkElement.idl

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 // https://html.spec.whatwg.org/#the-link-element 22 // https://html.spec.whatwg.org/#the-link-element
23 23
24 interface HTMLLinkElement : HTMLElement { 24 interface HTMLLinkElement : HTMLElement {
25 // FIXME: The disabled attribute has been removed from the spec: 25 // FIXME: The disabled attribute has been removed from the spec:
26 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703 26 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703
27 [Reflect, Measure] attribute boolean disabled; 27 [Reflect, Measure] attribute boolean disabled;
28 [Reflect, URL] attribute DOMString href; 28 [Reflect, URL] attribute DOMString href;
29 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymo us", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; 29 [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectE mpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
30 [Reflect] attribute DOMString rel; 30 [CEReactions, Reflect] attribute DOMString rel;
31 [RuntimeEnabled=LinkPreload, PutForwards=value] readonly attribute DOMTokenL ist relList; 31 [RuntimeEnabled=LinkPreload, CEReactions, PutForwards=value] readonly attrib ute DOMTokenList relList;
32 [Reflect] attribute DOMString media; 32 [CEReactions, Reflect] attribute DOMString media;
33 [Reflect] attribute DOMString hreflang; 33 [CEReactions, Reflect] attribute DOMString hreflang;
34 [Reflect] attribute DOMString type; 34 [CEReactions, Reflect] attribute DOMString type;
35 [Reflect, RuntimeEnabled=LinkPreload] attribute DOMString as; 35 [Reflect, RuntimeEnabled=LinkPreload] attribute DOMString as;
36 [PutForwards=value] readonly attribute DOMTokenList sizes; 36 [CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes;
37 37
38 // obsolete members 38 // obsolete members
39 // https://html.spec.whatwg.org/#HTMLLinkElement-partial 39 // https://html.spec.whatwg.org/#HTMLLinkElement-partial
40 [Reflect] attribute DOMString charset; 40 [CEReactions, Reflect] attribute DOMString charset;
41 [Reflect] attribute DOMString rev; 41 [CEReactions, Reflect] attribute DOMString rev;
42 [Reflect] attribute DOMString target; 42 [CEReactions, Reflect] attribute DOMString target;
43 43
44 // HTMLLinkElement implements LinkStyle 44 // HTMLLinkElement implements LinkStyle
45 // http://dev.w3.org/csswg/cssom/#the-linkstyle-interface 45 // http://dev.w3.org/csswg/cssom/#the-linkstyle-interface
46 readonly attribute StyleSheet? sheet; 46 readonly attribute StyleSheet? sheet;
47 47
48 // HTML Imports 48 // HTML Imports
49 // https://w3c.github.io/webcomponents/spec/imports/#interface-import 49 // https://w3c.github.io/webcomponents/spec/imports/#interface-import
50 readonly attribute Document? import; 50 readonly attribute Document? import;
51 51
52 // Subresource Integrity 52 // Subresource Integrity
53 // http://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelemen t-1 53 // http://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelemen t-1
54 [Reflect] attribute DOMString integrity; 54 [Reflect] attribute DOMString integrity;
55 55
56 // Service workers 56 // Service workers
57 // http://mkruisselbrink.github.io/ServiceWorker/spec/service_worker/#link-e lement-interface-section 57 // http://mkruisselbrink.github.io/ServiceWorker/spec/service_worker/#link-e lement-interface-section
58 [Reflect, RuntimeEnabled=LinkServiceWorker] attribute USVString scope; 58 [Reflect, RuntimeEnabled=LinkServiceWorker] attribute USVString scope;
59 }; 59 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLegendElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLMapElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698