Descriptionrange.getBoundingClientRect() returns incorrect value for collapsed ranges
Current implementation returns empty rectangle if
either width or height is zero. But as per W3C specification [1],
getBoundingClientRect() should return union of rectangles
of which the height or width is not zero.
[1] http://www.w3.org/TR/cssom-view/#dom-range-getclientrects
BUG=435438
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192699
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 17 (5 generated)
|