You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1112,7 +1112,7 @@ including all graphical transformations, such as <a>relative positioning</a> or
1112
1112
1113
1113
The <dfn>boundary box</dfn> of an object is defined as follows:
1114
1114
* if the object is a point, the boundary box is that point
1115
-
* if the object is an element, the boundary box is the <a>border box</a> of the element's <a>principal box</a>.
1115
+
* if the object is a [=box=] or [=box fragment=], the boundary box is the <a>border box</a> of that box or fragment.
1116
1116
* if the object is a <a>focusable area</a> which is not an element, the boundary box is the axis-aligned the bounding box of that <a>focusable area</a>
1117
1117
1118
1118
Issue(w3c/csswg-drafts#2324): CSS should have a term for “border box taking into account corner shaping properties like border-radius”.
@@ -1123,8 +1123,9 @@ To <dfn lt="find focusable areas | finding focusable areas">find focusable areas
1123
1123
with an optional <var>visibleOnly</var> argument that defaults to <code>true</code>,
1124
1124
follow the following steps:
1125
1125
1126
-
1. Let <var>focusables</var> be the <a spec=infra for="/">set</a> of all the <a>focusable areas</a> that are descendants of <var>C</var>.
1127
-
2. The UA should <a spec=infra for=set>remove</a> from <var>focusables</var> elements whose <a element-attr spec=html><code>tabindex</code></a> attribute is set to a negative value.
1126
+
1. Let <var>focusables</var> be the <a spec=infra for="/">set</a> of all the <a>focusable areas</a> whose [=DOM anchor=] are descendants of <var>C</var>.
1127
+
In the case of [=boxes=] with several [=box fragments=], each [=box fragment=] is considered separately.
1128
+
2. The UA should <a spec=infra for=set>remove</a> from <var>focusables</var> items that have a [=DOM anchor=] whose <a element-attr spec=html><code>tabindex</code></a> attribute is set to a negative value.
1128
1129
1129
1130
Note: This is a "SHOULD" in order to mirror the exclusion of elements with negative tabindex
1130
1131
from the <a>sequential focus navigation order</a> as defined in [[HTML#the-tabindex-attribute]].
@@ -1175,7 +1176,7 @@ follow the following steps:
1175
1176
* the viewport if <var>starting point</var> is a <a>Document</a>,
1176
1177
* the <a>border box</a> of <var>starting point</var> otherwise.
1177
1178
4. Let <var>insiders</var> be the subset of <var>candidates</var> items
1178
-
who are descendants of <var>starting point</var>
1179
+
whose [=DOM anchor=] are descendants of <var>starting point</var>
1179
1180
and whose <a>boundary box</a>'s
1180
1181
* top edge is below the top edge of <var>insideArea</var> if <var>D</var> is <code>down</code>
1181
1182
* bottom edge is above the bottom edge of <var>insideArea</var> if <var>D</var> is <code>up</code>
0 commit comments