Closed
Bug 1509651
Opened 6 years ago
Closed 6 years ago
Stop flushing style for knowing the UI direction
Categories
(Firefox :: General, enhancement, P3)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: perf)
Attachments
(1 file)
We should use element.matches(":-moz-locale-dir(rtl)") instead of getComputedStyle, as the former doesn't flush style. We should also add a helper for this in browser.js.
Assignee | ||
Updated•6 years ago
|
Summary: Stop style flushes for knowing the UI direction → Stop flushing style for knowing the UI direction
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7bff5a024410 Stop flushing style for knowing the UI direction. r=florian
Comment 3•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7bff5a024410
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•