text-decoration is ignored when converting text to path

Separated out from an issue by @nathanal (#373 (moved)), but could be considered a feature request, so opening in inbox again.

Steps to reproduce:

  • open Inkscape
  • create some text
  • change the attribute text-decoration with the CSS or XML dialog (or an external text editor)
  • Convert the object to a path

What happened?

The text decoration disappears.

What should have happened?

The text decoration is converted to a path as well.

Since the text decoration can have a different color than the text (text-decoration-color attribute), it should be a separate path that is grouped with the text.

Inkscape Version and Operating System:

  • Inkscape Version: 1.1-dev (2a5d477, 2020-01-18)
  • Operating System: Windows 10
  • Operating System version: 10.0.18362

Example file:

decorations-1.svg