<?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>187093</bug_id>
          
          <creation_ts>2018-06-27 06:10:02 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: length.isCalculated()</short_desc>
          <delta_ts>2021-02-01 13:38:59 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=209330</see_also>
          <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="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ashvayka</cc>
    
    <cc>Lawrence.j</cc>
    
    <cc>lmoura</cc>
    
    <cc>ryanhaddad</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>1436925</commentid>
    <comment_count>0</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2018-06-27 06:10:02 -0700</bug_when>
    <thetext>ASSERTION FAILED: length.isCalculated()
../../Source/WebCore/css/CSSComputedStyleDeclaration.cpp(502) : WTF::Ref&lt;WebCore::CSSPrimitiveValue&gt; WebCore::valueForImageSliceSide(const WebCore::Length&amp;)

This is triggered by the following testcase:
https://w3c-test.org/infrastructure/assumptions/html-elements.html

more specifically, the tests &quot;CSS div/span definitions (only valid if pre-reqs pass)&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1439982</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-06 16:13:34 -0700</bug_when>
    <thetext>*** Bug 187421 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1440002</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-06 16:41:17 -0700</bug_when>
    <thetext>Since it was consistently crashing, I went ahead and skipped this test on debug in https://trac.webkit.org/r233603</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1630663</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2020-03-17 01:53:14 -0700</bug_when>
    <thetext>Also triggered by https://w3c-test.org/css/css-cascade/all-prop-initial-xml.html:

ASSERTION FAILED: length.isCalculated()
./css/CSSComputedStyleDeclaration.cpp(117) : Ref&lt;WebCore::CSSPrimitiveValue&gt; WebCore::valueForImageSliceSide(const WebCore::Length &amp;)
1   0x304adcc59 WTFCrash
2   0x2e80074cb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x2ea5de09c WebCore::valueForImageSliceSide(WebCore::Length const&amp;)
4   0x2ea5c7b52 WebCore::valueForNinePieceImageSlice(WebCore::NinePieceImage const&amp;)
5   0x2ea5ba52a WebCore::ComputedStyleExtractor::valueForPropertyInStyle(WebCore::RenderStyle const&amp;, WebCore::CSSPropertyID, WebCore::RenderElement*)
6   0x2ea5b1cc5 WebCore::ComputedStyleExtractor::propertyValue(WebCore::CSSPropertyID, WebCore::EUpdateLayout)
7   0x2ea5b1a05 WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue(WebCore::CSSPropertyID, WebCore::EUpdateLayout) const
8   0x2ea5cc760 WebCore::CSSComputedStyleDeclaration::getPropertyCSSValueInternal(WebCore::CSSPropertyID)
9   0x2ea6a7c95 WebCore::CSSStyleDeclaration::namedItem(WTF::AtomString const&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1666451</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-06-26 08:31:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/64806825&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>