- From: L. David Baron <dbaron@dbaron.org>
- Date: Mon, 7 Apr 2014 19:17:42 -0700
- To: Zack Weinberg <zackw@panix.com>
- Cc: www-style list <www-style@w3.org>
Received on Tuesday, 8 April 2014 02:18:07 UTC
On Monday 2014-04-07 21:41 -0400, Zack Weinberg wrote:
> Are there any circumstances where (expr) / <length> risks division by
> zero when the denominator is not syntactically detectable as zero? Not
> (expr) / (expr) where the denominator happens to be type length, but a
> literal <length>.
Use of font-size-dependent units combined with 'font-size: 0'
produces that result, and perhaps some other similar cases. It's
certainly a more realistic problem with expressions of type length,
though (e.g., dividing by (5em - 60px)).
-David
--
𝄞 L. David Baron http://dbaron.org/ 𝄂
𝄢 Mozilla https://www.mozilla.org/ 𝄂
Before I built a wall I'd ask to know
What I was walling in or walling out,
And to whom I was like to give offense.
- Robert Frost, Mending Wall (1914)
Received on Tuesday, 8 April 2014 02:18:07 UTC