Guest User

CSS Schema

a guest
Jan 26th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.52 KB | None | 0 0
  1. @rule head {
  2.     title {
  3.         assert:  "Page does not have a title.";
  4.     }
  5.     link[rel="stylesheet"][type="text/css"][href="std.css"] {
  6.         assert:  "Page does not use the standard stylesheet.";
  7.     }
  8.     style {
  9.         report:  "Page uses inline style rather than linking.";
  10.     }
  11. }
  12. @rule body {
  13.     :scope.std-body {
  14.         assert:   "Page does not use the standard body class.";
  15.     }
  16.     :scope > div.std-top {
  17.         assert:   "Page does not start with the required page top component.";
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment