Bug 250981

Summary: Nullptr crash under CustomPropertyRegistry::registerFromStylesheet
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-01-22 08:25:48 PST
<style>
  @property --a {
    syntax: 'foo';
    inherits: false;
    initial-value: foo;
  }
</style>
<script>
  onload = () => {
    document.open();
    document.createElement('div').style.width = '0';
  };
</script>
Comment 1 Antti Koivisto 2023-01-22 08:26:18 PST
rdar://104474736
Comment 2 Antti Koivisto 2023-01-22 08:39:09 PST
Pull request: https://github.com/WebKit/WebKit/pull/8954
Comment 3 EWS 2023-01-22 09:31:19 PST
Committed 259188@main (9b2b18b81262): <https://commits.webkit.org/259188@main>

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