New CSS Parser test

git-svn-id: svn://10.0.0.236/trunk@14829 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
janc%netscape.com
1998-11-18 00:58:49 +00:00
parent b3f2408262
commit ef3968a967
9 changed files with 264 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
/*
* 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 { counter-increment: inherit }
GOOD { counter-increment: none; }
GOOD { counter-increment: rabbit; }
GOOD { counter-increment: rabbit 1; }
GOOD { counter-increment: rabbit 942 }
GOOD { counter-increment: rabbit -12; }
GOOD { counter-increment: rabbit 0 }
BAD { counter-increment: none to inherit }
BAD { counter-increment: cooler 4 5 -1; }

View File

@@ -0,0 +1,28 @@
/*
* 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 { counter-reset: inherit }
GOOD { counter-reset: none; }
GOOD { counter-reset: rabbit; }
GOOD { counter-reset: rabbit 1; }
GOOD { counter-reset: rabbit 942 }
GOOD { counter-reset: rabbit -12; }
GOOD { counter-reset: rabbit 0 }
BAD { counter-reset: none to inherit }
BAD { counter-reset: cooler 4 5 -1; }

View File

@@ -0,0 +1,25 @@
/*
* 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 { cue-after: inherit }
GOOD { cue-after: url("pop.au") }
GOOD { cue-after: none }
BAD { cue-after: inherited }
BAD { cue-after: url("zip.aiff") url("bang.wav") url("bang.wav") }

View File

@@ -0,0 +1,25 @@
/*
* 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 { cue-before: inherit }
GOOD { cue-before: url("pop.au") }
GOOD { cue-before: none }
BAD { cue-before: inherited }
BAD { cue-before: url("zip.aiff") url("bang.wav") url("bang.wav") }

View File

@@ -0,0 +1,28 @@
/*
* 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 { cue: inherit }
GOOD { cue: url("pop.au") }
GOOD { cue: url("zip.aiff") url("bang.wav") }
GOOD { cue: none url("bang.wav") }
GOOD { cue: none inherit }
GOOD { cue: url("zip.aiff") url("bang.wav") }
BAD { cue: inherited }
BAD { cue: url("zip.aiff") url("bang.wav") url("bang.wav") }

View File

@@ -0,0 +1,36 @@
/*
* 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 { elevation: -90deg }
GOOD { elevation: 90deg }
GOOD { elevation: 0deg }
GOOD { elevation: 16deg }
GOOD { elevation: inherit }
GOOD { elevation: below; }
GOOD { elevation: level }
GOOD { elevation: above; }
GOOD { elevation: higher }
GOOD { elevation: lower }
BAD { elevation: inherited }
BAD { elevation: above below; }
BAD { elevation: duck below; }
BAD { elevation: center; }
BAD { elevation: align=right; }
BAD { elevation: 90deg right; }

View File

@@ -0,0 +1,26 @@
/*
* 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 { empty-cells: show }
GOOD { empty-cells: hide }
GOOD { empty-cells: inherit }
BAD { empty-cells: inherited }
BAD { empty-cells: show hide; }
BAD { empty-cells: hidden; }
BAD { empty-cells: none; }

View File

@@ -0,0 +1,34 @@
/*
* 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 { font-size-adjust: 0 }
GOOD { font-size-adjust: 126 }
GOOD { font-size-adjust: .1 }
GOOD { font-size-adjust: 0.556}
GOOD { font-size-adjust: 57.0 }
GOOD { font-size-adjust: +7 }
GOOD { font-size-adjust: -126}
GOOD { font-size-adjust: -.1}
GOOD { font-size-adjust: -0.556}
GOOD { font-size-adjust: -57.0 }
GOOD { font-size-adjust: none; }
GOOD { font-size-adjust: inherit; }
BAD { font-size-adjust: inherited }
BAD { font-size-adjust: 12 none; }
BAD { font-size-adjust: four; }

View File

@@ -0,0 +1,34 @@
/*
* 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 { font-stretch: normal }
GOOD { font-stretch: wider }
GOOD { font-stretch: narrower }
GOOD { font-stretch: ultra-condensed }
GOOD { font-stretch: extra-condensed }
GOOD { font-stretch: condensed }
GOOD { font-stretch: semi-condensed }
GOOD { font-stretch: semi-expanded }
GOOD { font-stretch: expanded }
GOOD { font-stretch: extra-expanded }
GOOD { font-stretch: ultra-expanded }
GOOD { font-stretch: inherit; }
BAD { font-stretch: none }
BAD { font-stretch: widest; }
BAD { font-stretch: ultra-condensed expanded; }