mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Implement the HTMLInputElement.width
attribute
This allows the width of an image button input to be set and queried.
This commit is contained in:
parent
8e3adbe082
commit
45a2823e08
Notes:
github-actions[bot]
2024-11-30 10:19:31 +00:00
Author: https://github.com/tcl3
Commit: 45a2823e08
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2645
5 changed files with 79 additions and 4 deletions
|
@ -37,6 +37,26 @@ input.getAttribute("size") after input.setAttribute("size", "4294967295"): 42949
|
|||
input.size after input.setAttribute("size", "4294967295"): 20
|
||||
input.getAttribute("size") after input.size = 4294967295: 20
|
||||
input.size after input.size = 4294967295: 20
|
||||
input.getAttribute("width") after input.setAttribute("width", "0"): 0
|
||||
input.width after input.setAttribute("width", "0"): 0
|
||||
input.getAttribute("width") after input.width = 0: 0
|
||||
input.width after input.width = 0: 0
|
||||
input.getAttribute("width") after input.setAttribute("width", "1"): 1
|
||||
input.width after input.setAttribute("width", "1"): 1
|
||||
input.getAttribute("width") after input.width = 1: 1
|
||||
input.width after input.width = 1: 0
|
||||
input.getAttribute("width") after input.setAttribute("width", "2147483647"): 2147483647
|
||||
input.width after input.setAttribute("width", "2147483647"): 2147483647
|
||||
input.getAttribute("width") after input.width = 2147483647: 2147483647
|
||||
input.width after input.width = 2147483647: 0
|
||||
input.getAttribute("width") after input.setAttribute("width", "2147483648"): 2147483648
|
||||
input.width after input.setAttribute("width", "2147483648"): 0
|
||||
input.getAttribute("width") after input.width = 2147483648: 0
|
||||
input.width after input.width = 2147483648: 0
|
||||
input.getAttribute("width") after input.setAttribute("width", "4294967295"): 4294967295
|
||||
input.width after input.setAttribute("width", "4294967295"): 0
|
||||
input.getAttribute("width") after input.width = 4294967295: 0
|
||||
input.width after input.width = 4294967295: 0
|
||||
marquee.getAttribute("scrollamount") after marquee.setAttribute("scrollAmount", "0"): 0
|
||||
marquee.scrollAmount after marquee.setAttribute("scrollamount", "0"): 0
|
||||
marquee.getAttribute("scrollamount") after marquee.scrollAmount = 0: 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue