Re: RFR: 8306083: Text.hitTest is incorrect when Text node is present in TextFlow [v7]

2023-08-29 Thread Kevin Rushforth
On Mon, 21 Aug 2023 18:25:08 GMT, Karthik P K wrote: >> The text run selected in `PrismTextLayout::getHitInfo()` method for >> character index calculation was not correct when Text node was embedded in >> TextFlow. Hence wrong character index value was calculated for the same. >> >> Since only

Re: RFR: 8306083: Text.hitTest is incorrect when Text node is present in TextFlow [v7]

2023-08-21 Thread Andy Goryachev
On Mon, 21 Aug 2023 18:20:17 GMT, Karthik P K wrote: >> The text run selected in `PrismTextLayout::getHitInfo()` method for >> character index calculation was not correct when Text node was embedded in >> TextFlow. Hence wrong character index value was calculated for the same. >> >> Since only

Re: RFR: 8306083: Text.hitTest is incorrect when Text node is present in TextFlow [v7]

2023-08-21 Thread Karthik P K
> The text run selected in `PrismTextLayout::getHitInfo()` method for character > index calculation was not correct when Text node was embedded in TextFlow. > Hence wrong character index value was calculated for the same. > > Since only x, y coordinates were available in the above mentioned meth