Project

General

Profile

Actions

Bug #20625

closed

Optimize CSS

Added by Michiel Roos almost 15 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Category:
TypoScript
Target version:
Start date:
2009-06-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #61842: Refactor CSS-Styled-Content + Content ElementsClosed2011-02-212014-08-08

Actions
Actions

Also available in: Atom PDF