Closed
Bug 1323119
Opened 8 years ago
Closed 7 years ago
Assertion failure: false (GetDiscretelyAnimatedCSSValue is not implemented yet)
Categories
(Core :: DOM: Animation, defect, P3)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla61
People
(Reporter: truber, Assigned: hiro)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files)
The attached testcase causes the assertion in mozilla-central rev f46f85dcfbc2
Assertion failure: false (GetDiscretelyAnimatedCSSValue is not implemented yet), at src/layout/style/nsHTMLStyleSheet.cpp:119
#0 0x7fbd80db9d91 in nsHTMLStyleSheet::TableTHRule::GetDiscretelyAnimatedCSSValue(nsCSSPropertyID, nsCSSValue*) src/layout/style/nsHTMLStyleSheet.cpp:119:3
#1 0x7fbd80dfba0e in nsRuleNode::GetDiscretelyAnimatedCSSValue(nsCSSPropertyID, nsCSSValue*) src/layout/style/nsRuleNode.cpp:10401:9
#2 0x7fbd80cc0681 in mozilla::StyleAnimationValue::ExtractComputedValue(nsCSSPropertyID, nsStyleContext*, mozilla::StyleAnimationValue&) src/layout/style/StyleAnimationValue.cpp:4708:7
#3 0x7fbd7d958a6d in mozilla::EffectCompositor::GetBaseStyle(nsCSSPropertyID, nsStyleContext*, mozilla::dom::Element&, mozilla::CSSPseudoElementType) src/dom/animation/EffectCompositor.cpp:917:5
#4 0x7fbd7d95fecd in mozilla::dom::KeyframeEffectReadOnly::CompositeValue(nsCSSPropertyID, RefPtr<mozilla::AnimValuesStyleRule> const&, mozilla::StyleAnimationValue const&, mozilla::dom::CompositeOperation) src/dom/animation/KeyframeEffectReadOnly.cpp:375:14
#5 0x7fbd7d94528b in mozilla::dom::KeyframeEffectReadOnly::ComposeStyle(RefPtr<mozilla::AnimValuesStyleRule>&, nsCSSPropertyIDSet const&) src/dom/animation/KeyframeEffectReadOnly.cpp:445:7
#6 0x7fbd7d944a6f in mozilla::dom::Animation::ComposeStyle(RefPtr<mozilla::AnimValuesStyleRule>&, nsCSSPropertyIDSet const&) src/dom/animation/Animation.cpp:960:7
#7 0x7fbd7d955875 in mozilla::EffectCompositor::ComposeAnimationRule(mozilla::dom::Element*, mozilla::CSSPseudoElementType, mozilla::EffectCompositor::CascadeLevel, mozilla::TimeStamp) src/dom/animation/EffectCompositor.cpp:700:5
#8 0x7fbd7d9554eb in mozilla::EffectCompositor::MaybeUpdateAnimationRule(mozilla::dom::Element*, mozilla::CSSPseudoElementType, mozilla::EffectCompositor::CascadeLevel, nsStyleContext*) src/dom/animation/EffectCompositor.cpp:370:3
#9 0x7fbd7d955bdd in mozilla::EffectCompositor::GetAnimationRule(mozilla::dom::Element*, mozilla::CSSPseudoElementType, mozilla::EffectCompositor::CascadeLevel, nsStyleContext*) src/dom/animation/EffectCompositor.cpp:406:3
#10 0x7fbd80e1845e in nsStyleSet::RuleNodeWithReplacement(mozilla::dom::Element*, mozilla::dom::Element*, nsRuleNode*, mozilla::CSSPseudoElementType, nsRestyleHint) src/layout/style/nsStyleSet.cpp:1566:34
#11 0x7fbd80e18b8f in nsStyleSet::ResolveStyleWithReplacement(mozilla::dom::Element*, mozilla::dom::Element*, nsStyleContext*, nsStyleContext*, nsRestyleHint, unsigned int) src/layout/style/nsStyleSet.cpp:1676:5
#12 0x7fbd80f10c7b in mozilla::ElementRestyler::RestyleSelf(nsIFrame*, nsRestyleHint, unsigned int*, nsTArray<mozilla::ElementRestyler::SwapInstruction>&) src/layout/base/RestyleManager.cpp:2816:11
#13 0x7fbd80f0e3af in mozilla::ElementRestyler::Restyle(nsRestyleHint) src/layout/base/RestyleManager.cpp:2139:7
#14 0x7fbd80f19768 in mozilla::ElementRestyler::ComputeStyleChangeFor(nsIFrame*, nsStyleChangeList*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint, mozilla::RestyleHintData const&, nsTArray<mozilla::ElementRestyler::ContextToClear>&, nsTArray<RefPtr<nsStyleContext> >&) src/layout/base/RestyleManager.cpp:3393:7
#15 0x7fbd80f03189 in mozilla::RestyleManager::ComputeAndProcessStyleChange(nsIFrame*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint, mozilla::RestyleHintData const&) src/layout/base/RestyleManager.cpp:3803:3
#16 0x7fbd80f0261c in mozilla::RestyleManager::RestyleElement(mozilla::dom::Element*, nsIFrame*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint, mozilla::RestyleHintData const&) src/layout/base/RestyleManager.cpp:152:5
#17 0x7fbd80f21bba in mozilla::RestyleTracker::ProcessOneRestyle(mozilla::dom::Element*, nsRestyleHint, nsChangeHint, mozilla::RestyleHintData const&) src/layout/base/RestyleTracker.cpp:97:5
#18 0x7fbd80f1fbed in mozilla::RestyleTracker::DoProcessRestyles() src/layout/base/RestyleTracker.cpp:266:9
#19 0x7fbd80f061ba in mozilla::RestyleManager::ProcessPendingRestyles() src/layout/base/RestyleManager.cpp:834:3
#20 0x7fbd80ed970b in mozilla::PresShell::FlushPendingNotifications(mozilla::ChangesToFlush) src/layout/base/PresShell.cpp:4115:9
Assignee | ||
Comment 1•8 years ago
|
||
I think we should implement TableTHRule::GetDiscretelyAnimatedCSSValue and other GetDiscretelyAnimatedCSSValue to get the base style. I guess we need to walk up tree rules to find the style. I wondered how CSS transition handle these cases, but currently we do ignore discrete properties for transitions.
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #1)
> I think we should implement TableTHRule::GetDiscretelyAnimatedCSSValue and
> other GetDiscretelyAnimatedCSSValue to get the base style. I guess we need
> to walk up tree rules to find the style.
I'd like to fix this property in stylo, since we need to use each member variable which represents each CSS value respectively, e.g. mMaskType in nsStyleSVGReset, it will be some amount of work.
Updated•8 years ago
|
Priority: -- → P3
Comment 3•8 years ago
|
||
Additional testcase which triggers the assertion "GetDiscretelyAnimatedCSSValue is not implemented yet".
Comment 4•7 years ago
|
||
Unsurprisingly it sounds like (given comment 2), this doesn't reproduce when Stylo is enabled.
Flags: in-testsuite?
Updated•7 years ago
|
Has Regression Range: --- → yes
status-firefox56:
--- → wontfix
status-firefox57:
--- → fixed
status-firefox58:
--- → fixed
status-firefox-esr52:
--- → unaffected
Whiteboard: [fixed by stylo]
Assignee | ||
Comment 5•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8966090 [details]
Bug 1323119 - Add a test case that had caused an assertion on the old style system.
https://reviewboard.mozilla.org/r/234832/#review240442
::: dom/animation/test/crashtests/1323119-1.html:6
(Diff revision 1)
> +<!DOCTYPE html>
> +<html class="reftest-wait">
> +<body>
> +<script>
> +addEventListener("DOMContentLoaded", function (){
> + let a=document.createElement("th");
I wonder if we don't need the coding style in here?
(Although there were similar codes in crashtests.)
If we need, please add one space both side of "=".
Attachment #8966090 -
Flags: review?(dakatsuka) → review+
Comment hidden (mozreview-request) |
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c1942e1742f2
Add a test case that had caused an assertion on the old style system. r=daisuke
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•7 years ago
|
Assignee: nobody → hikezoe
Updated•7 years ago
|
status-firefox59:
--- → fixed
status-firefox60:
--- → fixed
Flags: in-testsuite? → in-testsuite+
Whiteboard: [fixed by stylo]
Updated•6 years ago
|
Keywords: regression
You need to log in
before you can comment on or make changes to this bug.
Description
•