fune/servo/components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl
Anthony Ramine 2748fd8ac5 servo: Merge #14129 - Implement HTMLAnchorElement.origin (from nox:anchor-origin); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 085c52dfbce125b9f777eadb1ed149e04548fc45
2016-11-08 04:45:18 -06:00

25 lines
984 B
Text

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils
[NoInterfaceObject]
interface HTMLHyperlinkElementUtils {
// stringifier attribute USVString href;
attribute USVString href;
readonly attribute USVString origin;
attribute USVString protocol;
attribute USVString username;
attribute USVString password;
attribute USVString host;
attribute USVString hostname;
attribute USVString port;
attribute USVString pathname;
attribute USVString search;
attribute USVString hash;
// Adding a separate stringifier method until
// https://github.com/servo/servo/issues/7590 adds attribute stringifier
// support.
stringifier;
};