-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1754349 [wpt PR 32762] - Wrap for newlines in <input type=button>…
…, a=testonly Automatic update from web-platform-tests Wrap for newlines in <input type=button> This is essentially a revert of crrev.com/8dc8d77d8fa1645f44c306062070e5d40af2ba2c The change was made for a website which somehow didn't show the text after the newline on an <input type=button> and because that behavior was what IE did. This also makes <input type=button> behave more similarly to <button>. Fixed: 922011 Change-Id: Ic37b7c14e4cb4ed5bebd49e7fcb6e11fca231be9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440448 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#968780} -- wpt-commits: e2c3ad1c011f8b4f08ab68a25d9f620c6fe22d6f wpt-pr: 32762
- Loading branch information
1 parent
7ef3cfe
commit b03d037
Showing
4 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...form/tests/html/rendering/widgets/button-layout/input-type-button-newline-2-mismatch.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<input type=button value="1"> |
6 changes: 6 additions & 0 deletions
6
.../web-platform/tests/html/rendering/widgets/button-layout/input-type-button-newline-2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=922011"> | ||
<link rel=mismatch href="input-type-button-newline-2-mismatch.html"> | ||
|
||
<input type=button value="1 2"> |
2 changes: 2 additions & 0 deletions
2
...atform/tests/html/rendering/widgets/button-layout/input-type-button-newline-mismatch.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<input type=button value="12"> |
6 changes: 6 additions & 0 deletions
6
...ng/web-platform/tests/html/rendering/widgets/button-layout/input-type-button-newline.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=922011"> | ||
<link rel=mismatch href="input-type-button-newline-mismatch.html"> | ||
|
||
<input type=button value="1 2"> |