- From: Simon Pieters <simonp@opera.com>
- Date: Fri, 20 Sep 2013 15:01:34 +0200
- To: "Silvia Pfeiffer" <silviapfeiffer1@gmail.com>
- Cc: public-html <public-html@w3.org>, "Glenn Adams" <glenn@skynav.com>, Philip Jägenstedt <philipj@opera.com>, "Brendan Long" <self@brendanlong.com>, "Eric Carlson" <eric.carlson@apple.com>
On Fri, 20 Sep 2013 14:48:54 +0200, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: >> That seems a bit bogus since the data could be the empty string. > > If the data is empty, DOMString returns "null" IIUC. No. If you pass null to a DOMString argument for a method it gets converted to "null" in WebIDL, but that's not a case being discussed here. What a DOMString attribute returns is up to the spec for that attribute to define. In the case of WebVTT and .text, it returns the empty string if the WebVTT cue has no data. -- Simon Pieters Opera Software
Received on Friday, 20 September 2013 13:02:09 UTC