Closed Bug 1493319 Opened Last year Closed Last year

[wpt-sync] Sync PR 13145 - Fix scrollIntoView(...) for SVG elements

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:
>  Fix scrollIntoView(...) for SVG elements
>  
>  AbsoluteBoundingBoxRectForScrollIntoView and associated helpers did not
>  compute the correct bounding box for SVG shapes (or anything but the SVG
>  root.)
>  Compute the bounding rect using the stroke bounding box.
>  
>  Bug: 803440
>  Change-Id: If25ca98b686f17a0db699e569460cb4c276f06a0
>  Reviewed-on: https://chromium-review.googlesource.com/1238458
>  WPT-Export-Revision: 384c4903eaa0f835c936975486c99b6aa3cf884f
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 1 tests and 3 subtests
OK     : 1
PASS   : 3
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de0859340fa0
[wpt PR 13145] - Fix scrollIntoView(...) for SVG elements, a=testonly
https://hg.mozilla.org/mozilla-central/rev/de0859340fa0
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.