[Webkit-unassigned] [Bug 23723] TEXTAREA is stripping newlines when form is posted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 10 16:54:23 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=23723
Ahmad Saleem <zlip.792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |zlip.792 at gmail.com
Ever confirmed|0 |1
--- Comment #2 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am unable to reproduce this based on steps mentioned in Comment 0 but I looked in Chrome bug and found that it was fixed in this commit:
Link - https://chromium.googlesource.com/chromium/src.git/+/e26eb3267527f0d5633283cef06a13995e0d41eb
>From above commit, I took test cases:
Test Case 1 - https://jsfiddle.net/3s2u8xaz/show
I get following in all browsers:
*** Safari 15.6 on macOS 12.5 ***
FAILED: expected "hello
world
webkit" but got "hello
world
webkit"
*** Firefox Nightly 105 ***
FAILED: expected "hello
world
webkit" but got "hello
world
webkit"
*** Chrome Canary 106 ***
PASS
________
Test Case 2 - https://jsfiddle.net/c6o28euz/show
*** Safari 15.6 on macOS 12.5 ***
This is a testharness.js-based test.
FAIL TEXTAREA with white-space:nowrap should not increase the number of EOLs assert_equals: expected "a\n\n b\n" but got ""
Harness: the test ran to completion.
*** Firefox Nightly 105 ***
This is a testharness.js-based test.
FAIL TEXTAREA with white-space:nowrap should not increase the number of EOLs assert_equals: expected "a\n\n b\n" but got ""
Harness: the test ran to completion.
*** Chrome Canary 106 ****
This is a testharness.js-based test.
FAIL TEXTAREA with white-space:nowrap should not increase the number of EOLs assert_equals: expected "a\n\n b\n" but got ""
Harness: the test ran to completion.
______
Test Case 3 - https://jsfiddle.net/z1gn46x2/show
*** Safari 15.6 on macOS 12.5 ***
This is a testharness.js-based test.
FAIL TEXTAREA should not remove the last EOL on paste. Can't find variable: eventSender
Harness: the test ran to completion.
*** Chrome Canary 106 ***
This is a testharness.js-based test.
FAIL TEXTAREA should not remove the last EOL on paste. eventSender is not defined
Harness: the test ran to completion.
*** Firefox Nightly 105 ***
This is a testharness.js-based test.
FAIL TEXTAREA should not remove the last EOL on paste. eventSender is not defined
Harness: the test ran to completion.
_______
I think I botched on test case 2 and 3 but I just copied the scripts from Chrome test case.
Just wanted to share update on this bug. Since on Test Case 1 - Safari do give different result compared to Chrome, I am going to change status to "New".
--
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/20220810/74c444f1/attachment.htm>
More information about the webkit-unassigned
mailing list