Skip to content

Commit

Permalink
Remove "control group" concept from the focus model
Browse files Browse the repository at this point in the history
The control group concept existed to give special focus behavior to
<dialog> elements, treating them on par with Documents in terms of
allowing focus to shift inside of them. However, this was never
implemented in user agents.

This change removes the control group concept, instead using Document
directly. This allows some simplifications, e.g. because the first
focusable area of a non-empty Document is always the Document's
viewport.

The change uncovered some areas of the spec that were potentially wrong
or unclear when considering focus around documents. We will follow up on
that in #3675. But for now we keep
the same algorithms, just without <dialog>s.

Fixes #2171.
  • Loading branch information
Takayoshi Kochi authored and domenic committed May 14, 2018
1 parent 65d1172 commit 90a60b2
Showing 1 changed file with 79 additions and 166 deletions.
Loading

0 comments on commit 90a60b2

Please sign in to comment.