From 80ca62f2143400f989b40f67ed3f6c03450c26b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Mon, 21 Jan 2019 14:55:18 +0100 Subject: [PATCH] Use `partial interface mixin ElementCSSInlineStyle` https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface is an interface mixin, and the partial must match this. Update the prose to reflect this as well. --- css-typed-om/Overview.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css-typed-om/Overview.bs b/css-typed-om/Overview.bs index 0502b5ea..1b8867a5 100644 --- a/css-typed-om/Overview.bs +++ b/css-typed-om/Overview.bs @@ -729,7 +729,7 @@ partial interface CSSStyleRule { [SameObject] readonly attribute StylePropertyMap styleMap; }; -partial interface ElementCSSInlineStyle { +partial interface mixin ElementCSSInlineStyle { [SameObject] readonly attribute StylePropertyMap attributeStyleMap; }; @@ -738,8 +738,8 @@ partial interface ElementCSSInlineStyle { represent style property-value pairs embedded in a style rule or inline style, and are accessed via the styleMap attribute of {{CSSStyleRule}} objects, or the attributeStyleMap attribute -of objects implementing the {{ElementCSSInlineStyle}} interface -(such as {{Element}}s). +of objects implementing the {{ElementCSSInlineStyle}} interface mixin +(such as {{HTMLElement}}s). When constructed, the {{[[declarations]]}} internal slot for [=declared StylePropertyMap=] objects is initialized to contain an entry