Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / html / HTMLLinkElement.idl
blob91c040e6c029e42029283f1a632a902b1e878fb6
1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
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
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 // https://html.spec.whatwg.org/#the-link-element
24 interface HTMLLinkElement : HTMLElement {
25 // FIXME: The disabled attribute has been removed from the spec:
26 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703
27 [Reflect, Measure] attribute boolean disabled;
28 [Reflect, URL] attribute DOMString href;
29 [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin;
30 [Reflect] attribute DOMString rel;
31 // FIXME: readonly attribute DOMTokenList relList;
32 [Reflect] attribute DOMString media;
33 [Reflect] attribute DOMString hreflang;
34 [Reflect] attribute DOMString type;
35 [PutForwards=value] readonly attribute DOMSettableTokenList sizes;
37 // obsolete members
38 // https://html.spec.whatwg.org/#HTMLLinkElement-partial
39 [Reflect] attribute DOMString charset;
40 [Reflect] attribute DOMString rev;
41 [Reflect] attribute DOMString target;
43 // HTMLLinkElement implements LinkStyle
44 // http://dev.w3.org/csswg/cssom/#the-linkstyle-interface
45 readonly attribute StyleSheet? sheet;
47 // HTML Imports
48 // https://w3c.github.io/webcomponents/spec/imports/#interface-import
49 readonly attribute Document? import;
51 // Subresource Integrity
52 // http://w3c.github.io/webappsec/specs/subresourceintegrity/#htmllinkelement-1
53 [Reflect] attribute DOMString integrity;