<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>250811</bug_id>
          
          <creation_ts>2023-01-18 16:44:04 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: isCustomPropertyName(name) in WebCore::Style::CustomPropertyRegistry::get</short_desc>
          <delta_ts>2023-01-19 10:46:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>fujii</cc>
    
    <cc>graouts</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1926477</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-01-18 16:44:04 -0800</bug_when>
    <thetext>At least the three following tests are failing a new assertion added with https://commits.webkit.org/258991@main

fast/css/variables/env/invalid-env-name-fallback.html
fast/css/variables/test-suite/166.html
imported/w3c/web-platform-tests/css/css-variables/variable-declaration-29.html

ASSERTION FAILED: isCustomPropertyName(name)
style/CustomPropertyRegistry.cpp(45) : const WebCore::CSSRegisteredCustomProperty *WebCore::Style::CustomPropertyRegistry::get(const WTF::AtomString &amp;) const
1   0x144053de4 WTFCrash
2   0x105fa4790 WTFCrashWithInfo(int, char const*, char const*, int)
3   0x10b398ae8 WebCore::Style::CustomPropertyRegistry::get(WTF::AtomString const&amp;) const
4   0x108d98854 WebCore::CSSVariableReferenceValue::resolveVariableFallback(WTF::AtomString const&amp;, WebCore::CSSParserTokenRange, WebCore::Style::BuilderState&amp;) const
5   0x108d98dc0 WebCore::CSSVariableReferenceValue::resolveVariableReference(WebCore::CSSParserTokenRange, WebCore::CSSValueID, WTF::Vector&lt;WebCore::CSSParserToken, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WebCore::Style::BuilderState&amp;) const
6   0x108d98ad0 WebCore::CSSVariableReferenceValue::resolveTokenRange(WebCore::CSSParserTokenRange, WebCore::Style::BuilderState&amp;) const
7   0x108d99330 WebCore::CSSVariableReferenceValue::resolveVariableReferences(WebCore::Style::BuilderState&amp;) const
8   0x108ed5668 WebCore::CSSParser::parseValueWithVariableReferences(WebCore::CSSPropertyID, WebCore::CSSValue const&amp;, WebCore::Style::BuilderState&amp;)
9   0x10b3ef9c0 WebCore::Style::Builder::resolveVariableReferences(WebCore::CSSPropertyID, WebCore::CSSValue&amp;)
10  0x10b3ef04c WebCore::Style::Builder::applyProperty(WebCore::CSSPropertyID, WebCore::CSSValue&amp;, WebCore::SelectorChecker::LinkMatchMask)
11  0x10b40be54 WebCore::Style::Builder::applyCascadeProperty(WebCore::Style::PropertyCascade::Property const&amp;)::&apos;lambda&apos;(WebCore::SelectorChecker::LinkMatchMask)::operator()(WebCore::SelectorChecker::LinkMatchMask) const
12  0x10b3ee5e4 WebCore::Style::Builder::applyCascadeProperty(WebCore::Style::PropertyCascade::Property const&amp;)
13  0x10b3ee404 WebCore::Style::Builder::applyDeferredProperties()
14  0x10b3ee288 WebCore::Style::Builder::applyNonHighPriorityProperties()
15  0x10b44653c WebCore::Style::Resolver::applyMatchedProperties(WebCore::Style::Resolver::State&amp;, WebCore::Style::MatchResult const&amp;)
16  0x10b444b18 WebCore::Style::Resolver::styleForElement(WebCore::Element const&amp;, WebCore::Style::ResolutionContext const&amp;, WebCore::RuleMatchingBehavior)
17  0x10b453dcc WebCore::Style::TreeResolver::styleForStyleable(WebCore::Styleable const&amp;, WebCore::Style::TreeResolver::ResolutionType, WebCore::Style::ResolutionContext const&amp;)
18  0x10b454348 WebCore::Style::TreeResolver::resolveElement(WebCore::Element&amp;, WebCore::RenderStyle const*, WebCore::Style::TreeResolver::ResolutionType)
19  0x10b4577d8 WebCore::Style::TreeResolver::resolveComposedTree()
20  0x10b458a4c WebCore::Style::TreeResolver::resolve()
21  0x1091f6b90 WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType)
22  0x1091f7a78 WebCore::Document::updateStyleIfNeeded()
23  0x109213cb0 WebCore::Document::finishedParsing()
24  0x109a6b574 WebCore::HTMLConstructionSite::finishedParsing()
25  0x109ab3bb8 WebCore::HTMLTreeBuilder::finished()
26  0x109a7383c WebCore::HTMLDocumentParser::end()
27  0x109a71778 WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd()
28  0x109a714d0 WebCore::HTMLDocumentParser::prepareToStopParsing()
29  0x109a738a8 WebCore::HTMLDocumentParser::attemptToEnd()
30  0x109a73978 WebCore::HTMLDocumentParser::finish()
31  0x109f502e4 WebCore::DocumentWriter::end()

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Fcss%2Fvariables%2Fenv%2Finvalid-env-name-fallback.html&amp;test=fast%2Fcss%2Fvariables%2Ftest-suite%2F166.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcss-variables%2Fvariable-declaration-29.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926478</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-18 16:44:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/104403704&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926577</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2023-01-19 05:04:50 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8828</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926670</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-01-19 10:46:17 -0800</bug_when>
    <thetext>Committed 259096@main (59be4482527c): &lt;https://commits.webkit.org/259096@main&gt;

Reviewed commits have been landed. Closing PR #8828 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>