Bug 72019
| Summary: | Add support for user-select:all | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Felix Gnass <fgnass> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ntim |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://www.w3.org/TR/2000/WD-css3-userint-20000216#user-select | ||
Felix Gnass
This would be really useful in situations where you want compound elements to be edited as a whole like the <figure> element in the following example:
<div contentEditable="true">
<p>
Foo
</p>
<figure style="-webkit-user-select:all">
<img src="">
<caption>Foo</caption>
</figure>
</div>
The MDN docs (https://developer.mozilla.org/en/CSS/-moz-user-select) say:
In HTML editor, if double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Nguyen (:ntim)
*** This bug has been marked as a duplicate of bug 190977 ***