OLD | NEW |
1 # `Source/core/layout` | 1 # `Source/core/layout` |
2 | 2 |
3 ## Overflow rects and scroll offsets | 3 ## Overflow rects and scroll offsets |
4 | 4 |
5 PaintLayerScrollableArea uses a "scroll origin" to conceptually represent the di
stance between | 5 PaintLayerScrollableArea uses a "scroll origin" to conceptually represent the di
stance between |
6 the top-left corner of the box'es content rect and the top-left corner of its ov
erflow rect | 6 the top-left corner of the box'es content rect and the top-left corner of its ov
erflow rect |
7 when the box is scrolled to the logical beginning of its content (.e.g. all the
way to the left for | 7 when the box is scrolled to the logical beginning of its content (.e.g. all the
way to the left for |
8 LTR, all the way to the right for RTL). For left-to-right and top-to-bottom flo
ws, the scroll | 8 LTR, all the way to the right for RTL). For left-to-right and top-to-bottom flo
ws, the scroll |
9 origin is zero, i.e., the top/left of the overflow rect is at the same position
as the top/left of | 9 origin is zero, i.e., the top/left of the overflow rect is at the same position
as the top/left of |
10 the box'es content rect when scrolled to the beginning of flow. For right-to-le
ft and bottom-to-top | 10 the box'es content rect when scrolled to the beginning of flow. For right-to-le
ft and bottom-to-top |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | | |/| | 70 | | |/| |
71 writing-mode: | | |/| | 71 writing-mode: | | |/| |
72 vertical-rl | | |/| | 72 vertical-rl | | |/| |
73 | | |/| | 73 | | |/| |
74 | | |/| | 74 | | |/| |
75 | | |/| | 75 | | |/| |
76 |__________|__________|/| | 76 |__________|__________|/| |
77 | 77 |
78 overflow rect | 78 overflow rect |
79 |<--------------------->| | 79 |<--------------------->| |
| 80 |
| 81 ## Coordinate Spaces |
| 82 |
| 83 TODO(wkorman): Document writing mode, particularly flipped blocks. |
OLD | NEW |