[csswg-drafts] [cssom] Serialization of a declaration block not idempotent in presence of logical properties.

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Serialization of a declaration block not idempotent in presence of logical properties. ==
Testcase is:

```html
<!doctype html>
<div id="test" style="margin-top: 10px; margin-block-start: 20px; margin-inline-start: 30px; margin-bottom: 40px; margin-left: 50px; margin-right: 60px"></div>
<pre>
<script>
  document.writeln(test.style.cssText);
</script>
</pre>
```

Which serializes to:

```
margin: 10px 60px 40px 50px; margin-block-start: 20px; margin-inline-start: 30px;
```

Which is not idempotent.

cc @FremyCompany 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3244 using your GitHub account

Received on Wednesday, 24 October 2018 01:06:15 UTC