- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 16 Feb 2016 14:05:53 +0100
- To: "www-style@w3.org" <www-style@w3.org>
- Cc: "Alan Stearns" <stearns@adobe.com>, birtles <bbirtles@mozilla.com>
https://drafts.csswg.org/css-pseudo-4/#csspseudoelement [[ interface CSSPseudoElement { readonly attribute DOMString type; readonly attribute CSSStyleDeclaration style; }; CSSPseudoElement implements EventTarget; ]] Typically things that are event targets inherit from EventTarget (e.g. Node, Window, EventSource, WebSocket...). Unless there was a deliberate reason to not do so here, I propose CSSPseudoElement should inherit from EventTarget also instead of using "implements", if it's supposed to be an event target: interface CSSPseudoElement : EventTarget { readonly attribute DOMString type; readonly attribute CSSStyleDeclaration style; }; -- Simon Pieters Opera Software
Received on Tuesday, 16 February 2016 13:06:27 UTC