On Tuesday 2011-02-15 05:05 +1100, Alan Gresley wrote:
> This is interesting and you mention all properties and
> most-specific. Taking padding, background and border for example,
> would the following CSS allow the computation to happen quicker.
>
> [dir*="t"] * {
> padding-top: 0;
> padding-
On 15/02/2011 3:34 AM, L. David Baron wrote:
On Monday 2011-02-14 15:27 +, Barney Carroll wrote:
In any case, re-specifying sub-properties via a
short-hand over and over again through inheritance is actually detrimental
to CSS performance — having more properties enforced unnecessarily is ba
On Monday 2011-02-14 15:27 +, Barney Carroll wrote:
> In any case, re-specifying sub-properties via a
> short-hand over and over again through inheritance is actually detrimental
> to CSS performance — having more properties enforced unnecessarily is bad on
> that front.
In Gecko, the opposite
David,
Shorthands override everything within their scope, effectively interrupting
the cascade, so it's best to avoid them unless that's specifically what
you're trying to do. In any case, re-specifying sub-properties via a
short-hand over and over again through inheritance is actually detrimental
Hi David,
this is a good question. It's not clear what values use browsers as
their default for certain elements, because specs don't say much about
it.
For elements such as a div or headings, their values are always 0, so
you got a good point here. For form elements, instead, the padding
On 2/12/2011 5:02 AM, Gabriele Romanato wrote:
Some reflections collected during my experience on production web sites:
http://onwebdev.blogspot.com/2011/02/improving-your-css-performance.html
HTH :-)
http://www.css-zibaldone.com
http://www.css-zibaldone.com/test/ (English)
http://www.css-zi
Some reflections collected during my experience on production web sites:
http://onwebdev.blogspot.com/2011/02/improving-your-css-performance.html
HTH :-)
http://www.css-zibaldone.com
http://www.css-zibaldone.com/test/ (English)
http://www.css-zibaldone.com/articles/ (English)
http://onwebdev