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

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