[Webkit-unassigned] [Bug 137620] Web Inspector: Unexpected CSS warnings with calc()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 10 13:21:34 PDT 2014


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





--- Comment #7 from Joseph Pecoraro <joepeck at webkit.org>  2014-10-10 13:21:30 PST ---
(In reply to comment #6)
> Seems like this may be an issue with operators!
> 
>     background-size: calc(50% +1px); /* warning */
>     background-size: calc(50% + 1px); /* okay */

Well, this may be behaves correctly:

/*
 * The grammar requires spaces around binary ‘+’ and ‘-’ operators.
 * The '*' and '/' operators do not require spaces.
 * http://www.w3.org/TR/css3-values/#calc-syntax
 */

I'm going to leave this bug open, as we should have a better warning in this case.

-- 
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