| commit | 57deef0bd2f6ff07999d84078630cc4ee9c11f80 | [log] [tgz] |
|---|---|---|
| author | tkent <tkent@chromium.org> | Wed Jul 27 03:47:23 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Jul 27 03:49:31 2016 |
| tree | f5d493bea1214d5cd7084466f2a44c7d4e13b2b2 | |
| parent | d0b52049f302ec50cf7f53b77bca193948d7b735 [diff] |
Implement 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 Review-Url: https://codereview.chromium.org/2179273003 Cr-Commit-Position: refs/heads/master@{#408035}