Bug 55889
Summary: | Can't always scroll to see left overflow on RTL pages | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mitz, playmobil, progame+wk, simon.fraser, xji |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | OS X 10.5 | ||
URL: | http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20HTML%3E%0A%3Chtml%3E%0A%3Cbody%20style%3D%22border%3A10px%20solid%20silver%3B%20width%3A100px%3B%20%20direction%3Artl%3B%22%3Exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Simon Fraser (smfr)
URL shows a testcase where you can't scroll to reveal left overflow on RTL pages.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
Huh? <html style="direction:ltr">.
mitz
Meaning, that is not a right-to-left page (direction doesn’t propagate from <body> if it’s explicitly set on <html>).
Simon Fraser (smfr)
Updated URL.
Simon Fraser (smfr)
Caused by bug 55077?
mitz
Simon, the updated URL still has <html style="direction:ltr;">.
Simon Fraser (smfr)
Fixed.
mitz
Does seem like a duplicate of bug 55077.
Yair Yogev
i don't know which is correct but using the old URL (with <html style="direction:ltr"> but RTL body), FF showed a horizontal scrollbar while WebKit did not.
Xiaomei Ji
(In reply to comment #8)
> i don't know which is correct but using the old URL (with <html style="direction:ltr"> but RTL body), FF showed a horizontal scrollbar while WebKit did not.
The direction propagation in Webkit (when dir is set in root) is different from that in Firefox.
In Webkit "Direction and writing-mode should propagate from the <body> to the <html> to the ICB as long as the <html> hasn't explicitly set the direction or writing-mode." (from dhyatt),
while Firefox always propagate the direction from the <body> to the initial containing block even if the <html> has explicitly set the direction.
Please refer to description and comment #9 in bug 48157.
Xiaomei Ji
please reopen if I am wrong.
*** This bug has been marked as a duplicate of bug 55077 ***
Simon Fraser (smfr)
In this bug, we didn't even get a scrollbar.
Yair Yogev
(In reply to comment #11)
> In this bug, we didn't even get a scrollbar.
maybe i didn't understand the testcase, but after the change in comment #3 i get one (using chrome)
Xiaomei Ji
(In reply to comment #12)
> (In reply to comment #11)
> > In this bug, we didn't even get a scrollbar.
>
>
> maybe i didn't understand the testcase, but after the change in comment #3 i get one (using chrome)
Using chrome linux, I see the same: horizontal scrollbar presents. but scroll does not reveal left overflow before r80622, and it reveals left overflow after r80622.
Simon Fraser (smfr)
OK cool.
*** This bug has been marked as a duplicate of bug 55077 ***