[Webkit-unassigned] [Bug 284284] New: SVG does respect aspect ratio in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 9 02:15:41 PST 2024


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

            Bug ID: 284284
           Summary: SVG does respect aspect ratio in some cases
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ntim at apple.com

This testcase is not web compatible with Firefox & Chrome:


<button style="font-size: .8rem; height: 2rem;">
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0, 0, 32, 32" width="100%" height="100%">
      <rect height="32" width="32" y="0" x="0" fill="#88FF88"></rect>
      <path d="M16 3a1 1 0 0 0-1 1v24a1 1 0 0 0 2 0V4a1 1 0 0 0-1-1M12.282 8.04a.99.99 0 0 0-1.123.419l-9 14A1 1 0 0 0 3 23.999h9a1 1 0 0 0 1-1V9a1 1 0 0 0-.718-.958M29.841 22.459l-9-14a1 1 0 0 0-1.84.54v14a1 1 0 0 0 1 1h9a1 1 0 0 0 .84-1.54"></path>
    </svg>
  </button>

-- 
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/20241209/5b5c8c2e/attachment.htm>


More information about the webkit-unassigned mailing list