- From: Simon Pieters <simonp@opera.com>
- Date: Fri, 20 Sep 2013 21:58:28 +0200
- To: "Glenn Adams" <glenn@skynav.com>
- Cc: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>, Philip Jägenstedt <philipj@opera.com>, "Brendan Long" <self@brendanlong.com>, "HTML WG (public-html@w3.org)" <public-html@w3.org>, "Eric Carlson" <eric.carlson@apple.com>
On Fri, 20 Sep 2013 19:40:48 +0200, Glenn Adams <glenn@skynav.com> wrote: >> The argument was that if authors expect `cue instanceof RawCue` to mean >> that the UA doesn't render it, we shouldn't break that expectation. It >> doesn't matter that there are other ways to check it. For instance, you >> could do cue.__proto__ == RawCue.prototype. >> > > Backward compatibility with current usage doesn't seem to be a strong > consideration here given other changes being made, e.g., removing > TextTrackCue constructor. Right, but we're discussing expectations, not back compat. Case study: HTMLUnknownElement is used for HTML elements that the UA doesn't support but still exposes in the DOM. It inherits from HTMLElement. Elements that the UA supports inherits from HTMLElement (or uses HTMLElement), they never inherit from HTMLUnknownElement. -- Simon Pieters Opera Software
Received on Friday, 20 September 2013 19:59:47 UTC