gecko-dev/layout/html/tests/css/clip.css

54 lines
1.9 KiB
CSS
Raw Normal View History

1998-04-13 20:24:54 +00:00
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
GOOD { clip: auto; }
GOOD { clip: rect( auto auto auto auto ) }
GOOD { clip: rect(auto auto auto auto) }
GOOD { clip: rect( 12pt auto auto auto ) }
GOOD { clip: rect( auto 12pt auto auto ) }
GOOD { clip: rect( auto auto 12pt auto ) }
GOOD { clip: rect( auto auto auto 12pt ) }
GOOD { clip: rect( 12pt 13em auto auto ) }
GOOD { clip: rect( 12pt 13em 14pc auto ) }
GOOD { clip: rect( 12pt 13em 14pc 15in ) }
GOOD { clip: rect ( 12pt 13em 14pc 15in ) }
1998-04-28 15:24:20 +00:00
GOOD { clip: rect( auto, auto, auto, auto ) }
GOOD { clip: rect(auto , auto , auto , auto) }
GOOD { clip: rect( 12pt, auto, auto, auto, ) }
GOOD { clip: rect( auto, 12pt, auto, auto ) }
GOOD { clip: rect( auto, auto, 12pt, auto ) }
GOOD { clip: rect( auto, auto, auto, 12pt ) }
GOOD { clip: rect( 12pt, 13em, auto, auto ) }
GOOD { clip: rect( 12pt, 13em, 14pc, auto ) }
GOOD { clip: rect( 12pt, 13em, 14pc, 15in ) }
GOOD { clip: rect ( 12pt, 13em, 14pc, 15in ) }
1998-04-13 20:24:54 +00:00
BAD { clip: rect( 1pt ) }
BAD { clip: rect( 1pt 2pt ) }
BAD { clip: rect( 1pt 2pt 3pt ) }
BAD { clip: rect( 1 2 3 4 ) }
BAD { clip: rect( auto ) }
BAD { clip: rect( auto auto) }
BAD { clip: rect( auto auto auto) }
BAD { clip: rect( auto auto auto) }
1998-04-28 15:24:20 +00:00
BAD { clip: rect( auto, auto, auto, auto, ) }
BAD { clip: rect ( 12pt, 13em, 14pc, 15in, ) }