[html5] r2771 - [] (0) Filling in the rendering section: remove hit testing (see www-style); req [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 9 17:19:20 PST 2009


Author: ianh
Date: 2009-02-09 17:19:20 -0800 (Mon, 09 Feb 2009)
New Revision: 2771

Modified:
   index
   source
Log:
[] (0) Filling in the rendering section: remove hit testing (see www-style); require more UI for hyperlink auditing.

Modified: index
===================================================================
--- index	2009-02-10 00:51:48 UTC (rev 2770)
+++ index	2009-02-10 01:19:20 UTC (rev 2771)
@@ -1068,10 +1068,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>
@@ -40715,8 +40714,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>
+  value is used by the user agent for <a href=#hyperlink-auditing>hyperlink
+  auditing</a>.</p>
 
   <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
@@ -40813,7 +40812,7 @@
   <a href=#source-browsing-context>source browsing context</a>.</p>
 
 
-  <h5 id=hyperlink-auditing><span class=secno>5.12.2.1 </span>Hyperlink auditing</h5>
+  <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
@@ -57840,79 +57839,9 @@
 
   <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 -->
+  <h4 id=links,-forms,-and-navigation><span class=secno>10.6.1 </span>Links, forms, and navigation</h4>
 
-<!--
-
-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
   <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
@@ -57922,6 +57851,11 @@
   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>
 
+  <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>
+
   <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>,
@@ -57930,7 +57864,7 @@
 
 
 
-  <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>
+  <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
@@ -57941,7 +57875,7 @@
 
 
 
-  <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>
+  <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

Modified: source
===================================================================
--- source	2009-02-10 00:51:48 UTC (rev 2770)
+++ source	2009-02-10 01:19:20 UTC (rev 2771)
@@ -46298,8 +46298,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 <span>following
-  hyperlinks</span>.</p>
+  value is used by the user agent for <span>hyperlink
+  auditing</span>.</p>
 
   <p>For <code>a</code> and <code>area</code> elements that represent
   hyperlinks, the relationship between the document containing the
@@ -46406,7 +46406,7 @@
   <span>source browsing context</span>.</p>
 
 
-  <h5>Hyperlink auditing</h5>
+  <h5><dfn>Hyperlink auditing</dfn></h5>
 
   <p>If an <code>a</code> or <code>area</code> hyperlink element has a
   <code title="attr-hyperlink-ping">ping</code> attribute, and the
@@ -63382,77 +63382,7 @@
 
   <h3>Interactive media</h3>
 
-  <h4>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>Links, forms, and navigation</h4>
 
   <p>User agents are expected to allow the user to control aspects of
@@ -63465,6 +63395,11 @@
   <span title="form">forms</span> before triggering their <span
   title="navigate">navigation</span>.</p>
 
+  <p>User agents are expected to inform the user of whether a
+  <span>hyperlink</span> includes <span>hyperlink auditing</span>, and
+  to let them know at a minimum which domains will be contacted as
+  part of such auditing.</p>
+
   <p>User agents are expected to allow users to <span>navigate</span>
   <span title="browsing context">browsing contexts</span> to the
   resources <span title="resolve a url">indicated</span> by the <code




More information about the Commit-Watchers mailing list