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 12487 - It's not so clear how editability interacts with non-HTML elements. If an HTML element has contenteditable=true and its parent is a non-HTML element, is the HTML element an editing host? (The spec implies no, which seems wrong.) If an HTML element is e
Summary: It's not so clear how editability interacts with non-HTML elements. If an HT...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 17:17 UTC by contributor
Modified: 2011-08-04 05:04 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-04-13 17:17:29 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#contenteditable

Comment:
It's not so clear how editability interacts with non-HTML elements.  If an
HTML element has contenteditable=true and its parent is a non-HTML element, is
the HTML element an editing host?  (The spec implies no, which seems wrong.) 
If an HTML element is editable and it has a child element that's not an HTML
element, is that child editable?  (Spec implies no, but that also seems
wrong.)  What happens if a non-HTML element has an HTML contenteditable
attribute?  (Spec implies it does nothing, including that it doesn't make
descendant HTML elements editable, which seems wrong.)	How about you make
editability a property of all elements, not just HTML elements?

Posted from: 68.175.61.233
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.28 (KHTML, like Gecko) Chrome/12.0.725.0 Safari/534.28
Comment 1 Aryeh Gregor 2011-04-13 17:22:06 UTC
Or better yet, make editability a property of all nodes, and define that text nodes/comments/PIs are editable if their parent is.
Comment 2 Aryeh Gregor 2011-04-13 17:49:38 UTC
Never mind, I'll just redefine this in the editing commands spec.
Comment 3 Michael[tm] Smith 2011-08-04 05:04:14 UTC
mass-moved component to LC1