Luke Warlow
5098ed6b1f
LibWeb: Add HTMLSelectElement showPicker()
...
Adds the showPicker() function for select elements.
This doesn't do the check for "being rendered" which is in the spec.
2024-06-17 07:01:26 -06:00
Shannon Booth
4fe0cbcf85
LibWeb: Use 'FIXME' extended attribute where possible
...
This improves the debuggability of many live web pages :^)
2024-05-19 16:24:11 +02:00
Tim Ledbetter
2447a25753
LibWeb: Implement the labels
attribute for all labelable elements
...
This returns a `NodeList` of all the labels associated with the given
element.
2024-05-18 18:09:18 +02:00
Bastiaan van der Plaat
8342525434
LibWeb: Use HTMLOptionElement in select item getter
...
fix item
2024-04-09 09:23:57 +02:00
Bastiaan van der Plaat
6f84f69677
LibWeb: Add select selected options collection getter
2024-04-09 09:23:57 +02:00
Bastiaan van der Plaat
7372c01786
LibWeb: Add select and options collection remove method
2024-04-09 09:23:57 +02:00
Bastiaan van der Plaat
5c277144d8
LibWeb: Add select and option collection set length
2024-04-09 09:23:57 +02:00
Bastiaan van der Plaat
4e5ce7b63e
LibWeb: Add select element size property
2024-04-09 09:23:57 +02:00
Bastiaan van der Plaat
466153e680
Ladybird+LibWeb: Add basic select element support
2023-12-09 22:06:20 +01:00
Matthew Olsson
1a94241f58
IDL: Add missing #imports
2023-11-11 08:51:51 +01:00
Bastiaan van der Plaat
3e778fe29c
LibWeb: Reorder and add missing form elements IDL items
2023-10-24 07:27:14 +02:00
Shannon Booth
d4a890080d
LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
...
NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
2023-09-02 19:23:41 +01:00
Shannon Booth
d706f9f241
LibWeb: Port HTMLSelectElement from DeprecatedString to String
2023-08-27 05:34:54 +02:00
Luke Wilde
32e27bc7fa
LibWeb: Add a bunch of missing CEReactions
...
This is almost guaranteed not to be all CEReactions we need to add, but
this puts us in a much better situation.
2023-04-06 11:36:56 +02:00
Srikavin Ramkumar
5c8be3b072
LibWeb: Add missing constructors to HTMLElement IDLs
2023-03-23 13:37:40 +01:00
Luke Wilde
c4ee43c5b4
LibWeb: Implement HTMLSelectElement.type
2022-11-07 14:10:41 +01:00
Zaggy1024
f0420def78
LibWeb: Implement HTMLSelectElement length, item() and namedItem()
...
These are simple calls through to the HTMLOptionsCollection functions
the same names, as with HTMLSelectElement.add().
2022-10-18 12:57:40 +02:00
Andrew Kaster
67ceba2e6a
LibWeb: Add Exposed attribute and IDL spec links where missing
...
The intent is to use these to autogenerate prototype declarations for
Window and WorkerGlobalScope classes.
And the spec links are just nice to have :^)
2022-10-09 10:14:57 +02:00
Timothy Flynn
27eb70cbba
LibWeb: Implement HTMLSelectElement.add()
...
HTMLSelectElement simply defers to its HTMLOptionsCollection.
2022-03-22 02:08:15 +01:00
Andreas Kling
a606345576
LibWeb: Implement HTMLSelectElement.selectedIndex
2022-03-20 16:19:47 +01:00
Simon Wanner
deef2911e9
LibWeb: Expose HTMLSelectElement::options
...
Use the stub implementation of HTMLOptionsCollection to expose the
`option` children of `select` elements.
This fixes a JS error on openstreetmap.org, which occured when JQuery
code tried to access `options.length`:
https://github.com/jquery/jquery/blob/main/src/attributes/val.js#L121
2022-03-16 14:25:09 +01:00
Ali Mohammad Pur
a59800b4a0
LibWeb: Add imports to all IDL files that depend on others
2022-02-16 22:48:32 +03:30
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00