mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
LibWeb: Implement HTMLFormElement.encoding
This commit is contained in:
parent
aeb815cc66
commit
67b1f4af55
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/shannonbooth
Commit: 67b1f4af55
Pull-request: https://github.com/SerenityOS/serenity/pull/24445
3 changed files with 7 additions and 1 deletions
|
@ -5,14 +5,17 @@
|
|||
const form = document.getElementById('testForm');
|
||||
|
||||
println(`enctype | ${form.enctype}`);
|
||||
println(`encoding | ${form.encoding}`);
|
||||
println('');
|
||||
|
||||
form.enctype = 'text/plain';
|
||||
|
||||
println(`enctype | ${form.enctype}`);
|
||||
println(`encoding | ${form.encoding}`);
|
||||
println('');
|
||||
|
||||
form.enctype = 'invalid-value';
|
||||
println(`enctype | ${form.enctype}`);
|
||||
println(`encoding | ${form.encoding}`);
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue