Currently we don't place any bounds on parsed CSS values. Why not? I know the spec doesn't have any bounds, but of course there are "implementation specific limits"; we don't handle values > 2^31, for example, and other values get confused with preset constants like NS_UNCONSTRAINEDSIZE. Why don't we make things a bit more predictable, for example by constraining parsed CSS pixel values to be within plus or minus 10^7? (to pick a number out of thin air)

Rob
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to