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 |
Description
Simon Fraser (smfr)
2011-03-07 11:45:35 PST
Huh? <html style="direction:ltr">. Meaning, that is not a right-to-left page (direction doesn’t propagate from <body> if it’s explicitly set on <html>). Updated URL. Simon, the updated URL still has <html style="direction:ltr;">. Fixed. 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. (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. please reopen if I am wrong. *** This bug has been marked as a duplicate of bug 55077 *** In this bug, we didn't even get a scrollbar. (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) (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. OK cool. *** This bug has been marked as a duplicate of bug 55077 *** |