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 1675852] Part 3 - Use fallback 300px width and 150px height in ComputeSizeWithIntrinsicDimensions(). #26469

Merged
merged 1 commit into from Nov 10, 2020

Conversation

moz-wptsync-bot
Copy link
Collaborator

Per spec https://drafts.csswg.org/css-sizing-3/#intrinsic-contribution,
for the replaced elements with no intrinsic size and no preferred aspect
ratio, the fallback size is '300px' for the width and '150px' for the
height, regardless of the writing-mode value.

Without this patch, Firefox fails the last two subtests when the svg
image has the vertical writing-mode with no intrinsic size and no aspect
ratio. Both Chrome and Safari render all the subtests as 300x150.

This patch fixed the last two subtests.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1675852
gecko-commit: a49a06261673171b7d1f28012aff7e4d602efc6f
gecko-reviewers: emilio

…IntrinsicDimensions().

Per spec https://drafts.csswg.org/css-sizing-3/#intrinsic-contribution,
for the replaced elements with no intrinsic size and no preferred aspect
ratio, the fallback size is '300px' for the width and '150px' for the
height, regardless of the writing-mode value.

Without this patch, Firefox fails the last two subtests when the svg
image has the vertical writing-mode with no intrinsic size and no aspect
ratio. Both Chrome and Safari render all the subtests as 300x150.

This patch fixed the last two subtests.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1675852
gecko-commit: a49a06261673171b7d1f28012aff7e4d602efc6f
gecko-reviewers: emilio
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.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit bb5408d into master Nov 10, 2020
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1675852 branch November 10, 2020 14:24
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