Closed Bug 1635232 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23389 - Apply additional zoom to percentage-sized SVG documents

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Rogers <pdr@chromium.org> wrote:

Apply additional zoom to percentage-sized SVG documents

This patch makes percentage-sized SVG documents zoom. Previously, they
would appear unchanged under zoom because the percentage of the viewport
remained the same, making zooming feel "broken." This is a special-case
applied to SVG and follows a similar design implemented in Gecko [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=407495#c12

Bug: 222786
Change-Id: Idcf10e23a9eb3fd6acc640915ec31aa3aa8c5815
Reviewed-on: https://chromium-review.googlesource.com/2155208
WPT-Export-Revision: a8706d32661702cf6bf25f5ba1c2e0f4639c2333

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.