[Webkit-unassigned] [Bug 230389] New: if border-radius includes a var(), the value is not readable from .style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 16 23:36:34 PDT 2021


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

            Bug ID: 230389
           Summary: if border-radius includes a var(), the value is not
                    readable from .style
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tuomas.webkit at apple.com

Created attachment 438447

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

html file demonstrating the issue

this css:

--v0: 50px;
border-radius: var(--v0);

is rendered correctly, but in JavaScript the value of [style].style.borderRadius is "".

-- 
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/20210917/e16ca9c7/attachment-0001.htm>


More information about the webkit-unassigned mailing list