alice
changed the title
layout: Root nodes which correspond to accessibility tree nodes.
layout: Root unbound nodes until next reflow is finished.
…abled` Also check whether accessibility is *active* before rooting nodes. Signed-off-by: Alice Boxhall <alice@igalia.com>
- Use debug_assert!() for pref assertions - Don't check pref before checking accessibility_enabled(). Signed-off-by: Alice Boxhall <alice@igalia.com>
- Rename methods on AccessibilityData to remove redundant "_for_accessibility()" - Remove pref check for unroot_all_removed_nodes() which just calls clear() on an empty hash set if the pref is off - Add convenience method on Document to check for accessibility active. Signed-off-by: Alice Boxhall <alice@igalia.com>