Open Bug 517855 Opened 16 years ago Updated 5 years ago

execCommand(bold | italic | underline | hilitecolor | fontname) does not change the already applied formatting when styleWithCss is true and the selection contains a HTML comment

Categories

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

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: dpopa, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 execCommand(bold | italic | underline | hilitecolor | fontname) does not change the already applied formatting when styleWithCss is true and the selection contains a HTML comment Reproducible: Always Steps to Reproduce: 1. Open the midas demo and check the "View HTML source" checkbox. 2. enter the following content: <span style="font-weight: bold; ">bo<!-- comment -->ld</span><br> <span style="font-style: italic;">ita<!-- comment -->lic</span><br> <span style="text-decoration: underline; ">under<!-- comment -->line</span><br> <span style="font-family: Courier;">font<!-- comment -->name</span><br> <span style="color: rgb(255, 102, 102); ">fore<!-- comment -->color</span><br> <span style="background-color: rgb(204, 0, 0);">hilite<!-- comment -->color</span><br> 3. select the text for each command ID and apply the specified command Actual Results: Nothing happens. Expected Results: The formatting should change.

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

If you have reason to believe this is wrong (especially for the severity), 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.