(scopeRef: ScopeRef)
| 287 | } |
| 288 | |
| 289 | function shouldContainFocus(scopeRef: ScopeRef) { |
| 290 | let scope = focusScopeTree.getTreeNode(activeScope); |
| 291 | while (scope && scope.scopeRef !== scopeRef) { |
| 292 | if (scope.contain) { |
| 293 | return false; |
| 294 | } |
| 295 | |
| 296 | scope = scope.parent; |
| 297 | } |
| 298 | |
| 299 | return true; |
| 300 | } |
| 301 | |
| 302 | function getRadiosInGroup(element: HTMLInputElement): HTMLInputElement[] { |
| 303 | if (!element.form) { |
no test coverage detected