New CSS Parser test
git-svn-id: svn://10.0.0.236/trunk@14829 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
28
mozilla/layout/html/tests/css/counter-increment.css
Normal file
28
mozilla/layout/html/tests/css/counter-increment.css
Normal 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; }
|
||||
28
mozilla/layout/html/tests/css/counter-reset.css
Normal file
28
mozilla/layout/html/tests/css/counter-reset.css
Normal 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; }
|
||||
25
mozilla/layout/html/tests/css/cue-after.css
Normal file
25
mozilla/layout/html/tests/css/cue-after.css
Normal 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") }
|
||||
|
||||
25
mozilla/layout/html/tests/css/cue-before.css
Normal file
25
mozilla/layout/html/tests/css/cue-before.css
Normal 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") }
|
||||
|
||||
28
mozilla/layout/html/tests/css/cue.css
Normal file
28
mozilla/layout/html/tests/css/cue.css
Normal 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") }
|
||||
|
||||
36
mozilla/layout/html/tests/css/elevation.css
Normal file
36
mozilla/layout/html/tests/css/elevation.css
Normal 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; }
|
||||
|
||||
26
mozilla/layout/html/tests/css/empty-cells.css
Normal file
26
mozilla/layout/html/tests/css/empty-cells.css
Normal 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; }
|
||||
34
mozilla/layout/html/tests/css/font-size-adjust.css
Normal file
34
mozilla/layout/html/tests/css/font-size-adjust.css
Normal 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; }
|
||||
34
mozilla/layout/html/tests/css/font-stretch.css
Normal file
34
mozilla/layout/html/tests/css/font-stretch.css
Normal 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; }
|
||||
Reference in New Issue
Block a user