[Webkit-unassigned] [Bug 220386] `direction: rtl` on the root cannot be unset from JS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 9 12:09:10 PST 2021


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

Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |koivisto at iki.fi
          Component|Layout and Rendering        |CSS

--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
I think this is about this code in resolveForDocument():

        if (bodyRenderer && !docElementRenderer->style().hasExplicitlySetDirection())
            documentStyle.setDirection(bodyRenderer->style().direction());
        else
            documentStyle.setDirection(docElementRenderer->style().direction());

which seems to put the old body style on the document.

-- 
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/20210109/180bd652/attachment.htm>


More information about the webkit-unassigned mailing list