Closed
Bug 526477
Opened 16 years ago
Closed 15 years ago
[RTL] rtl pages clipped on left
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: tuukka.tolvanen, Unassigned)
References
Details
(Keywords: rtl, Whiteboard: resolveme 2010-10-7)
Attachments
(3 files)
On rtl pages, the overflow is cropped out on the left side.
Examples:
http://ar-ar.facebook.com/ (may need to manually select non-mobile site and then arabic at bottom)
http://likud.org.il/
http://fa.wikipedia.org/
The width of the canvas appears to be correct, but the content is set in it such that the left edge is clipped and there's empty space on the right.
| Reporter | ||
Comment 1•16 years ago
|
||
| Reporter | ||
Comment 2•16 years ago
|
||
This is fennec1.0b4; I think b3 behaved differently on some of these cases.
Comment 3•16 years ago
|
||
Same thing on Beta 5
Updated•16 years ago
|
tracking-fennec: --- → 1.0-
Comment 4•16 years ago
|
||
I'm not sure but it seems that IgnoreScrollFrame rendering way and rootScrollFrame scroll position conflicting between each other.
LTR fb we are calculating scrollPos from left/top page point (0,0), in RTL fb we are calculating scrollPos from scrollMaxX, 0 page point in layout coordinates.
And to be able render left part of RTL fb in IgnoreScrollFrame mode, we should give negative layout coordinates...
roc, any ideas why here is the such strange behavior?
Comment 5•16 years ago
|
||
If on RTL page we call:
javascript:window.scrollX;
it show negative value... but
javascript:window.scrollMaxX;
show positive value..
is it by standard or or what?
Btw: in google-chrome RTL facebook also broken.
(In reply to comment #4)
> And to be able render left part of RTL fb in IgnoreScrollFrame mode, we should
> give negative layout coordinates...
That sounds right. Does it work?
> roc, any ideas why here is the such strange behavior?
That's just what we (and other browsers) do.
Comment 7•16 years ago
|
||
Fennec needs to support rtl in general. THere's a bug on file for this and marking this bug as dependent on the other.
Depends on: 476423
Updated•15 years ago
|
Keywords: rtl
Summary: rtl pages clipped on left → [RTL] rtl pages clipped on left
Updated•15 years ago
|
Flags: in-litmus?
Updated•15 years ago
|
tracking-fennec: 1.0- → ?
Litmus Test case : https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=12774 added.
Disabled until this bug is fixed.
Flags: in-litmus? → in-litmus+
Comment 10•15 years ago
|
||
Naoki - I assume this bug is still a problem?
Updated•15 years ago
|
Whiteboard: resolveme 2010-10-7
Updated•15 years ago
|
Status: NEW → RESOLVED
tracking-fennec: ? → ---
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•