LibWeb: Implement HTMLFormElement.encoding

This commit is contained in:
Shannon Booth 2024-05-26 10:53:19 +12:00 committed by Andreas Kling
commit 67b1f4af55
Notes: sideshowbarker 2024-07-17 08:45:34 +09:00
3 changed files with 7 additions and 1 deletions

View file

@ -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>