diff --git a/source b/source index e60f55fa2e1..c9e9817d6a2 100644 --- a/source +++ b/source @@ -80288,19 +80288,42 @@ addShortcutKeyLabel(document.getElementById('c'));

The contenteditable content attribute is an - enumerated attribute whose keywords are the empty string, true, plaintext-only and false. - The empty string and the true keyword map to the true state. - The plaintext-only keyword maps to the plaintext-only state. - The false keyword maps to the false state. In addition, there is a - fourth state, the inherit state, which is the missing - value default and invalid value default.

+ enumerated attribute with the following keywords and states:

-

The true state indicates that the element is editable. The plaintext-only state - indicates that only the element's raw text content is editable, but rich text formatting is - disabled. The inherit state indicates that the element is the same kind of editable (or - not editable) as the parent element. The false state indicates that the element is not - editable.

+ + + + + + + + + +
Keyword + State + Brief description +
true + true + Indicates the element is editable. +
(The empty string) +
false + false + The element is not editable. +
plaintext-only + plaintext-only + Only the element's raw text content is editable, rich formatting is disabled. +
+ inherit + The element is editable (or not) based on the parent element's state. +
+ + +

The attribute's missing value default and invalid value default are both the inherit state.

For example, consider a page that has a form and a textarea to