WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
84026
RTL document in <iframe> should have left-hand scrollbar.
https://bugs.webkit.org/show_bug.cgi?id=84026
Summary
RTL document in <iframe> should have left-hand scrollbar.
Aharon (Vladimir) Lanin
Reported
2012-04-16 05:43:35 PDT
This is a continuation of
bug 54623
, for the case of scrollbar on an <iframe>. Currently, it is always on the right, even if both the <iframe> and the document inside it have direction:rtl. For an <iframe>, the scrollbar should be on the start side of the document inside it (even though that is *not* the case when the same document is displayed in a separate tab, not an <iframe>). If the thing inside the <iframe> does not have a direction, e.g. it is an image, it should be on the start side of the <iframe>'s direction. (If the latter requirement is very difficult to achieve, though, it can be relaxed.) As usual, behavior on Mac OS X is a special case.
Attachments
Test case. Extract the files in the zip and open iframe-scollbar-outer.html.
(22.13 KB, application/octet-stream)
2012-04-16 05:45 PDT
,
Aharon (Vladimir) Lanin
no flags
Details
A test result on IE9
(100.26 KB, image/jpeg)
2012-04-19 21:47 PDT
,
Hironori Bono
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Aharon (Vladimir) Lanin
Comment 1
2012-04-16 05:45:54 PDT
Created
attachment 137328
[details]
Test case. Extract the files in the zip and open iframe-scollbar-outer.html.
Eric Seidel (no email)
Comment 2
2012-04-16 14:07:04 PDT
Thanks!
Hironori Bono
Comment 3
2012-04-19 21:47:25 PDT
Created
attachment 138040
[details]
A test result on IE9 Greetings Aharon, Thanks for your bug report. When I open your test file "iframe-scrollbar-outer.html" with IE9, it renders a scrollbar to the left side of its third iframe element, i.e. "<iframe src="iframe-scrollbar-inner.png"> as shown in the attached picture. Is it your expected one? (It seems IE9 does not allow an inner element of an <iframe> element to inherit the direction property from it.) If it is acceptable for you, it is not so hard to implement its fix. (As far as I have quickly investigated, WebKit does not allow it as well as IE9. Changing this behavior may need a discussion.) Regards, Hironori Bono
Aharon (Vladimir) Lanin
Comment 4
2012-04-22 06:16:21 PDT
(In reply to
comment #3
)
> Created an attachment (id=138040) [details] > A test result on IE9 > > Greetings Aharon, > > Thanks for your bug report. > When I open your test file "iframe-scrollbar-outer.html" with IE9, it renders a scrollbar to the left side of its third iframe element, i.e. "<iframe src="iframe-scrollbar-inner.png"> as shown in the attached picture.
The picture you attached shows the third iframe with the scrollbar on the right, not the left. It is the same result that I get.
> Is it your expected one?
No, I want it to be on the left.
> (It seems IE9 does not allow an inner element of an <iframe> element to inherit the direction property from it.)
I do not want an HTML document in an <iframe> to inherit the direction of the iframe. I only think that it might be nice to have thaact happen for an image or other content types that can not specify their own direction. And even there, it is not a very important requirement. It's the first iframes in the test case that are important.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug