Steps to reproduce
In https://github.com/whatwg/html/issues/2752 and https://github.com/whatwg/html/issues/2750 it was discovered that various aspects of the textarea spec were confusing and did not match browser behavior (which was generally not interoperable).
In https://github.com/whatwg/html/pull/2766 we settled on a reasonable set of semantics that matched most browsers in most aspects and was simple to implement. The main changes are:
The child text content change steps for textarea elements must, if the element’s dirty value flag is false, set the element’s raw value to its child text content.
The defaultValue IDL attribute must, on getting, return the element’s child text content. On setting, it must act as the setter for the element’s textContent IDL attribute.
These are tested by the tests at http://w3c-test.org/submissions/6256/html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html (which will eventually end up at http://w3c-test.org/html/semantics/forms/the-textarea-element/value-defaultValue-textContent.html when https://github.com/w3c/web-platform-tests/pull/6256 is merged).
Edge seems to have a very broken defaultValue getter, causing almost all of the tests to fail.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Bogdan B.”
Changed Assigned To from “Bogdan B.” to “Travis L.”
Changed Status to “Confirmed”
Changed Assigned To from “Travis L.” to “Luis S.”