The spec should talk about how logical properties are exposed on computed style objects. I think it would make sense to expose their logical values based on the direction/text-orientation/writing-mode values, for example: <style> div { direction: rtl; margin-right: 10px; } </style> <div></div> <script> var cs = getComputedStyle(document.querySelector("div")); alert(cs.getPropertyValue("margin-inline-start")); // "10px" </script>Received on Wednesday, 31 December 2014 01:14:26 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:49 UTC