mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
8b7988e945
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living under an editing host. Things like text controls which used to have that flag previously will not have it any more. The flag would be set on their anonymous div node instead. Note that if text controls actually fall under an editing host, they will get the NODE_IS_EDITABLE flag. This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes are always considered to be editable).
14 lines
260 B
HTML
14 lines
260 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<input>
|
|
<input readonly>
|
|
<input type=password>
|
|
<input type=password readonly>
|
|
<input type=email>
|
|
<input type=email readonly>
|
|
<textarea></textarea>
|
|
<textarea readonly></textarea>
|
|
</body>
|
|
</html>
|