From 2a4ee169fa58fcb457ee43f0062dd07fef4668a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Sat, 21 Jul 2018 22:38:49 +0200 Subject: [PATCH] Use partial namespace CSS --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index f7dbd57..003abe6 100644 --- a/index.bs +++ b/index.bs @@ -45,7 +45,7 @@ Parsing API {#parsing-api} typedef (DOMString or ReadableStream) CSSStringSource; typedef (DOMString or CSSStyleValue or CSSParserValue) CSSToken; -partial interface CSS { +partial namespace CSS { Promise<sequence<CSSParserRule>> parseStylesheet(CSSStringSource css, optional CSSParserOptions options); Promise<sequence<CSSParserRule>> parseRuleList(CSSStringSource css, optional CSSParserOptions options); Promise<CSSParserRule> parseRule(CSSStringSource css, optional CSSParserOptions options);