mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00

`FontFaceStateCommand::SetState()` called `HTMLEditor::SetInlinePropertyAsAction()` with `nsGkAtoms::tt` when given value is "tt". https://searchfox.org/mozilla-central/rev/bc5737c51b8da4e758cf4db0ddb606f0aea81a7d/editor/libeditor/HTMLEditorCommands.cpp#626-627 However, I accidentally not ported this to `HTMLEditor::SetInlinePropertyAsAction()`. Therefore, this patch restores the old code for the magic value. Differential Revision: https://phabricator.services.mozilla.com/D74379