Closed Bug 993392 Opened 12 years ago Closed 12 years ago

Contenteditable does not work correctly on <label> elements

Categories

(Firefox :: Untriaged, defect)

28 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 853519

People

(Reporter: teardrainer, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140314220517 Steps to reproduce: -create HTML content with a <label> element and the contenteditable="true" attribute e.g. <label contenteditable="true">This should be completely editable</label> -try to edit the content of the label element see: http://jsfiddle.net/PKTdk/1/ Actual results: -one can only enter the label element at the very beginning -existing content of the element is fixed and not editable -no cursor movement is possible inside the element -new content can be only entered at the beginning, editing of new content is only possible via backspace Expected results: -the label element should be completely editable like any other element (see div element in jsfiddle example http://jsfiddle.net/PKTdk/1/ ) -cursor movement inside the editable element should be possible -existing content should editable
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.