Bug 256032

Summary: [@property] Nullptr crash with calc()
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Antti Koivisto 2023-04-27 01:20:47 PDT
<style>
  body {
    --v: calc(0% + 1px + 0 * max(0px, 0cqi));
    width: var(--v);
  }
  @property --v {
    syntax: '<length-percentage>';
    inherits: false;
    initial-value: 0;
  }
</style>
Comment 1 Antti Koivisto 2023-04-27 01:22:20 PDT
rdar://105491386
Comment 2 Antti Koivisto 2023-04-27 01:30:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13229
Comment 3 EWS 2023-04-27 06:28:51 PDT
Committed 263453@main (8b62fda7097b): <https://commits.webkit.org/263453@main>

Reviewed commits have been landed. Closing PR #13229 and removing active labels.