Bug 187093 - ASSERTION FAILED: length.isCalculated()
Summary: ASSERTION FAILED: length.isCalculated()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 187421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-27 06:10 PDT by Frédéric Wang (:fredw)
Modified: 2021-02-01 13:38 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2018-06-27 06:10:02 PDT
ASSERTION FAILED: length.isCalculated()
../../Source/WebCore/css/CSSComputedStyleDeclaration.cpp(502) : WTF::Ref<WebCore::CSSPrimitiveValue> WebCore::valueForImageSliceSide(const WebCore::Length&)

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

more specifically, the tests "CSS div/span definitions (only valid if pre-reqs pass)".
Comment 1 Ryan Haddad 2018-07-06 16:13:34 PDT
*** Bug 187421 has been marked as a duplicate of this bug. ***
Comment 2 Ryan Haddad 2018-07-06 16:41:17 PDT
Since it was consistently crashing, I went ahead and skipped this test on debug in https://trac.webkit.org/r233603
Comment 3 Alexey Shvayka 2020-03-17 01:53:14 PDT
Also triggered by https://w3c-test.org/css/css-cascade/all-prop-initial-xml.html:

ASSERTION FAILED: length.isCalculated()
./css/CSSComputedStyleDeclaration.cpp(117) : Ref<WebCore::CSSPrimitiveValue> WebCore::valueForImageSliceSide(const WebCore::Length &)
1   0x304adcc59 WTFCrash
2   0x2e80074cb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x2ea5de09c WebCore::valueForImageSliceSide(WebCore::Length const&)
4   0x2ea5c7b52 WebCore::valueForNinePieceImageSlice(WebCore::NinePieceImage const&)
5   0x2ea5ba52a WebCore::ComputedStyleExtractor::valueForPropertyInStyle(WebCore::RenderStyle const&, 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&)
Comment 4 Radar WebKit Bug Importer 2020-06-26 08:31:18 PDT
<rdar://problem/64806825>