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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 15:01:56 PST 2021


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

            Bug ID: 220386
           Summary: `direction: rtl` cannot be unset from JS
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timdream at gmail.com

Created attachment 417131

  --> https://bugs.webkit.org/attachment.cgi?id=417131&action=review

direction-rtf.png

STR:

1. Load this URL: data:text/html,<body style="direction: rtl">text</body>
2. Open the inspector and uncheck the CSS rule, or use the JS console and run `document.body.style.direction = ""`

Alternative STR:

1. Load this URL: data:text/html,<body style="direction: rtl">text<script>setTimeout(() => document.body.style.direction = "", 1000)</script></body>

Expected:

The direction should flip to ltr (default)

Actual:

The page stays at rtl.

-- 
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/20210106/a6cc2228/attachment.htm>


More information about the webkit-unassigned mailing list