mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
new file to test CSS2 parser
This commit is contained in:
parent
c59c1ebb94
commit
01384f353c
46
layout/html/tests/css/azimuth.css
Normal file
46
layout/html/tests/css/azimuth.css
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* 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 { azimuth: 30deg; }
|
||||
GOOD { azimuth: -10deg; }
|
||||
GOOD { azimuth: +10deg; }
|
||||
GOOD { azimuth: 100grad; }
|
||||
GOOD { azimuth: 1.570796326794897rad; }
|
||||
GOOD { azimuth: left-side; }
|
||||
GOOD { azimuth: far-left; }
|
||||
GOOD { azimuth: left; }
|
||||
GOOD { azimuth: center-left; }
|
||||
GOOD { azimuth: center; }
|
||||
GOOD { azimuth: center-right; }
|
||||
GOOD { azimuth: right; }
|
||||
GOOD { azimuth: far-right; }
|
||||
GOOD { azimuth: right-side; }
|
||||
GOOD { azimuth: center-left behind; }
|
||||
GOOD { azimuth: behind left-side; }
|
||||
GOOD { azimuth: leftwards; }
|
||||
GOOD { azimuth: rightwards; }
|
||||
GOOD { azimuth: inherit; }
|
||||
BAD { azimuth: very-far-right; }
|
||||
BAD { azimuth: 19deg leftwards; }
|
||||
BAD { azimuth: left-side behind center; }
|
||||
BAD { azimuth: ardvark 1.3749171504rad; }
|
||||
BAD { azimuth: left-side inherit behind leftwards; }
|
||||
BAD { azimuth: behind right side; }
|
||||
BAD { azimuth: align center; }
|
||||
BAD { azimuth: -rightwards; }
|
||||
BAD { azimuth: rightward; }
|
||||
BAD { azimuth: right inherit; }
|
27
layout/html/tests/css/border-bottom-color.css
Normal file
27
layout/html/tests/css/border-bottom-color.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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 { border-bottom-color: inherit; }
|
||||
GOOD { border-bottom-color: green; }
|
||||
GOOD { border-bottom-color: #f00; }
|
||||
GOOD { border-bottom-color: #0000ea; }
|
||||
GOOD { border-bottom-color: rgb(50,50,50); }
|
||||
BAD { border-bottom-color: bleu; }
|
||||
BAD { border-bottom-color: blue red; }
|
||||
BAD { border-bottom-color: #-f00; }
|
25
layout/html/tests/css/border-collapse.css
Normal file
25
layout/html/tests/css/border-collapse.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 { border-collapse: inherit; }
|
||||
GOOD { border-collapse: collapse; }
|
||||
GOOD { border-collapse: separate; }
|
||||
BAD { border-collapse: inherited; }
|
||||
BAD { border-collapse: collapse separate; }
|
||||
BAD { border-collapse: eclectus; }
|
||||
|
27
layout/html/tests/css/border-left-color.css
Normal file
27
layout/html/tests/css/border-left-color.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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 { border-left-color: inherit; }
|
||||
GOOD { border-left-color: green; }
|
||||
GOOD { border-left-color: #f00; }
|
||||
GOOD { border-left-color: #0000ea; }
|
||||
GOOD { border-left-color: rgb(50,50,50); }
|
||||
BAD { border-left-color: bleu; }
|
||||
BAD { border-left-color: blue red; }
|
||||
BAD { border-left-color: #-f00; }
|
27
layout/html/tests/css/border-right-color.css
Normal file
27
layout/html/tests/css/border-right-color.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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 { border-right-color: inherit; }
|
||||
GOOD { border-right-color: green; }
|
||||
GOOD { border-right-color: #f00; }
|
||||
GOOD { border-right-color: #0000ea; }
|
||||
GOOD { border-right-color: rgb(50,50,50); }
|
||||
BAD { border-right-color: bleu; }
|
||||
BAD { border-right-color: blue red; }
|
||||
BAD { border-right-color: #-f00; }
|
24
layout/html/tests/css/border-spacing.css
Normal file
24
layout/html/tests/css/border-spacing.css
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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 { border-spacing: inherit; }
|
||||
GOOD { border-spacing: 15pt; }
|
||||
GOOD { border-spacing: 5ex 2em; }
|
||||
BAD { border-spacing: -3px; }
|
||||
BAD { border-spacing: 5; }
|
||||
BAD { border-spacing: 1in -5pc; }
|
27
layout/html/tests/css/border-top-color.css
Normal file
27
layout/html/tests/css/border-top-color.css
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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 { border-top-color: inherit; }
|
||||
GOOD { border-top-color: green; }
|
||||
GOOD { border-top-color: #f00; }
|
||||
GOOD { border-top-color: #0000ea; }
|
||||
GOOD { border-top-color: rgb(50,50,50); }
|
||||
BAD { border-top-color: bleu; }
|
||||
BAD { border-top-color: blue red; }
|
||||
BAD { border-top-color: #-f00; }
|
22
layout/html/tests/css/border-top-style.css
Normal file
22
layout/html/tests/css/border-top-style.css
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
* 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 { border-top-style: inherit; }
|
||||
GOOD { border-top-style: ; }
|
||||
BAD { border-top-style: very-far-right; }
|
Loading…
Reference in New Issue
Block a user