8000 [cssom] Serialization of a declaration block not idempotent in presence of logical properties. · Issue #3244 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[cssom] Serialization of a declaration block not idempotent in presence of logical properties. #3244

@emilio

Description

@emilio

Testcase is:

<!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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0