Issue Bug Closed

#20625Optimize CSS

Michiel Roos 06/17/09, 20:49 updated 09/24/15, 19:41

Description

I was pointed to this great extension for firefox called ‘page speed’.

It checks other things than YSLOW does and does more ‘in depth’ checking.

http://code.google.com/speed/page-speed/

It comes with some recommendations about the CSS fo css styled content:

Very inefficient rules (good to fix on any page):

  • div.csc-textpic-border div.csc-textpic-imagewrap .csc-textpic-image img Tag key with 3 descendant selectors and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap ul Tag key with 2 descendant selectors and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap ul li Tag key with 3 descendant selectors and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap dl.csc-textpic-image dt Tag key with 3 descendant selectors and Class overly qualified with tag and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap dl.csc-textpic-image dd Tag key with 3 descendant selectors and Class overly qualified with tag and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap dl.csc-textpic-image dd img Tag key with 4 descendant selectors and Class overly qualified with tag and Class overly qualified with tag and Class overly qualified with tag
  • div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image img Tag key with 3 descendant selectors and Class overly qualified with tag and Class overly qualified with tag

Inefficient rules (good to fix on interactive pages):

  • div.csc-textpic img Tag key with descendant selector and Class overly qualified with tag
  • dl.csc-textpic-image dt Tag key with descendant selector and Class overly qualified with tag
  • dl.csc-textpic-image dd Tag key with descendant selector and Class overly qualified with tag

(issue imported from #M11349)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.