W3C home > Mailing lists > Public > www-style@w3.org > June 2004

Re: min-width:25%

From: Brian Sexton <discussion-w3c@ididnotoptin.com>
Date: Mon, 28 Jun 2004 11:34:26 -0700
Message-ID: <000b01c45d3e$8b254e90$aff70618@DESKTOP>
To: "Andrew Fedoniouk" <news@terrainformatica.com>
Cc: <www-style@w3.org>

> See, I have:
> p { width:50%; min-width:100px }
> and after that
> p { width:50px }
> See the problem?
> I think that overriding 'width' should force nullifying of 'min-width'.

That is an interesting example and an interesting suggestion, but it sounds to me like you want to redefine the meaning of "minimum".

In your example, I think the width should be 100px.  I think dimensional boundaries should probably trump specific dimensions that would violate the boundaries.

If a developer uses a width that is out of the bounds he himself (and I mean these in the all-inclusive, gender-neutral way) has set, he is the one who has not bothered to redefine min-width and thus created a conflict.  In such cases, I think boundary values should probably prevail, but it might also be prudent for user agents to complain and refuse to apply the styles so developers can fix such conflicts before inflicting them on the public.

Of course, I could be all wrong.  Feel free to set me straight if that is the case.

Kind regards,

Brian Sexton
Received on Monday, 28 June 2004 14:34:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:14 UTC