mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00

Relevant divs are: * Those that have an ID attribute. This is important so anchors still work. * Those whose first or last child is a text-only node. * Those whose first or last child has an inline frame. We now discard divs that are not display:block; or display:inline-block;. We also discard divs that are part of an anonymous subtree. We stop creating divs from the eHyperTextType frame type alltogether. Note that because of shadow DOM properties in the video controls, two additional divs with IDs require role="none" in the media controls widget code. Differential Revision: https://phabricator.services.mozilla.com/D17348 --HG-- extra : moz-landing-system : lando