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 1527392] Do not clamp computed width and height by min-/max- values. #16874

Merged
merged 1 commit into from May 16, 2019

Conversation

moz-wptsync-bot
Copy link
Collaborator

The spec says that when there's no box or the property doesn't apply, the
computed value should be returned.

That's not what we're doing right now, we're clamping by min-/max- values, which
is wrong.

This patch makes us match other engines and the spec, and it's an attempt to get
interop on resolved values in:

w3c/csswg-drafts#3678

WebKit fails the WPT test, but due to a different reason:

https://bugs.webkit.org/show_bug.cgi?id=197814

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1527392
gecko-commit: d51f3432e142ef24333b125087f5fccc2fbc366a
gecko-integration-branch: central
gecko-reviewers: mats

The spec says that when there's no box or the property doesn't apply, the
computed value should be returned.

That's not what we're doing right now, we're clamping by min-/max- values, which
is wrong.

This patch makes us match other engines and the spec, and it's an attempt to get
interop on resolved values in:

  w3c/csswg-drafts#3678

WebKit fails the WPT test, but due to a different reason:

  https://bugs.webkit.org/show_bug.cgi?id=197814

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1527392
gecko-commit: d51f3432e142ef24333b125087f5fccc2fbc366a
gecko-integration-branch: central
gecko-reviewers: mats
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 3865113 into master May 16, 2019
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1527392 branch May 16, 2019 15:38
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