[webkit-changes] [WebKit/WebKit] 574b3a: Add `nowrap` white-space to UA Stylesheet for `opt...
Ahmad Saleem
noreply at github.com
Tue May 30 12:34:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 574b3a2d4a361e64e71f945c3d2dc22fdfac74db
https://github.com/WebKit/WebKit/commit/574b3a2d4a361e64e71f945c3d2dc22fdfac74db
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
A LayoutTests/fast/forms/select/options-default-white-space-expected.txt
A LayoutTests/fast/forms/select/options-default-white-space.html
M Source/WebCore/css/html.css
Log Message:
-----------
Add `nowrap` white-space to UA Stylesheet for `option` element
https://bugs.webkit.org/show_bug.cgi?id=257477
Reviewed by Tim Nguyen.
This patch aligns WebKit with Blink / Chromium and Gecko / Firefox.
Merge: https://chromium.googlesource.com/chromium/src/+/bcb42ec47ad8a9a6726e1e12e112838c4dfe3142
When the option element is rendered, neither spaces nor line breaks are
preserved in the text, so `nowrap` makes more sense.
* Source/WebCore/css/html.css: As above
* LayoutTests/fast/forms/select/options-default-white-space.html: Add Test Case
* LayoutTests/fast/forms/select/options-default-white-space-expected.txt: Add Test Case Expectation
Canonical link: https://commits.webkit.org/264691@main
More information about the webkit-changes
mailing list