Open Bug 231110 Opened 21 years ago Updated 2 years ago

[rte] queryCommandValue returns blank for unformatted fragment

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: emaijala+moz, Unassigned)

References

()

Details

(Whiteboard: midas)

If the currently selected part of the editable html doesn't specify a font, queryCommandValue for fontname, fontsize or formatblock returns empty. It should return the attribute used even if it isn't explicitly set. Steps to reproduce: 1. go to the test url 2. select a part of the editable text and change its font 3. select another part and change its font to something else 4. move between these and the unformatted part and notice how the font doesn't change when going to the unformatted part 5. see how also the font size and paragraph format are also incorrect For what it's worth, I believe IE does it right and always returns the used values.
Whiteboard: midas
QA Contact: bugzilla → editor

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: daniel → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.