Closed
Bug 979232
Opened 11 years ago
Closed 11 years ago
Bookmarking animation goes the wrong way in RTL mode
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
VERIFIED
FIXED
Firefox 30
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Keywords: rtl, Whiteboard: [Australis:P3])
Attachments
(1 file)
2.05 KB,
patch
|
dao
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
What it says in the summary. It looks a bit silly, having the star move from the menu dropmarker to the star...
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:P3]
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8385306 -
Flags: review?(dao)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Comment 2•11 years ago
|
||
Comment on attachment 8385306 [details] [diff] [review]
adjust Australis' bookmarks animation for rtl,
>+ let isRTL = getComputedStyle(this.button).direction == "rtl";
> let buttonRect = this.button.getBoundingClientRect();
> let notifierRect = this.notifier.getBoundingClientRect();
> let topDiff = buttonRect.top - notifierRect.top;
> let leftDiff = buttonRect.left - notifierRect.left;
> let heightDiff = buttonRect.height - notifierRect.height;
> let widthDiff = buttonRect.width - notifierRect.width;
> let translateX = (leftDiff + .5 * widthDiff) + "px";
> let translateY = (topDiff + .5 * heightDiff) + "px";
>- this.notifier.style.transform = "translate(" + translateX + ", " + translateY + ")";
>+ let desiredTransform = "translate(" + translateX + ", " + translateY + ")";
>+ if (isRTL) {
>+ desiredTransform += " scaleX(-1)";
>+ }
>+ this.notifier.style.transform = desiredTransform;
s/desiredTransform/transform/
Attachment #8385306 -
Flags: review?(dao) → review+
Assignee | ||
Comment 3•11 years ago
|
||
w/ nit,
remote: https://hg.mozilla.org/integration/fx-team/rev/b45d126adc15
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:P3] → [Australis:P3][fixed-in-fx-team]
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][fixed-in-fx-team] → [Australis:P3]
Target Milestone: --- → Firefox 30
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8385306 [details] [diff] [review]
adjust Australis' bookmarks animation for rtl,
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis
User impact if declined: RTL users have the bookmark animation going the wrong way (from dropmarker to star instead of vice versa)
Testing completed (on m-c, etc.): on m-c, locally
Risk to taking this patch (and alternatives if risky): very low
String or IDL/UUID changes made by this patch: none
Attachment #8385306 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → fixed
Updated•11 years ago
|
Attachment #8385306 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 6•11 years ago
|
||
Updated•11 years ago
|
QA Contact: cornel.ionce
Comment 7•11 years ago
|
||
Verified as fixed on latest Nightly (build ID: 20140313030202) and latest Aurora (build ID: 20140313004000).
Tested on Windows 7 64 bit, Ubuntu 12.04 and Mac OS X 10.9.
- verified using the "He", "Ar" and "Fa" locales
- verified by creating the string preference "intl.uidirection.en" and set it the value "rtl".
You need to log in
before you can comment on or make changes to this bug.
Description
•