Bug 113906 - Add support for CSS3 property text-decoration in SVG
Summary: Add support for CSS3 property text-decoration in SVG
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://developer.mozilla.org/en-US/d...
Whiteboard:
Keywords:
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2017-11-17 14:22 UTC by Volga
Modified: 2018-06-20 17:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volga 2017-11-17 14:22:42 UTC
Description:
Since Inkscape 0.92 released, more CSS3 properties become available in SVG.
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92
If LibreOffice want more quality support for SVG, LibO should also give support for CSS3 properties within SVG to make them works as expected.

Steps to Reproduce:
-

Actual Results:  
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 Buovjaga 2017-11-17 18:59:54 UTC
Yep, let's set to NEW
Comment 2 Volga 2017-11-18 03:26:25 UTC
We also need to improve our HTML founctionality in LibreOffice, then make HTML and SVG backends share some supports for CSS3 properties.
Comment 3 Thomas Lendo 2017-11-26 14:07:53 UTC
Is this a kind of meta bug for CSS3 properties or is it for developers sufficient to have such general bug instead of a list of missing properties they can work on?
Comment 4 Buovjaga 2017-11-26 20:10:36 UTC
Ok, let's whirl this past Volga one more time.

In http://wiki.inkscape.org/wiki/index.php/Release_notes/0.92#SVG_and_CSS we can see CSS3 stuff not related to SVG 2:
- The new CSS 3 'mix-blend-mode' and 'isolation' properties are implemented, allowing setting the blend mode between objects without using filters. (This does not mention SVG version. Is it SVG 2 and thus should be left out?)
- The SVG 1.1 'text-decoration' property is now rendered (underlines, strike through, etc.). CSS 3 'text-decoration' properties are also rendered.

So Volga, can you investigate, if the mix-blend-mode and isolation properties are for SVG 2 or older? And test CSS 3 'text-decoration' in an SVG, importing to LibreOffice.

It may be that we will only make this for text-decoration.
Comment 5 Volga 2017-11-27 08:43:01 UTC Comment hidden (no-value)
Comment 6 Volga 2017-11-27 08:44:26 UTC
SVG 2 draft does not mentioned mix-blend-mode and isolation. However W3C draft "Compositing and Blending Level 1" defined the properties, both of them are applies to container elements, graphics elements and graphics referencing elements in SVG. And MDN document also showing an example of using mix-blend-mode property in an SVG element.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode
Comment 7 Buovjaga 2017-11-27 14:25:24 UTC
Ok, changing this to be about text-decoration and I will create new ones for 'mix-blend-mode' and 'isolation'.