CSS2 Test Suite: 11.1.2 clip

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.cl1 {clip: rect(5px 10px 10px 5px); padding: 0; border: 1px solid gray; background: #FCC;}

Note: the behavior of 'clip' changed radically in CSS2.1. This test is provided as a historical curiosity. Browsers are not expected to pass it. Even those that pass it under 2.1 may appear to fail this test, and vice versa. The results seen on this page should not be taken as definitive.

[cl1] The content of this 'p' element should be clipped slightly: 5 pixels on the top, 10 pixels to the right, 10 pixels on the bottom, and 5 pixels to the left. This will cause the text to be cut off to a small extent on each side of the element.

[index page] [section] [Previous] [Next] [Specification]