Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IDL patch for Construct Stylesheets #280

Merged
merged 1 commit into from
Jun 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions ed/idlpatches/construct-stylesheets.idl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From 01cdc65111d53814813de2639a90f0b4c220507a Mon Sep 17 00:00:00 2001
From: Francois Daoust <[email protected]>
Date: Thu, 17 Jun 2021 22:32:36 +0200
Subject: [PATCH] Drop IDL that was merged into CSSOM

https://github.com/WICG/construct-stylesheets/issues/139
---
ed/idl/construct-stylesheets.idl | 13 -------------
1 file changed, 13 deletions(-)

diff --git a/ed/idl/construct-stylesheets.idl b/ed/idl/construct-stylesheets.idl
index 249af0393..8906c8f34 100644
--- a/ed/idl/construct-stylesheets.idl
+++ b/ed/idl/construct-stylesheets.idl
@@ -3,19 +3,6 @@
// (https://github.com/w3c/webref)
// Source: Constructable Stylesheet Objects (https://wicg.github.io/construct-stylesheets/)

-partial interface CSSStyleSheet {
- constructor(optional CSSStyleSheetInit options = {});
- Promise<CSSStyleSheet> replace(USVString text);
- undefined replaceSync(USVString text);
-};
-
-dictionary CSSStyleSheetInit {
- (MediaList or DOMString) media = "";
- DOMString title = "";
- boolean alternate = false;
- boolean disabled = false;
-};
-
partial interface mixin DocumentOrShadowRoot {
attribute FrozenArray<CSSStyleSheet> adoptedStyleSheets;
};
--
2.31.1.windows.1