Closed Bug 1737959 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31396 - SVG Text NG: Fix Range.getBoundingClientRect()

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

SVG Text NG: Fix Range.getBoundingClientRect()

LayoutText::AbsoluteQuadsForRange() should take care of SVG text
scaling and transform.

Bug: 1263429
Change-Id: Iae78c11cc67dae8d3b08863c38f576b0fa0fe28b

Reviewed-on: https://chromium-review.googlesource.com/3244927
WPT-Export-Revision: 05b54ba0f988dd6b566fc0a20fce8d5ae285067c

Component: web-platform-tests → DOM: CSS Object Model
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 3 subtests

Status Summary

Firefox

OK : 1
PASS: 1
FAIL: 2

Chrome

OK : 1
PASS: 1
FAIL: 2

Safari

OK : 1
PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/css/cssom-view/getBoundingClientRect-svg.html
Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text>: FAIL

New Tests That Don't Pass

/css/cssom-view/getBoundingClientRect-svg.html
Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text>: FAIL (Chrome: PASS, Safari: PASS)
Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text> with a rotate: FAIL (Chrome: FAIL, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/268f9e6fa4fd [wpt PR 31396] - SVG Text NG: Fix Range.getBoundingClientRect(), a=testonly https://hg.mozilla.org/integration/autoland/rev/7d8a61393e8e [wpt PR 31396] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.