[Webkit-unassigned] [Bug 236199] [css-logical] changing the writing-mode via a CSS variable does not update the physical properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 7 08:24:56 PST 2022


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

Oriol Brufau <obrufau at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|webkit-unassigned at lists.web |obrufau at igalia.com
                   |kit.org                     |

--- Comment #2 from Oriol Brufau <obrufau at igalia.com> ---
So, this is not related to transitions at all.

    Test:
    <div style="--wm: vertical-lr; writing-mode: var(--wm); block-size: 200px; inline-size: 100px; background: cyan"></div>
    <br>
    Reference:
    <div style="height: 100px; width: 200px; background: cyan"></div>

The test is 200px tall and 100px wide, it should be the opposite.

The current behavior isn't only problematic with variables, e.g.

    <div style="writing-mode: vertical-lr">
      <div style="writing-mode: initial; block-size: 100px; inline-size: 200px; background: cyan"></div>
    </div>

I think I already have a patch.

-- 
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/20220207/c766fcc7/attachment.htm>


More information about the webkit-unassigned mailing list