Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @rule head {
- title {
- assert: "Page does not have a title.";
- }
- link[rel="stylesheet"][type="text/css"][href="std.css"] {
- assert: "Page does not use the standard stylesheet.";
- }
- style {
- report: "Page uses inline style rather than linking.";
- }
- }
- @rule body {
- :scope.std-body {
- assert: "Page does not use the standard body class.";
- }
- :scope > div.std-top {
- assert: "Page does not start with the required page top component.";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment