Bug 256032 - [@property] Nullptr crash with calc()
Summary: [@property] Nullptr crash with calc()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-27 01:20 PDT by Antti Koivisto
Modified: 2023-04-27 06:28 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.