[Webkit-unassigned] [Bug 247164] New: deactivating the writing-mode in CSS do not change the layout

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 27 20:27:41 PDT 2022


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

            Bug ID: 247164
           Summary: deactivating the writing-mode in CSS do not change the
                    layout
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 463289

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

vertical layout test case.

1. Open the document vertical-layout.html (attached)
```
<!DOCTYPE html>
<html lang="en" style="writing-mode: vertical-rl;">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Testing vertical layout in Web Inspector</title>
</head>
<body>
    <p>This is a vertical text.</p>
</body>
</html>
```

2. Open Web Inspector, go to the console and type:
   document.querySelector('html').style.writingMode = ''

Expected:
The layout change back to a default writing mode, horizontal-lr

Actual:
The layout doesn't change.

Tested in 
Safari Technology Preview  16.4          18615.1.10
Firefox Nightly            108.0a1       10822.10.27
Google Chrome Canary       109.0.5385.0  5385.0


both Firefox and Chrome change the layout.


It is possible to test it through Web Inspector, Elements tab, and deactivating the writing-mode in the style editor.


Layout is not being reset?

-- 
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/20221028/9a173f3e/attachment-0001.htm>


More information about the webkit-unassigned mailing list