| Summary: | Clip the start position when performing SVG text queries | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=120451 | ||
|
Description
Ahmad Saleem
2023-01-14 18:09:12 PST
So this one has pre-requisite bug 120451. PR - https://github.com/WebKit/WebKit/pull/8664 The test still fail and need to add platform specific expectations (if we want to land without pre-requisite) on GTK and Windows. I am closing my PR but it is something still we need to track and fix. NOTE - This got reverted because of potential SVG Text optimisation done in Blink but the test case is still interesting, so let's keep this bug open. Updated Test Case from Blink: https://jsfiddle.net/xfb7mahe/show NOTE - This bug get fixed with bug 261651. I think this blink commit is not right fix since with other SVGTextQuery optimization, this is still not fixed. It is to account for 'RTL' content in SVG. Could be 'unsigned' (which is not negative) and 'int' (negative) as well thing? Firefox Nightly 121 and Chrome Canary 120 passes this: https://jsfiddle.net/xfb7mahe/show Adding 'BrowserCompat'. |