DescriptionFix the rightOf and below conditions for overlapping case.
For the overlapping rects, |a| is considered to be below |b| if both edges of |a|
are below the respective ones of |b|. In the code, we should make sure the rects
are actually overlapping. For example,
__ __
| a| __ |b'|
|__| | b|| |
|__||__|
Before the patch, |b| and |b'| are considered below |a|, which is not intuitively
true. With the patch, they are no longer below |a|.
The rightOf-case is handled in an analog fashion.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186731
Patch Set 1 #Patch Set 2 : address review comments #
Messages
Total messages: 20 (5 generated)
|