- From: poot <cvsmail@w3.org>
- Date: Wed, 25 Jan 2012 17:49:25 -0500
- To: public-html-diffs@w3.org
hixie: Define the legacycaller behaviour of <embed> and <object>. (whatwg r6915) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5512&r2=1.5513&f=h http://html5.org/tools/web-apps-tracker?from=6914&to=6915 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5512 retrieving revision 1.5513 diff -u -d -r1.5512 -r1.5513 --- Overview.html 24 Jan 2012 23:38:08 -0000 1.5512 +++ Overview.html 25 Jan 2012 22:49:09 -0000 1.5513 @@ -320,7 +320,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-24-january-2012">Editor's Draft 24 January 2012</h2> + <h2 class="no-num no-toc" id="editor-s-draft-25-january-2012">Editor's Draft 25 January 2012</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -467,7 +467,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 24 January 2012 Editor's Draft. + This specification is the 25 January 2012 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -21255,6 +21255,7 @@ attribute DOMString <a href="#dom-embed-type" title="dom-embed-type">type</a>; attribute DOMString <a href="#dom-dim-width" title="dom-dim-width">width</a>; attribute DOMString <a href="#dom-dim-height" title="dom-dim-height">height</a>; + <a href="#dom-embed-caller" title="dom-embed-caller">legacycaller</a> any (any... arguments); };</pre> <div class="impl"> <p>Depending on the type of content instantiated by the @@ -21425,10 +21426,14 @@ attributes of the <code><a href="#the-embed-element">embed</a></code> element that have no namespace to the <a href="#plugin">plugin</a> used, when it is instantiated.</p> - <p>If the <a href="#plugin">plugin</a> instantiated for the - <code><a href="#the-embed-element">embed</a></code> element supports a scriptable interface, the - <code><a href="#htmlembedelement">HTMLEmbedElement</a></code> object representing the element should - expose that interface while the element is instantiated.</p> + <p>The <code><a href="#htmlembedelement">HTMLEmbedElement</a></code> object representing the element + must expose the scriptable interface of the <a href="#plugin">plugin</a> + instantiated for the <code><a href="#the-embed-element">embed</a></code> element. At a minimum, this + interface must implement the <dfn id="dom-embed-caller" title="dom-embed-caller">legacy + caller operation</dfn>. (It is suggested that the default behavior + of this legacy caller operation, e.g. the behavior of the default + plugin's legacy caller operation, be to throw a + <code><a href="#notsupportederror">NotSupportedError</a></code> exception.)</p> </div><p>The <code><a href="#the-embed-element">embed</a></code> element supports <a href="#dimension-attributes">dimension attributes</a>.<div class="impl"> @@ -21500,6 +21505,8 @@ readonly attribute DOMString <a href="#dom-cva-validationmessage" title="dom-cva-validationMessage">validationMessage</a>; boolean <a href="#dom-cva-checkvalidatity" title="dom-cva-checkValidatity">checkValidity</a>(); void <a href="#dom-cva-setcustomvalidity" title="dom-cva-setCustomValidity">setCustomValidity</a>(DOMString error); + + <a href="#dom-object-caller" title="dom-object-caller">legacycaller</a> any (any... arguments); };</pre> <div class="impl"> <p>Depending on the type of content instantiated by the @@ -22074,6 +22081,13 @@ <code title="dom-fae-form"><a href="#dom-fae-form">form</a></code> IDL attribute is part of the element's forms API.</p> + <p>All <code><a href="#the-object-element">object</a></code> elements have a <dfn id="dom-object-caller" title="dom-object-caller">legacy caller operation</dfn>. If the + <code><a href="#the-object-element">object</a></code> element has an instantiated <a href="#plugin">plugin</a> + that supports a scriptable interface that defines a legacy caller + operation, then that must be the behavior of the object's legacy + caller operation. Otherwise, the object's legacy caller operation + must be to throw a <code><a href="#notsupportederror">NotSupportedError</a></code> exception.</p> + </div><div class="example"> <p>In the following example, a Java applet is embedded in a page
Received on Wednesday, 25 January 2012 22:49:27 UTC