If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Contenteditable html elements inside xbl should not be editable

REOPENED
Unassigned

Status

()

Core
Editor
REOPENED
10 years ago
6 months ago

People

(Reporter: Martijn Wargers (dead), Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 273525 [details]
testcase

See testcase.

The xbl anonymous html element is editable, because it has a contenteditable attribute.
I'm not sure if it's wise to let anonymous content be editable. It doesn't seem a good idea to me.

The data url xbl in question is:
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="a" inheritstyle="false">
<content><children/>
<div xmlns="http://www.w3.org/1999/xhtml" style="border: 1px solid black;" contenteditable="true">anonymous div</div></content>
</binding></bindings>

Comment 1

10 years ago
See also bug 401993, "ASSERTION: GetCurrentDoc should have returned a doc" with contenteditable and XBL.
(Reporter)

Updated

6 months ago
Status: NEW → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
You need to log in before you can comment on or make changes to this bug.