Testing Statement #2 Below of Section 5.5.18 of CSS1 Spec

  • 2. For "border-top", initial is not defined for shorthand properties, it applies to all elements, it is not inherited, and percentage values are N/A.

    PASS CRITERIA:

    If statement #2 above is passed, this paragraph should have a border-top of UA-default. The rule applied is "p {border-top: }". So the border-top property applies to the "p" element.

    This h3 element should have a border top of thin solid This emphasized text should have a border top of UA-default, since the border top property is not inherited, and "em" is a child of 'h3". No explicit rule is applied for "em". THe rule applied is 'h3 {border-top: thin solid}". So the border top property applies to em and h3.

    THis h4 element should have a border top which is medium solid. The rule applied is "border-top: medium solid". So the border top property applies to h4.

    This strong text should have a border top of thick solid ; so the border top property applies to the strong element. The rule applied is "strong {border-top: thick solid}".
    This blockquote element should have a margin top of UA-default. The rule applied is "blockquote {border-top: 200%}", which should be ignored since percentages do not apply.
    All other properties of this page should be UA-default.