Closed Bug 1743953 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 31828 - SVG Text NG: Fix small errors in the result of get{Start,End}PositionOfChar()

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31828 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31828
Details from upstream follow.

Kent Tamura <tkent@chromium.org> wrote:

SVG Text NG: Fix small errors in the result of get{Start,End}PositionOfChar()

NGInlineBoxState and NGSvgTextLayoutAlgorithm use FixedAscent() to compute
text position. NGSvgTextQuery should use it for consistency.

Bug: 1275215
Change-Id: Ib7f475c0364b10acbbb242639b948210bb8023cf

Reviewed-on: https://chromium-review.googlesource.com/3312498
WPT-Export-Revision: e6c6ee5d2f35d4e3a609b02f577d3b42781f580a

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
FAIL: 2

Safari

OK : 1
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/67b217b04509
[wpt PR 31828] - SVG Text NG: Fix small errors in the result of get{Start,End}PositionOfChar(), a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.