- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Feb 2009 01:19:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv2424 Modified Files: Overview.html Log Message: Filling in the rendering section: remove hit testing (see www-style); require more UI for hyperlink auditing. (whatwg r2771) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1940 retrieving revision 1.1941 diff -u -d -r1.1940 -r1.1941 --- Overview.html 10 Feb 2009 00:51:54 -0000 1.1940 +++ Overview.html 10 Feb 2009 01:19:25 -0000 1.1941 @@ -991,10 +991,9 @@ <li><a href=#frames-and-framesets><span class=secno>10.5 </span>Frames and framesets</a></li> <li><a href=#interactive-media><span class=secno>10.6 </span>Interactive media</a> <ol> - <li><a href=#hit-testing><span class=secno>10.6.1 </span>Hit testing</a></li> - <li><a href=#links-forms-and-navigation><span class=secno>10.6.2 </span>Links, forms, and navigation</a></li> - <li><a href=#the-mark-element-0><span class=secno>10.6.3 </span>The <code>mark</code> element</a></li> - <li><a href=#the-title-attribute-0><span class=secno>10.6.4 </span>The <code title=attr-title>title</code> attribute</a></ol></li> + <li><a href=#links-forms-and-navigation><span class=secno>10.6.1 </span>Links, forms, and navigation</a></li> + <li><a href=#the-mark-element-0><span class=secno>10.6.2 </span>The <code>mark</code> element</a></li> + <li><a href=#the-title-attribute-0><span class=secno>10.6.3 </span>The <code title=attr-title>title</code> attribute</a></ol></li> <li><a href=#print-media><span class=secno>10.7 </span>Print media</a></li> <li><a href=#interaction-with-css><span class=secno>10.8 </span>Interaction with CSS</a></ol></li> <li><a href=#obsolete-features><span class=secno>11 </span>Obsolete features</a> @@ -33278,8 +33277,8 @@ present, gives the URLs of the resources that are interested in being notified if the user follows the hyperlink. The value must be a space separated list of one or more <span>valid URLs</span>. The - value is used by the user agent when <a href=#following-hyperlinks>following - hyperlinks</a>.<p>For <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements that represent + value is used by the user agent for <a href=#hyperlink-auditing>hyperlink + auditing</a>.<p>For <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements that represent hyperlinks, the relationship between the document containing the hyperlink and the destination resource indicated by the hyperlink is given by the value of the element's <dfn id=attr-hyperlink-rel title=attr-hyperlink-rel><code>rel</code></dfn> attribute, which @@ -33345,7 +33344,7 @@ is in.<p>The navigation must be done with the <a href=#browsing-context>browsing context</a> that contains the <code>Document</code> object with which the hyperlink's element in question is associated as the - <a href=#source-browsing-context>source browsing context</a>.<h5 id=hyperlink-auditing><span class=secno>5.12.2.1 </span>Hyperlink auditing</h5><p>If an <code><a href=#the-a-element>a</a></code> or <code><a href=#the-area-element>area</a></code> hyperlink element has a + <a href=#source-browsing-context>source browsing context</a>.<h5 id=hyperlink-auditing><span class=secno>5.12.2.1 </span><dfn>Hyperlink auditing</dfn></h5><p>If an <code><a href=#the-a-element>a</a></code> or <code><a href=#the-area-element>area</a></code> hyperlink element has a <code title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute, and the user follows the hyperlink, and the hyperlink's <a href=#url>URL</a> can be <a href=#resolve-a-url title="resolve a url">resolved</a>, relative to the @@ -47635,90 +47634,24 @@ proportionally) to each entry whose unit is <i>percentage</i>, then equally (not proportionally) to each entry whose unit is <i>absolute</i>, and finally, failing all else, to the last - entry.<h3 id=interactive-media><span class=secno>10.6 </span>Interactive media</h3><h4 id=hit-testing><span class=secno>10.6.1 </span>Hit testing</h4><p class=XXX>this should really be in a CSS spec -- hot to decide - which element is under the cursor --> - -<!-- - -HIT TESTING TRANSPARENCY - -Definition: IE considers a point of an element "transparent" if any -one of the following are true: - - 1. All of the following are true: - a: The computed value of 'background-image' is 'none', and - b: The computed value of 'background-color' is 'transparent', and - c: The point is over a pixel of an AlphaImageLoader filter image - that has an alpha value of 0 (fully transparent), or the - element does not have an AlphaImageLoader filter applied; - - 2. The point is outside the element's CSS clip rectangle; - - 3. The computed value of 'visibility' is 'hidden'; - - 4. The element is a transparent IFRAME (in IE, an IFRAME with the - custom attribute "allowtransparency"); - - 5. The element is an OBJECT with the custom attribute "wmode" set to - "transparent" and the point in question is fully transparent. - -Given those definitions, when a mouse event occurs, IE finds the -target element as follows: - - A. Take the topmost node that is under the point where the pointer - was for the event. For CSS boxes, borders, padding areas and - content areas are considered part of the node, margins and - leading generated by the 'line-height' property are not. - - B. If there is no node at that point, no event is fired. STOP. - - C. If the node is a text node, then the event is fired at the text - node's nearest ancestor element node. STOP. - - D. If the node is not an element, assign the node's nearest - ancestor element node to a variable X. Otherwise, assign the - element node itself to X. - - E. If the element X is the BODY element or the HTML element and its - document is not the document of a transparent IFRAME, goto step - H. Similarly, if the element X is a TABLE element, or is an IMG - element, goto step H. - - F. If the point where the pointer was is, per the above definition, - a point that on the element X is transparent, then ignore that - element and assign the element that is below that element in the - stacking order to X. If there is no element below X, or if the - point on X is not transparent and so the previous condition - doesn't apply, then leave X as is and go straight to step H. - - G. Goto step E. - - H. If the element X is now a BODY or TABLE element, but the element - assigned to X in step D was some other element, assign the - element originally assigned in step D back to X. - - I. The event goes to X. STOP - - - --> - - - - <h4 id=links-forms-and-navigation><span class=secno>10.6.2 </span>Links, forms, and navigation</h4><p>User agents are expected to allow the user to control aspects of + entry.<h3 id=interactive-media><span class=secno>10.6 </span>Interactive media</h3><h4 id=links-forms-and-navigation><span class=secno>10.6.1 </span>Links, forms, and navigation</h4><p>User agents are expected to allow the user to control aspects of <a href=#hyperlink>hyperlink</a> activation and <a href=#form-submission-0>form submission</a>, such as which <a href=#browsing-context>browsing context</a> is to be used for the subsequent <a href=#navigate title=navigate>navigation</a>.<p>User agents are expected to allow users to discover the destination of <a href=#hyperlink title=hyperlink>hyperlinks</a> and of - <a href=#the-form-element title=form>forms</a> before triggering their <a href=#navigate title=navigate>navigation</a>.<p>User agents are expected to allow users to <a href=#navigate>navigate</a> + <a href=#the-form-element title=form>forms</a> before triggering their <a href=#navigate title=navigate>navigation</a>.<p>User agents are expected to inform the user of whether a + <a href=#hyperlink>hyperlink</a> includes <a href=#hyperlink-auditing>hyperlink auditing</a>, and + to let them know at a minimum which domains will be contacted as + part of such auditing.<p>User agents are expected to allow users to <a href=#navigate>navigate</a> <a href=#browsing-context title="browsing context">browsing contexts</a> to the resources <a href=#resolve-a-url title="resolve a url">indicated</a> by the <code title="">cite</code> attributes on <code><a href=#the-q-element>q</a></code>, <code><a href=#the-blockquote-element>blockquote</a></code>, <code><a href=#the-ins-element>ins</a></code>, and <code><a href=#the-del-element>del</a></code> - elements.<h4 id=the-mark-element-0><span class=secno>10.6.3 </span>The <code><a href=#the-mark-element>mark</a></code> element</h4><p>User agents are expected to allow the user to cycle through all + elements.<h4 id=the-mark-element-0><span class=secno>10.6.2 </span>The <code><a href=#the-mark-element>mark</a></code> element</h4><p>User agents are expected to allow the user to cycle through all the <code><a href=#the-mark-element>mark</a></code> elements in a <code>Document</code>. User agents are also expected to bring their existence to the user's attention, even when they are off-screen, e.g. by highlighting portions of the scroll bar that represent portions of the document - that contain <code><a href=#the-mark-element>mark</a></code> elements.<h4 id=the-title-attribute-0><span class=secno>10.6.4 </span>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute</h4><p>Given an element (e.g. the element designated by the mouse + that contain <code><a href=#the-mark-element>mark</a></code> elements.<h4 id=the-title-attribute-0><span class=secno>10.6.3 </span>The <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute</h4><p>Given an element (e.g. the element designated by the mouse cursor), if the element, or one of its ancestors, has a <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute, and the nearest such attribute has a value that is not the empty string, it is expected that the user agent will expose the contents of that attribute as a
Received on Tuesday, 10 February 2009 01:19:40 UTC