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

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

Issue 2903653005: [preload] Mandatory `as` value and related spec alignments (Closed)
Patch Set: IDL changes Created 3 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 *
(...skipping 14 matching lines...) Expand all
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 [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectE mpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; 29 [CEReactions, Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectE mpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
30 [CEReactions, Reflect] attribute DOMString rel; 30 [CEReactions, Reflect] attribute DOMString rel;
31 [CEReactions, PutForwards=value] readonly attribute DOMTokenList relList; 31 [CEReactions, PutForwards=value] readonly attribute DOMTokenList relList;
32 [CEReactions, Reflect] attribute DOMString media; 32 [CEReactions, Reflect] attribute DOMString media;
33 [CEReactions, Reflect] attribute DOMString hreflang; 33 [CEReactions, Reflect] attribute DOMString hreflang;
34 [CEReactions, Reflect] attribute DOMString type; 34 [CEReactions, Reflect] attribute DOMString type;
35 [Reflect] attribute DOMString as; 35 [Reflect, ReflectOnly=("script","style","image","video", "audio", "track", " font", "fetch")] attribute DOMString as;
36 [CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-w hen-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", Refl ectInvalid=""] attribute DOMString referrerPolicy; 36 [CEReactions, Reflect, ReflectOnly=("","no-referrer","origin","no-referrer-w hen-downgrade","origin-when-cross-origin","unsafe-url"), ReflectMissing="", Refl ectInvalid=""] attribute DOMString referrerPolicy;
37 [CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes; 37 [CEReactions, PutForwards=value] readonly attribute DOMTokenList sizes;
38 38
39 // obsolete members 39 // obsolete members
40 // https://html.spec.whatwg.org/#HTMLLinkElement-partial 40 // https://html.spec.whatwg.org/#HTMLLinkElement-partial
41 [CEReactions, Reflect] attribute DOMString charset; 41 [CEReactions, Reflect] attribute DOMString charset;
42 [CEReactions, Reflect] attribute DOMString rev; 42 [CEReactions, Reflect] attribute DOMString rev;
43 [CEReactions, Reflect] attribute DOMString target; 43 [CEReactions, Reflect] attribute DOMString target;
44 44
45 // HTMLLinkElement implements LinkStyle 45 // HTMLLinkElement implements LinkStyle
46 // https://dev.w3.org/csswg/cssom/#the-linkstyle-interface 46 // https://dev.w3.org/csswg/cssom/#the-linkstyle-interface
47 readonly attribute StyleSheet? sheet; 47 readonly attribute StyleSheet? sheet;
48 48
49 // HTML Imports 49 // HTML Imports
50 // https://w3c.github.io/webcomponents/spec/imports/#interface-import 50 // https://w3c.github.io/webcomponents/spec/imports/#interface-import
51 readonly attribute Document? import; 51 readonly attribute Document? import;
52 52
53 // Subresource Integrity 53 // Subresource Integrity
54 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLLinkElement 54 // https://w3c.github.io/webappsec-subresource-integrity/#HTMLLinkElement
55 [Reflect] attribute DOMString integrity; 55 [Reflect] attribute DOMString integrity;
56 56
57 // Service workers 57 // Service workers
58 // https://w3c.github.io/ServiceWorker/#link-element-interface-extensions 58 // https://w3c.github.io/ServiceWorker/#link-element-interface-extensions
59 [Reflect, OriginTrialEnabled=LinkServiceWorker] attribute USVString scope; 59 [Reflect, OriginTrialEnabled=LinkServiceWorker] attribute USVString scope;
60 }; 60 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698