Open Bug 1197860 Opened 9 years ago Updated 3 years ago

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

Categories

(Core :: DOM: Editor, defect, P5)

40 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: j.swiderski, Unassigned)

Details

(Keywords: rtl, testcase)

Attachments

(1 file)

Attached file 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
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

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: