Closed Bug 1213972 Opened 9 years ago Closed 9 years ago

[RTL] replace scaleX(-1) with mirrored images

Categories

(Firefox OS Graveyard :: Gaia::Shared, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: autra, Assigned: autra)

References

Details

Attachments

(1 file)

To mirror some icons and elements for RTL views, we previously used scaleX(-1). Let's replace these with: - gaia-icons when possible - mirrored version of these images. We should gain in performance, especially when displaying lists.
Assignee: nobody → augustin.trancart
Component: Gaia → Gaia::Shared
Comment on attachment 8680670 [details] [review] [gaia] Phoxygen:bug1213972-rtl_remove_scaleX > mozilla-b2g:master Hey Kevin, I removed nearly every scaleX(-1) left after our RTL refacto. I've left 3: - 2 for progress building block and for progress web component. - 1 for tv_apps/smart-system, out-of-scope for our current refacto effort. Usually, removing these scaleX brings performance improvement. That was not the case for the 2 scaleX in progress bb and wc. The resulting code was more complex and did not bring any semantic improvement either. For this rtl refacto, one of our moto was "equivalent code for LTR and RTL", but I don't think it is worthy here.
Attachment #8680670 - Flags: review?(kevingrandon)
Comment on attachment 8680670 [details] [review] [gaia] Phoxygen:bug1213972-rtl_remove_scaleX > mozilla-b2g:master I'm not sure I understand the benefit, but I'm fine rubber stamping this if you say it's better. Note: tests didn't run, but I do think that this should be fine to land since it's just purely CSS changes. Thanks for the patch!
Attachment #8680670 - Flags: review?(kevingrandon) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: