RESOLVED INVALID95951
Background-image-RTL Incorrect behavior for right aligned body background images on RTL documents
https://bugs.webkit.org/show_bug.cgi?id=95951
Summary Incorrect behavior for right aligned body background images on RTL documents
Jon
Reported 2012-09-06 01:50:42 PDT
Created attachment 162450 [details] Demonstrates webkit's unexpected behavior If the document's direction is defined as RTL (right-to-left) and you assign a background-image to the body tag, and this body tag is aligned right, this image will be displayed incorrectly once the window is made smaller and horizontal scrollbars appear. This can be verified on the URL http://91.123.201.209/bg_rtl_test.html or viewing the attached image where a test has been made using the nightly build and compared to the behavior of IE, Firefox and Opera. In the example, you would expect the word "Contents" to always be on top of the blue background for any size of the viewport.
Attachments
Demonstrates webkit's unexpected behavior (197.68 KB, image/png)
2012-09-06 01:50 PDT, Jon
no flags
Jon
Comment 1 2012-09-09 04:04:31 PDT
There is an ongoing discussion about this problem at the webmaster world's forum: http://www.webmasterworld.com/css/4491233.htm Some comments might help shedding a light to this problem. For example, it has been proven that the background image will align right to the viewport instead of the document, even though the document's body has a width that is larger than the width of the viewport, for both RTL and LTR documents.
Jon
Comment 2 2012-09-20 14:20:25 PDT
Brent Fulgham
Comment 4 2022-07-13 11:02:13 PDT
The relevant website no longer exists.
Note You need to log in before you can comment on or make changes to this bug.