Opened 9 years ago

Closed 9 years ago

#11247 closed defect (fixed)

dojoTabular CSS causing Google Page Speed warnings

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.5
Component: General Version: 1.4.0
Keywords: Cc: alex
Blocked By: Blocking:

Description

dojo/resources/dojo.css has 4 very inefficient rules, 2 inefficient rules, and 0 potentially inefficient uses of :hover out of 20 total rules.

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

  • table.dojoTabular thead tr th Tag key with 3 descendant selectors and Class overly qualified with tag
  • table.dojoTabular thead tr td Tag key with 3 descendant selectors and Class overly qualified with tag
  • table.dojoTabular tbody tr td Tag key with 3 descendant selectors and Class overly qualified with tag
  • table.dojoTabular tfoot tr td Tag key with 3 descendant selectors and Class overly qualified with tag

Inefficient rules (good to fix on interactive pages):

  • table.dojoTabular thead Tag key with descendant selector and Class overly qualified with tag
  • table.dojoTabular tfoot Tag key with descendant selector and Class overly qualified with tag

Attachments (1)

11247.patch (777 bytes) - added by Douglas Hays 9 years ago.
simplified CSS that passes Page Speed

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Douglas Hays

Attachment: 11247.patch added

simplified CSS that passes Page Speed

comment:1 Changed 9 years ago by Douglas Hays

Status: newassigned

comment:2 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [22270]) Fixes #11247. Simplify dojoTabular CSS.

Note: See TracTickets for help on using tickets.