svg2: Note that we should file a bug on HTML to make Document.title w...

details:   https://svgwg.org/hg/svg2/rev/fa94e3877b95
branches:  
changeset: 404:fa94e3877b95
user:      Cameron McCormack <cam@mcc.id.au>
date:      Tue Dec 04 11:41:06 2012 +1100
description:
Note that we should file a bug on HTML to make Document.title work properly on SVG documents.

diffstat:

 master/struct.html |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff --git a/master/struct.html b/master/struct.html
--- a/master/struct.html
+++ b/master/struct.html
@@ -2055,17 +2055,19 @@ such as when an HTML document has an <sp
 element whose <span class="attr-name">'href'</span> attribute references an SVG
 document (i.e., a document whose MIME type is "image/svg+xml"
 and whose root element is thus an <a>'svg'</a> element), there will exist
 two distinct DOM hierarchies. The first DOM hierarchy will be for the
 referencing document (e.g., an XHTML document). The second DOM hierarchy
 will be for the referenced SVG document.
 </p>
 
-<p class="issue">HTML defines title, referrer and domain.</p>
+<p class="issue">HTML defines title, referrer and domain.  We should remove
+them and file a bug on HTML to ensure that title does the right thing for
+SVG documents.</p>
 
 <p>For historical reasons, <a>Window</a> objects must also have a writable, configurable,
 non-enumerable property named SVGDocument whose value is the <a>Document</a> interface object.</p>
 
 <pre class="idl">partial interface <a>Document</a> {
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__title">title</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__referrer">referrer</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__domain">domain</a>;

Received on Tuesday, 4 December 2012 00:43:21 UTC