Open Bug 586366 Opened 14 years ago Updated 3 years ago

execCommand('styleWithCSS') fails on display:none iframe

Categories

(Core :: DOM: Editor, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: ojan, Unassigned)

Details

Attachments

(1 file)

Attached file test case
See the test case. Maybe it makes sense to throw an exception for commands that interact with the selection, but for ones that are used for setting up the editable environment, they shouldn't need the document to be rendered.

This unnecessarily forces developers to go through hoops to make their initialization order correct and doesn't match WebKit/Opera.
Same thing happens for other "general setup" commands like "enable*"
See: http://jsfiddle.net/2afZC/4/
Please change plattform to at least mac and win32

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: