Closed
Bug 1497076
Opened 6 years ago
Closed 6 years ago
Assertion failure: aMin <= aMax, at FontPropertyTypes.h:426
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla65
People
(Reporter: bc, Assigned: heycam)
References
()
Details
(Keywords: assertion, reproducible)
Attachments
(2 files)
1. https://www.shutterstock.com/editor/image/set-medisine-package-design-3dtemplate-vector-425275021?ref=image-photo&exit=/image-photo/425275021 2. Beta 63/Nightly 64, Windows/Linux at least. Doesn't crash opt. Assertion failure: aMin <= aMax, at z:/build/build/src/obj-firefox/dist/include/mozilla/FontPropertyTypes.h:426 #01: mozilla::dom::FontFaceSet::UpdateRules(nsTArray<nsFontFaceRuleContainer> const &) [layout/style/FontFaceSet.cpp:767] #02: nsIDocument::FlushUserFontSet() [dom/base/nsDocument.cpp:12578] #03: nsIDocument::GetUserFontSet(bool) [dom/base/nsDocument.cpp:12534] #04: mozilla::ServoStyleSet::PreTraverseSync() [layout/style/ServoStyleSet.cpp:428] #05: mozilla::ServoStyleSet::ResolveStyleFor(mozilla::dom::Element *,mozilla::LazyComputeBehavior) [layout/style/ServoStyleSet.cpp:387] #06: static class mozilla::dom::Element * GetPropagatedScrollStylesForViewport(class nsPresContext *, struct mozilla::ScrollStyles *) [layout/base/nsPresContext.cpp:1371] #07: nsPresContext::UpdateViewportScrollStylesOverride() [layout/base/nsPresContext.cpp:1417] #08: nsCSSFrameConstructor::ConstructDocElementFrame(mozilla::dom::Element *,nsILayoutHistoryState *) [layout/base/nsCSSFrameConstructor.cpp:2379] #09: nsCSSFrameConstructor::ContentRangeInserted(nsIContent *,nsIContent *,nsILayoutHistoryState *,nsCSSFrameConstructor::InsertionKind) [layout/base/nsCSSFrameConstructor.cpp:7307] #10: nsCSSFrameConstructor::ContentInserted(nsIContent *,nsILayoutHistoryState *,nsCSSFrameConstructor::InsertionKind) [layout/base/nsCSSFrameConstructor.cpp:7220]
Comment 1•6 years ago
|
||
I'm rewriting some of this code in bug 1496486, may be worth waiting for that.
Assignee | ||
Comment 3•6 years ago
|
||
There's an @font-face { font-weight: normal 300; } descriptor, so I guess we're not correctly following "User agents must swap the computed value of the startpoint and endpoint of the range in order to forbid decreasing ranges." when there's a keyword in there.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•6 years ago
|
||
Actually we're not even copying with `font-weight: 400 300;`.
Comment hidden (obsolete) |
Assignee | ||
Comment 6•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=15736d8675a656a741c2daf11a92c0b8b7984c28
Assignee | ||
Comment 7•6 years ago
|
||
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9536fe8330a8 Handle reversed ranges in @font-face descriptors r=jfkthame
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13837 for changes under testing/web-platform/tests
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9536fe8330a8
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 11•6 years ago
|
||
Is there a user impact which justifies backport consideration here or can this fix ride the trains?
status-firefox63:
--- → wontfix
status-firefox64:
--- → affected
status-firefox-esr60:
--- → wontfix
Flags: needinfo?(cam)
Flags: in-testsuite+
Assignee | ||
Comment 12•6 years ago
|
||
This can ride the trains, thanks for checking.
Flags: needinfo?(cam)
Updated•6 years ago
|
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•