mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
UA widgets (such as textual `<input>`) create a shadow DOM to contain their various parts. When clicking on these parts (such as the text node of the widget contents), we should use the root node of the widget as the activable node. This means that wehen you click on the inside of an `<input>` element, the input matches the `:active` pseudo-selector. Testing: This improves WPT tests. Fixes: #41102 Signed-off-by: Martin Robinson <mrobinson@igalia.com>