[Webkit-unassigned] [Bug 271958] New: Web Inspector: attributes prettification of the HTML code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 31 22:11:14 PDT 2024


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

            Bug ID: 271958
           Summary: Web Inspector: attributes prettification of the HTML
                    code
           Product: WebKit
           Version: Other
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 470693

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

prettified code + Web Inspector: Elements

1. Go to a site with HTML with a number of attributes.
2. Look at the layout in Web Inspector: Elements.

Result:
Elements are presented as a tree, but attributes are not prettified/beautified.



It would be great to have this kind of layout:

<div class="vp-video-wrapper content-area-sibling-enabled"
     data-content-area-sibling-eligible="">
    <div class="vp-video">
        <div class="vp-telecine">
            <video preload=""
                   tabindex="-1"
                   autopictureinpicture=""
                   src="blob:https://vimeo.com/0d0c2d74-88de-484b-8370-c3bcff93fc89"
                   style=""></video>
        </div>
    </div>
    <div class="vp-preview vp-preview-invisible"
         id="vp-preview"
         data-thumb="https://i.vimeocdn.com/video/1778321883-34ccc6ed64431a7c83e1063516881c26afa69b0066b99778877355f086a1a02d-d?mw=960&mh=540"
         data-thumb-width="960"></div>
</div>


A potential side benefit would be to be able to specify a breakpoint on modification of the value of a specific attribute.

-- 
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/20240401/9420cab8/attachment.htm>


More information about the webkit-unassigned mailing list