[svgwg] SVG2 text example uses text-align:justified (#791)

jhofinger has just created a new issue for https://github.com/w3c/svgwg:

== SVG2 text example uses text-align:justified ==
https://www.w3.org/TR/SVG2/text.html#TextShapePadding contains an example:

```
<svg xmlns="http://www.w3.org/2000/svg"
     width="300" height="300" viewBox="0 0 300 300">

  <circle id="circle" cx="150" cy="150" r="125" fill="none" stroke="black"/>
  <text style="shape-inside: url(#circle);
        shape-padding: 25px;
        font: 18px DejaVu Sans;
        text-align: justified;
        line-height: 110%;">This is an
  example of wrapped text in SVG 2! There should
  be 25 pixel padding around the text. The text is
  justified on both sides. It looks good!</text>

</svg>
```

I have never seen `text-align: justified` before. According to CSS3, it should be `justify`: https://drafts.csswg.org/css-text-3/#text-align-property

(also in CSS 2: https://www.w3.org/TR/CSS2/text.html#alignment-prop)


Please view or discuss this issue at https://github.com/w3c/svgwg/issues/791 using your GitHub account

Received on Saturday, 11 April 2020 08:10:10 UTC