document.execCommand('bold') doesn't work if parent container is styled with font-weight > 400

Confirmed Issue #4915095 • Assigned to Grisha L.

Details

Created
Oct 8, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

==============

  1. Gohttp://codepen.io/anon/pen/VvWpym](http://codepen.io/anon/pen/VvWpym)[http://codepen.io/anon/pen/VvWpym](http://codepen.io/anon/pen/VvWpym)

  2. type in the box

  3. select text

  4. click the bold link

  5. nothing happens

Expected Results:

==============

the bold command should execute as if the text is normal weight; that is, if the selection is collapsed, the next thing typed should be bold, and if the selection is not collapsed, the selected text should either be surrounded or unwrapped of <b> tags.

Actual Results:

==============

Dev Channel specific:

================

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Bogdan B.”

      Changed Steps to Reproduce

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Amit J.” to “Grisha L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in