Commit 9db3ea2
Expand definition of Invalid overflow rect to be zero-sized rects that are offset from origin as well.
`IsValidOverflowRect` was originally introduced to consider only zero-sized
rects that are located at origin to be invalid in Bug 1800907. However,
it doesn't make sense for a zero-sized rect located away from origin to
contribute to overflow.
Differential Revision: https://phabricator.services.mozilla.com/D234097
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1940938
gecko-commit: dd59e15ede57dde39ced180086733c9e6a1de2c6
gecko-reviewers: layout-reviewers, TYLin1 parent 0828391 commit 9db3ea2
File tree
1 file changed
+18
-0
lines changed- css/css-overflow
1 file changed
+18
-0
lines changedLines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments