mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00

The `getCurrentMatrix` function is used by grid and other highlighters to account for the element's position, transforms, etc. Here we extend it with extra logic to account for the element's writing mode and text direction. MozReview-Commit-ID: AZT4cJySLwk --HG-- extra : rebase_source : 55504705fba929f6209ac8c76a000fd26cd8dd3e