[Webkit-unassigned] [Bug 26804] Line Feed in input value attribute moves text out of button

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 04:20:22 PST 2023


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

--- Comment #7 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #2)
> All browsers (STP 152, Chrome Canary 107 and Firefox Nightly 106) behave
> same and don't show any text in input field or any where not the webpage. In
> case of Chrome, I do get "Google Translate" but I don't know where it is
> detecting text. But visually all browsers are same.
> 
> 
> Although by following Chrome bug link, I noticed that they fixed it in
> following commit:
> 
> https://chromium.googlesource.com/chromium/src.git/+/
> 8dc8d77d8fa1645f44c306062070e5d40af2ba2c
> 
> and using the test case form the commit:
> 
> Link - https://jsfiddle.net/bfydqomw/show
> 
> I am able to reproduce this bug:
> 
> >>> STP 152 show "abc" in the button
> 
> While both other browsers (Chrome Canary 107 and Firefox Nightly 106) show -
> abc in first line and defghi in second line within button.
> 
> I am going to change this as "New". Thanks!

This seems to work on Safari Technology Preview 163. It could be this commit - https://github.com/WebKit/WebKit/commit/1a0105921defca0770820813cdec1e805036c441

--> Although, using the attached 'reduced' test, we get artefacts, where the text is showing up small bits from bottom while it is not the case in Chrome Canary 112.

Should we raise new bug and close this one?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230210/f103cff7/attachment-0001.htm>


More information about the webkit-unassigned mailing list