mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Initial steps for CSSOM API
This commit is contained in:
parent
e551ea7322
commit
b7a57ef487
15 changed files with 159 additions and 77 deletions
17
components/script/dom/webidls/StyleSheet.webidl
Normal file
17
components/script/dom/webidls/StyleSheet.webidl
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* 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://drafts.csswg.org/cssom/#the-stylesheet-interface
|
||||
interface StyleSheet {
|
||||
readonly attribute DOMString type_;
|
||||
readonly attribute DOMString? href;
|
||||
|
||||
// readonly attribute (Element or ProcessingInstruction)? ownerNode;
|
||||
// readonly attribute StyleSheet? parentStyleSheet;
|
||||
readonly attribute DOMString? title;
|
||||
|
||||
// [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
||||
// attribute boolean disabled;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue