Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1556511] part 1: Mark the outer SVG frame as needing a reflow, when its viewBox attribute changes. #17253

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

moz-wptsync-bot
Copy link
Collaborator

The viewBox attribute establishes an aspect ratio, which may influence the size
of the outer SVG element. So when the viewBox attribute changes, we have to
reflow to potentially update the frame size. This patch achieves this by
sharing an existing codepath for handling changes to width & height.

Differential Revision: https://phabricator.services.mozilla.com/D33898

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1556511
gecko-commit: aba9b5d525af1b48929de552224626799931ff3e
gecko-integration-branch: central
gecko-reviewers: longsonr

…x attribute changes.

The viewBox attribute establishes an aspect ratio, which may influence the size
of the outer SVG element. So when the viewBox attribute changes, we have to
reflow to potentially update the frame size.  This patch achieves this by
sharing an existing codepath for handling changes to width & height.

Differential Revision: https://phabricator.services.mozilla.com/D33898

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1556511
gecko-commit: aba9b5d525af1b48929de552224626799931ff3e
gecko-integration-branch: central
gecko-reviewers: longsonr
…ement.

Differential Revision: https://phabricator.services.mozilla.com/D34108

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1556511
gecko-commit: bab948f512c2f5ffe5a6638676143c7063bf2ad3
gecko-integration-branch: central
gecko-reviewers: longsonr
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@moz-wptsync-bot moz-wptsync-bot merged commit 31be90d into master Jun 10, 2019
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1556511 branch June 10, 2019 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants