Textarea elements that initially render in a fieldset with attribute disabled are not editable when the disable attribute is later removed
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: mechanism, Unassigned)
Details
Steps to reproduce:
While the textarea accepts focus after the disabled attribute is removed from the fieldset, you cannot enter text.
Example:
<html lang="en">
<head></head>
<body>
<fieldset disabled id="with_fieldset">
<textarea></textarea>
</fieldset>
<textarea id="without_fieldset" disabled></textarea>
<script>
const everything = document.querySelectorAll('*');
setTimeout( () => everything.forEach((el) => el.removeAttribute('disabled')), 1000);
</script>
</body>
</html>
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Actual results:
Textarea elements do not accept input after being dynamically enabled
Expected results:
Textarea elements should accept input upon removal of the disabled attribute
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
![]() |
||
Comment 2•1 year ago
|
||
This was fixed in Nightly121.0a1 and Firefox120.0b5 by Bug 1861027.
Comment 3•1 year ago
|
||
But same as bug https://bugzilla.mozilla.org/show_bug.cgi?id=1861027
thanks for the info
Description
•