mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
This change has two main interdependent parts: 1. It starts to align Servo's focus code with what is written in the HTML specification. This is going to be a gradual change, so there are still many parts that do not match the specification yet. Still, this adds the major pieces. 2. It adds initial support for the `ShadowRoot.delegatesFocus` property which controls how focusing a shadow DOM root can delegate focus to one of its children. Testing: This causes a few WPT tests to start passing. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
10 lines
390 B
Rust
10 lines
390 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
pub(crate) use self::element::*;
|
|
pub(crate) mod attributes;
|
|
#[allow(clippy::module_inception, reason = "The interface name is element")]
|
|
pub(crate) mod element;
|
|
pub(crate) mod focus;
|