[Webkit-unassigned] [Bug 218090] [css-logical] Fix getComputedStyle for logical properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 22 10:32:02 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218090

Oriol Brufau <obrufau at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |obrufau at igalia.com

--- Comment #2 from Oriol Brufau <obrufau at igalia.com> ---
Note the underlying problem is not in getComputedStyle,

    document.documentElement.style.marginLeft = "1px";
    document.documentElement.style.cssText; // "margin-left: 1px;"
    document.documentElement.style.marginInlineStart = "2px";
    document.documentElement.style.cssText; // "margin-left: 1px; margin-inline-start: 2px;"​
    document.documentElement.style.marginLeft = "3px";
    document.documentElement.style.cssText; // "margin-left: 3px; margin-inline-start: 2px;"

the last one should become "margin-inline-start: 2px; margin-left: 3px;" so that margin-left takes precedence.

Chromium has the same problem, Firefox does it right.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201022/35a40bb8/attachment.htm>


More information about the webkit-unassigned mailing list