mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00

When we're slotted, we inherit our directionality from the slot element. But when binding an ltr subtree into an rtl subtree, we used to bind the explicit kids first, then the shadow root kids (which includes the slots to which explicit kids may have been assigned). So the explicit kids looked at the slot directionality before it was recomputed, and thus ended up with ltr rather than rtl directionality. Differential Revision: https://phabricator.services.mozilla.com/D42304 --HG-- extra : moz-landing-system : lando