Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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
- Loading branch information