Closed
Bug 1234122
Opened 9 years ago
Closed 8 years ago
No horizon scroll bar when using direction: rtl & ltr with writing-mode: vertical-rl
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: m_kato, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
See attach sample. content flows right to left, but there is no horizon scrollbar.
I test on Nightly 2015-12-20.
Reporter | ||
Updated•9 years ago
|
Blocks: writing-mode
Comment 2•8 years ago
|
||
Chances are very high that this is a DUPLICATE of bug 1102175 .
If <body> has its 'writing-mode' set to 'vertical-rl', then such computed writing-mode value is propagated to the initial containing block. Therefore an horizontal scrollbar should be generated if document box width exceed window viewport.
Keywords: testcase
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: DUPLICATE of bug 1102175 ?
Closing as invalid: the behavior here is correct per spec.
What is happening is this:
The root element (<html>) is horizontal-tb LTR. This means that the page is considered to be a horizontal-tb LTR page, and thus it is only allowed to scroll down / to the right. Any content to the left or above the origin of the canvas is unreachable.
The #main element is specified to be RTL. Its width fills the viewport and is positioned precisely within it. None of this element overflows to the left or to the right.
The vertical-rl element is inside the RTL element. Its content is wider than the viewport. Because content inside an RTL element is right-aligned, it overflows the RTL element on its left edge. Beyond the left edge of the RTL element is the unscrollable region (outside the left edge of the canvas). This is why there is no scrollbar provided.
P.S. I don't understand why anyone is using 'direction: rtl' together with Japanese writing. 'direction: rtl' should never be used, period--only the 'dir' attribute should be used, and only for content that is in fact RTL (as Arabic or Hebrew text). If there is some layout effect desired, then this is the wrong way to accomplish it. :(
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Resolution: INVALID → FIXED
Whiteboard: DUPLICATE of bug 1102175 ?
Updated•8 years ago
|
Resolution: FIXED → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•