[Webkit-unassigned] [Bug 280309] New: [Text Directionality] REGRESSION(282648 at main): Updating the auto text directionality of the element's ancestors is very expensive

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 17:32:29 PDT 2024


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

            Bug ID: 280309
           Summary: [Text Directionality] REGRESSION(282648 at main):
                    Updating the auto text directionality of the element's
                    ancestors is very expensive
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com

If the body of a large web page has the following markup <body dir="auto">, loading this page will be very slow. The reason for this performance issue, all the nodes will traverse the DOM tree upwards when they are inserted in their anchors. This traversal is not needed if the dir attribute was not changed and the effective text directionality of the element is the same as the effective text directionality of its parent. In this case this element won't affect its ancestors.

-- 
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/20240925/0f54b98b/attachment.htm>


More information about the webkit-unassigned mailing list