WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207036
hyphens in input fields breaks line
https://bugs.webkit.org/show_bug.cgi?id=207036
Summary
hyphens in input fields breaks line
marcel_jung
Reported
2020-01-31 03:03:01 PST
If you assign the following CSS to an input field, the field breaks the text into several lines, which in my opinion should not happen. .hyphens { -webkit-hyphens: car; hyphens: auto; word-break: break-word; } Example:
https://jsfiddle.net/maisen20/1edL3ko7/2/
Attachments
Add attachment
proposed patch, testcase, etc.
marcel_jung
Comment 1
2020-01-31 03:05:15 PST
Sorry, little mistake in the example code. Should be: .hyphens { -webkit-hyphens: auto; hyphens: auto; word-break: break-word; }
Radar WebKit Bug Importer
Comment 2
2020-01-31 21:55:22 PST
<
rdar://problem/59084753
>
Ahmad Saleem
Comment 3
2023-06-08 06:12:46 PDT
Update test case:
https://jsfiddle.net/0sy79a5h/
^ It seems to work fine in Safari 16.5, Chrome Canary 116 and Firefox Nightly 116 and don’t breaks the text into several line.
marcel_jung
Comment 4
2023-06-08 06:54:07 PDT
Yes that bug is fixed.
alan
Comment 5
2023-06-08 07:44:04 PDT
This is an IFC progression.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug