Closed Bug 1274658 Opened 8 years ago Closed 8 years ago

[Windows] [Mac OS X] Resize grippy misoriented and wrong cursor direction in sideways-rl writing-mode

Categories

(Core :: Layout: Form Controls, defect)

All
Windows
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: bugzilla, Assigned: jfkthame)

References

(Blocks 1 open bug, )

Details

(Keywords: testcase)

Attachments

(1 file)

Test
----

http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/form-controls-srl-005.htm


Actual
------

The resizing grippy is oriented like /// .
When the cursor hovers over the resizing grippy of the textarea, the cursor is se-resize .


Expected
--------
The resizing grippy should be instead oriented like \\\ . So, it should be rotated 90 degrees clock-wise from its actual orientation.

When the cursor hovers over the resizing grippy of the textarea, the cursor should be sw-resize . 


Notes
-----

- This spun from bug 1274368 comment 1 :
"
For the srl testcase, OS X displays that in a wrong orientation like what you described in comment 0. In addition, for that testcase, the cursor on both OS X and Windows has wrong direction.
"
- I personally do not have and do not use Windows nor Mac OS X, so I can not answer questions. Please direct your questions to Xidorn Quan
- I've searched for duplicates and did not find any.
We may also need to check with tests
<div style="resize: both;">
the other 3 vertical writing-modes.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Comment on attachment 8755002 [details] [diff] [review]
Resizer needs to recognize sideways-rl as a "right-to-left" mode for orientation of the icon/cursor

Review of attachment 8755002 [details] [diff] [review]:
-----------------------------------------------------------------

r=me

(Though: it seems like this will only fix the second half of the EXPECTED RESULTS -- about the cursor orientation.

The first half -- about the /// vs \\\ grippy-corner -- is broken for me in sideways-rl *as well as* vertical-rl writing-modes right now. So I don't think this change will fix that part, since it's simply broadening an existing vertical-rl scenario.)
Attachment #8755002 - Flags: review?(dholbert) → review+
(In reply to Daniel Holbert [:dholbert] from comment #3)
> Comment on attachment 8755002 [details] [diff] [review]
> Resizer needs to recognize sideways-rl as a "right-to-left" mode for
> orientation of the icon/cursor
> 
> Review of attachment 8755002 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> r=me
> 
> (Though: it seems like this will only fix the second half of the EXPECTED
> RESULTS -- about the cursor orientation.
> 
> The first half -- about the /// vs \\\ grippy-corner -- is broken for me in
> sideways-rl *as well as* vertical-rl writing-modes right now. So I don't
> think this change will fix that part, since it's simply broadening an
> existing vertical-rl scenario.)

You're on Linux, aren't you? In which case I think that is a separate, gtk-widget-specific issue; see bug 1274368. The patch here fixes the /// vs \\\ display issue for me on OS X, at least.
https://hg.mozilla.org/integration/mozilla-inbound/rev/95517d1a640b4557c7b9e45eec5d999df0479f0f
Bug 1274658 - Resizer needs to recognize sideways-rl as a "right-to-left" mode for orientation of the icon/cursor. r=dholbert
Ah, ok -- yes, I am indeed on Linux.
https://hg.mozilla.org/mozilla-central/rev/95517d1a640b
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: