Closed
Bug 821283
Opened 13 years ago
Closed 13 years ago
Arrow on arrow panel rendered incorrectly when appearing to the side in rtl
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: enndeakin, Assigned: enndeakin)
References
Details
Attachments
(1 file)
|
3.88 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
This is because the side flipping should occur for POPUPALIGNMENT_LEFTCENTER and POPUPALIGNMENT_RIGHTCENTER. A test is included in bug 798226.
Attachment #691798 -
Flags: review?(neil)
Comment 1•13 years ago
|
||
Comment on attachment 691798 [details] [diff] [review]
Handle rtl
> // no need to flip the centered anchor types
>- if (popupAnchor < POPUPALIGNMENT_LEFTCENTER) {
>+ if (popupAnchor <= POPUPALIGNMENT_LEFTCENTER) {
So, this is the crux of the code - the word "vertically" should probably be added to the comment. The rest appears to be just to take care of the fallout from changing the value of POPUPALIGNMENT_RIGHTCENTER to work here.
Attachment #691798 -
Flags: review?(neil) → review+
Comment 2•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
| Assignee | ||
Updated•13 years ago
|
Flags: in-testsuite+
Updated•13 years ago
|
Assignee: nobody → enndeakin
Comment 3•8 years ago
|
||
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in
before you can comment on or make changes to this bug.
Description
•