Open Bug 1467347 Opened 2 years ago Updated 2 years ago

Assertion failure: !mozilla::IsNaN(mValue.mFloat), at nsCSSValue.cpp:414

Categories

(Core :: DOM: Animation, defect, P3)

defect

Tracking

()

Tracking Status
firefox62 --- affected
firefox63 --- affected

People

(Reporter: truber, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file testcase.html
The attached testcase causes an assertion in m-c 20180606-223e5900fbbb.

Assertion failure: !mozilla::IsNaN(mValue.mFloat), at /builds/worker/workspace/build/src/layout/style/nsCSSValue.cpp:414

#0: nsCSSValue::SetFloatValue(float, nsCSSUnit)
        at layout/style/nsCSSValue.cpp:414
#1: style::gecko_properties::set_single_transform_function
        at /out/gecko_properties.rs:2742
#2: style::gecko_properties::_<impl style..gecko_bindings..structs..root..mozilla..GeckoDisplay>::set_transform
        at /out/gecko_properties.rs:3136
#3: style::properties::longhands::transform::cascade_property
        at /out/properties.rs:129886
#4: style::properties::cascade
        at /out/properties.rs:136789
#5: style::stylist::Stylist::cascade_style_and_visited
        at servo/components/style/stylist.rs:898
#6: _<style..style_resolver..StyleResolverForElement<'a, 'ctx, 'le, E>>::cascade_style_and_visited
        at servo/components/style/style_resolver.rs:306
#7: _<style..style_resolver..StyleResolverForElement<'a, 'ctx, 'le, E>>::cascade_primary_style
        at servo/components/style/style_resolver.rs:216
#8: _<style..style_resolver..StyleResolverForElement<'a, 'ctx, 'le, E>>::cascade_styles_with_default_parents::_{{closure}}
        at servo/components/style/style_resolver.rs:336
#9: _<style..style_resolver..StyleResolverForElement<'a, 'ctx, 'le, E>>::cascade_styles_with_default_parents
        at servo/components/style/style_resolver.rs:102
#10: style::traversal::compute_style
        at servo/components/style/traversal.rs:663
#11: _<style..gecko..traversal..RecalcStyleOnly<'recalc> as style..traversal..DomTraversal<style..gecko..wrapper..GeckoElement<'le>>>::process_preorder
        at servo/components/style/traversal.rs:434
#12: style::driver::traverse_dom
        at servo/components/style/driver.rs:111
#13: geckoservo::glue::traverse_subtree
        at servo/ports/geckolib/glue.rs:282
#14: geckoservo::glue::Servo_TraverseSubtree
        at servo/ports/geckolib/glue.rs:330
#15: mozilla::ServoStyleSet::StyleDocument(mozilla::ServoTraversalFlags)
        at layout/style/ServoStyleSet.cpp:996
Flags: in-testsuite?
Flags: needinfo?(emilio)
Ok, I thought this came from my transform animation changes but it goes back at least to 2018-03-01... Probably Hiro or Birtles should take a look here.
Flags: needinfo?(emilio)
This is more or less related to web animation.  m44 in the matrix in question is NaN in the first place (i.e specified value).
Component: CSS Parsing and Computation → DOM: Animation
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.