W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-transforms-1] Transforms on root SVG element

From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Apr 2017 01:27:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-295531356-1492651668-sysbot+gh@w3.org>
The CSS Working Group just discussed Transforms on root SVG element, and agreed to the following resolutions:

```
RESOLVED: The root SVG element of a standalone is a CSS box, and the standard implications fall out of that.
```

<details><summary>The full IRC log of that discussion</summary>

```
<TabAtkins> Topic: Transforms on root SVG element
<TabAtkins> GitHub Topic: https://github.com/w3c/csswg-drafts/issues/894
<Rossen> <room reads the issue>
<TabAtkins> TabAtkins: Hm, initial comment claims that bg&borders work on the root SVG of a standalone SVG doc?
<Rossen> https://upload.wikimedia.org/wikipedia/commons/e/e3/Tiger.svg
<ChrisL> <tr id="j"><td class="prop">h<td>A<td>B<td>C<td>D<td>E<td>F<td>G<td>H<td>I<td>J<td>K<td>L<td>M<td>N<td>O<td>P<td>Q<td>R<td>S<td>T<td>U<td>V<td>W<td>X<td>Y<td >Z<td>a<td>b<td>c<td>d<td>e<td>f<td>g<td>h<td>i<td class="test">j<td>k<td>l<td>m<td>n<td>o<td>p<td>q<td>r<td>s<td>t<td>u<td>v<td>w<td>x<td>y<td>z</tr>
<ChrisL> oops
<ChrisL> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" style="border: 5px solid red">
<ChrisL> <rect width="100" height="100" fill="green"/>
<ChrisL> </svg>
<dino> data:image/svg+xml,<svg%20width="20"%20height="20"%20style="border:%203px%20solid%20red"><circle%20cx="10"%20cy="10"%20r="10"/></svg>
<dino> actually data:image/svg+xml,<svg%20xmlns="http://www.w3.org/2000/svg"%20width="20"%20height="20"%20style="border:%203px%20solid%20red"><circle%20cx="10"%20cy="10"%20r="10"/></svg>
<TabAtkins> [Result: standalone SVG's root element is a CSS box in all impls. Chrome/WebKit have a bug that it treats the transform-origin as the top-left; everyone else just does the standard CSS behavior.]
<TabAtkins> TabAtkins: So I think we can just agree, and let Amelia draft the language as she offered?
<TabAtkins> RESOLVED: The root SVG element of a standalone is a CSS box, and the standard implications fall out of that.
```
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/894#issuecomment-295531356 using your GitHub account
Received on Thursday, 20 April 2017 01:27:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC