[Webkit-unassigned] [Bug 155874] Align quirky number parsing with other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 22:58:48 PDT 2016


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

--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Here's the current code:

inline bool CSSParser::shouldAcceptUnitLessValues(CSSParserValue& value, Units unitFlags, CSSParserMode cssParserMode)
{
    // Qirks mode and svg presentation attributes accept unit less values.
    return (unitFlags & (FLength | FAngle | FTime)) && (!value.fValue || cssParserMode == CSSQuirksMode || cssParserMode == SVGAttributeMode);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160325/523a2185/attachment.html>


More information about the webkit-unassigned mailing list