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 1830576] Update textarea intrinsic height calculations #46364

Merged
merged 1 commit into from
May 21, 2024

Conversation

moz-wptsync-bot
Copy link
Collaborator

This change adds a new layout.forms.textarea-sizing-excludes-auto-scrollbar.enabled pref that controls the height calculations for textareas.

With the pref enabled (the default) textareas only include the scrollbar size in the height calculations when overflow-x is scroll, this matches Chromium and WebKit.

Also adds a corresponding WPT for this.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1830576
gecko-commit: 12723265fe8c5a7e4fe00b353a93bfc72276439d
gecko-reviewers: dholbert

This change adds a new layout.forms.textarea-sizing-excludes-auto-scrollbar.enabled pref that controls the height calculations for textareas.

With the pref enabled (the default) textareas only include the scrollbar size in the height calculations when overflow-x is scroll, this matches Chromium and WebKit.

Also adds a corresponding WPT for this.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1830576
gecko-commit: 12723265fe8c5a7e4fe00b353a93bfc72276439d
gecko-reviewers: dholbert
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 14de265 into master May 21, 2024
20 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1830576 branch May 21, 2024 08:25
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