mirror of
https://github.com/servo/servo
synced 2026-05-11 17:37:21 +02:00
Make Servo match the focus bits of the HTML specification a bit more by storing a `FocusableArea` as the currently focused thing in a `Document` instead of an optional `Element`. There is always a focused area of a `Document`, defaulting to the viewport. This is important to support the case of focused navigables and image maps parts in the future. Some focus chain debugging code has been removed as the focus chain concept needs to be reworked to match the specification more closely. Testing: This should not change behavior so existing tests should suffice. Signed-off-by: Martin Robinson <mrobinson@igalia.com>