[Webkit-unassigned] [Bug 127361] ASSERTION FAILED: std::isfinite(num) in WebCore::CSSPrimitiveValue::CSSPrimitiveValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 6 05:06:07 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127361





--- Comment #29 from Martin Hodovan <hodovanmartin at gmail.com>  2014-03-06 05:03:06 PST ---
I believe that no infinite values should be supported in CSS at all. Properties that are
expecting numeric values (most of them are listed in CSSParser::isSimpleLengthPropertyID
like FontSize, (Min/Max of) Height/Width, Bottom/Left/Right/Top-Margin/Padding, etc.) 
do not make any sense in infinite cases, regardless it is a positive or negative value,
and since there is no sensible way to present them, I think we should just ignore them all.
Maybe I should use CSSValueID::CSSValueInvalid instead of CSSValueID::CSSValueInfinite. (?)
The standard only says "UAs should support reasonably useful ranges and precisions."
I am a little confused, how do you mean that testing ought to cover more than just parsing?
I was using the parsed values as font-size and line-height property values.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list