Testing Statement #2 Below of Appendix B of CSS1 Spec
-
2. There are additional semantic constraints not expressed in this grammar.
A conforming UA must also adhere to the forward-compatible parsing rules
(section 7), the property and value notation (section 5), and the unit notation
(section 6). In addition, HTML imposes restrictions.
PASS CRITERIA:
If statement #2 above is passed, this paragraph should have the following CSS
properties(from local style sheet):
font of italic small caps 700 120%/120% monospace, color of red, background
of yellow (gif not available) 50% repeat fixed, margin-border-padding of 5px,
width and height of 10px, float left, and clear none.
The rule applied is "p {font: italic small-caps 700 120%/120% monospace;
color: red; background: url(any.gif) yellow 50% repeat fixed; margin: 5px;
border: 5px; padding: 5px; width: 10px; height: 10px; float: left; clear:
none;}".
The properties from imported style sheet are:
word spacing of 0.5em, letter spacing of 0.5em, text decoration of
underline, vertical align of sub, text transform of capitalize, text align
of right, text indent of 3em, and line height of 1.2
The rule applied is "p {word-spacing: 0.5em; letter-spacing: 0.5em;
text-decoration: underline; vertical-align: sub; text-transform: capitalize;
text-align: right; text-indent: 3em; line-height: 1.2;}".
-
This list item should have the following properties from imported style
sheet:
display of list item, white space of normal, list style type of disc, list
style image of url(any.gif) (not available), and list style position of
inside.
The rule applied is "ul {display: list-item; white-space: normal; list-style-
type: disc; list-style-image: url(any.gif); list-style-position: inside;}".
All CSS properties are included here. There is compliance with forward-
compatible parsing rules, property and value notation, and unit notation,
as well as HTML restrictions.
Your browser should render this page similarly to this
reference image or to thisreference image.