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)
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 | ||
Updated•9 years ago
|
Blocks: CSS_Refactor_2.5
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → augustin.trancart
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Component: Gaia → Gaia::Shared
Assignee | ||
Comment 2•9 years ago
|
||
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 3•9 years ago
|
||
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+
Comment 4•9 years ago
|
||
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.
Description
•