Chromium Code Reviews
DescriptionImplement spec-compliant HTMLElement.prototype.isContentEditable
Web-exposed isContentEditable and our style-based editability are different
concepts. For example, the former should be |true| even if an element has display:
none and users can't edit it.
So, we don't need to use the style-based editability to implement isContentEditable.
Specifications:
https://html.spec.whatwg.org/multipage/interaction.html#dom-iscontenteditable
https://w3c.github.io/editing/execCommand.html#editing-host
https://w3c.github.io/editing/execCommand.html#editable
BUG=313082
Committed: https://crrev.com/57deef0bd2f6ff07999d84078630cc4ee9c11f80
Cr-Commit-Position: refs/heads/master@{#408035}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Move isEditingHost and isEditable to HTMLElement.cpp #
Messages
Total messages: 23 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||