Dimensions label is displayed incorrectly when image is resized inside contenteditable element with rtl="true"

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: j.swiderski, Unassigned)

Tracking

({rtl, testcase})

40 Branch
rtl, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8651814 [details]
image_resize.html

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150812163655

Steps to reproduce:

1. Use below code on HTML page
<body dir="rtl" lang="he" contenteditable="true">
	<div><img alt="Sample Image" src="http://studentlanka.com/wp-content/uploads/2013/02/opensource-logo.png" style="height:182px; width:145px" /></div>
</body>
2. Click on the image and resize it.
3. Observe the dimensions label.


Actual results:

The label shows e.g. (x 183 (+8, +10 148


Expected results:

Since the result in LTR mode is  148 x 183 (+8, +10), I would suspect that in RTL mode it should look like (10+ ,8+) 183 x 148




(x 183 (+8, +10 148

Comment 1

3 years ago
Moving to a more appropriate component. Feel free to move back If I am wrong
QA Whiteboard: [bugday-20150824]
Component: Untriaged → ImageLib
Product: Firefox → Core
I don't think Imagelib is responsible for those captions. I think the Editor code is.
Component: ImageLib → Editor

Updated

3 years ago
Keywords: rtl, testcase
You need to log in before you can comment on or make changes to this bug.