From 5afbba1cf62ee01bc6af3fd220d01f3f7591a0fc Mon Sep 17 00:00:00 2001
From: Domenic Denicola
An element's child text content is the concatenation of the data of all the Text
nodes that are children of the
- element (ignoring any other nodes such as comments or elements), in tree order.
A node A is inserted into a node B
when the insertion steps are invoked with
A as the argument and A's new parent is B. Similarly, a The pre-insert, insert, append, replace, replace all, remove, and adopt algorithms for nodes
Event
interfaceEventTarget
interface
When the textarea
element's textContent
IDL attribute changes value,
- if the element's dirty value flag is false, then the
- element's raw value must be set to the value of
- the element's textContent
IDL attribute.
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 reset algorithm for textarea
elements is to set the dirty value flag back to false, and
- set the raw value of element to the value of the
- element's textContent
IDL attribute.
When a textarea
element is popped off the stack of open elements of
an HTML parser or XML parser, then the user agent must invoke the
@@ -50750,8 +50748,9 @@ interface HTMLTextAreaElement : HTMLElement {
The type
IDL attribute must return the value
"textarea
".
The defaultValue
IDL attribute must
- act like the element's textContent
IDL attribute.
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.
The value
IDL attribute must, on getting,
return the element's API value. On setting, it must