Skip to content

Commit c5d9370

Browse files
author
Jihye Hong
committed
2 parents 00aaa6f + 1ba1a2b commit c5d9370

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

index.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ including all graphical transformations, such as <a>relative positioning</a> or
11121112

11131113
The <dfn>boundary box</dfn> of an object is defined as follows:
11141114
* 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.
11161116
* 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>
11171117

11181118
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
11231123
with an optional <var>visibleOnly</var> argument that defaults to <code>true</code>,
11241124
follow the following steps:
11251125

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.
11281129

11291130
Note: This is a "SHOULD" in order to mirror the exclusion of elements with negative tabindex
11301131
from the <a>sequential focus navigation order</a> as defined in [[HTML#the-tabindex-attribute]].
@@ -1175,7 +1176,7 @@ follow the following steps:
11751176
* the viewport if <var>starting point</var> is a <a>Document</a>,
11761177
* the <a>border box</a> of <var>starting point</var> otherwise.
11771178
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>
11791180
and whose <a>boundary box</a>'s
11801181
* top edge is below the top edge of <var>insideArea</var> if <var>D</var> is <code>down</code>
11811182
* bottom edge is above the bottom edge of <var>insideArea</var> if <var>D</var> is <code>up</code>

0 commit comments

Comments
 (0)