W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 12667] Setting doc.title in an SVG document doesn't (necessarily) throw

From: <bugzilla@jessica.w3.org>
Date: Sun, 14 Aug 2011 22:49:10 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QsjUU-0002l4-OL@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12667

--- Comment #6 from Cameron McCormack <cam@mcc.id.au> 2011-08-14 22:49:09 UTC ---
Ah, yes.  I realise then that we cannot have

  interface Document { ... };
  interface HTMLDocument { attribute DOMString title; ... };
  interface SVGDocument { readonly atribute DOMString title; ... };
  Document implements HTMLDocument;
  Document implements SVGDocument;

due to the two title attributes.  If we are indeed going the route of all
Document objects implement all XXXDocument interfaces as above, then we should
do one of the following:

a. Drop title from SVGDocument when we come to expressing its interfaces in Web
   IDL, and assume that all SVGDocument objects are also HTMLDocuments

b. Define in Web IDL that two attributes on mixin interfaces with the same name
   and type like this is allowed, as long as they're "the same"

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 14 August 2011 22:49:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:16 UTC