This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9379 - If contenteditable is true, this *should* mean that the *content* of the element is editable, not the element itself. For example, if the user selects "mytext" in <div contenteditable=true>mytext</div>, and then invokes execCommand('bold'), this should wr
Summary: If contenteditable is true, this *should* mean that the *content* of the elem...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
: 9380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-31 21:55 UTC by contributor
Modified: 2010-10-04 14:57 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2010-03-31 21:55:52 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#contenteditable

Comment:
If contenteditable is true, this *should* mean that the *content* of the
element is editable, not the element itself. For example, if the user selects
"mytext" in <div contenteditable=true>mytext</div>, and then invokes
execCommand('bold'), this should wrap the selection in <b> or <strong> or
<span style='font-weight: bold'> tags, but it should *not* alter the div
element to be <div contenteditable=true style='font-weight: bold'>

Posted from: 64.253.149.226
Comment 1 Michael[tm] Smith 2010-04-01 09:44:56 UTC
*** Bug 9380 has been marked as a duplicate of this bug. ***
Comment 2 Ian 'Hixie' Hickson 2010-04-12 07:32:22 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: The section is pretty precise about what exactly it means — search for the term "editing host". I don't think it's inaccurate to say that an editing host is editable, after all, its attributes and its contents are all part of the element and in theory they can all be changed by the user when the element is editable.