mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-27 10:50:35 +00:00
New css parser test
This commit is contained in:
parent
6b5588ab09
commit
532b5e6ff5
26
layout/html/tests/css/orphans.css
Normal file
26
layout/html/tests/css/orphans.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 { orphans: 5 }
|
||||
GOOD { orphans: inherit; }
|
||||
BAD { orphans: energy }
|
||||
BAD { orphans: auto; }
|
||||
BAD { orphans: none; }
|
||||
BAD { orphans: 5 2 }
|
||||
BAD { orphans: -5; }
|
||||
BAD { orphans: .5; }
|
28
layout/html/tests/css/outline-color.css
Normal file
28
layout/html/tests/css/outline-color.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 { outline-color: maroon; }
|
||||
GOOD { outline-color: rgb(255,50,50) }
|
||||
GOOD { outline-color: rgb(0%, 100%, 0%) }
|
||||
GOOD { outline-color: #0000ff }
|
||||
GOOD { outline-color: #f00 }
|
||||
GOOD { outline-color: invert; }
|
||||
GOOD { outline-color: inherit; }
|
||||
BAD { outline-color: invert pink }
|
||||
BAD { outline-color: "red"; }
|
||||
BAD { outline-color: abigale; }
|
27
layout/html/tests/css/outline-style.css
Normal file
27
layout/html/tests/css/outline-style.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 { outline-style: outset; }
|
||||
GOOD { outline-style: inset }
|
||||
GOOD { outline-style: dashed }
|
||||
GOOD { outline-style: hidden }
|
||||
GOOD { outline-style: none }
|
||||
GOOD { outline-style: inherit; }
|
||||
BAD { outline-style: invert }
|
||||
BAD { outline-style: inherit dotted }
|
||||
BAD { outline-style: 6em; }
|
26
layout/html/tests/css/outline-width.css
Normal file
26
layout/html/tests/css/outline-width.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 { outline-width: thin; }
|
||||
GOOD { outline-width: thick }
|
||||
GOOD { outline-width: medium }
|
||||
GOOD { outline-width: 10ex }
|
||||
GOOD { outline-width: inherit; }
|
||||
BAD { outline-width: invert }
|
||||
BAD { outline-width: inherit 6ex }
|
||||
BAD { outline-width: 6; }
|
39
layout/html/tests/css/outline.css
Normal file
39
layout/html/tests/css/outline.css
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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 { outline: maroon; }
|
||||
GOOD { outline: outset; }
|
||||
GOOD { outline: thick }
|
||||
GOOD { outline: rgb(255,50,50) thin dashed }
|
||||
GOOD { outline: rgb(0%, 100%, 0%) }
|
||||
GOOD { outline: #0000ff }
|
||||
GOOD { outline: #f00 }
|
||||
GOOD { outline: solid green; }
|
||||
GOOD { outline: blue 1em }
|
||||
GOOD { outline: medium outset; }
|
||||
GOOD { outline: dotted purple 10px }
|
||||
GOOD { outline: groove invert; }
|
||||
GOOD { outline: invert inherit inherit; }
|
||||
GOOD { outline: invert; }
|
||||
GOOD { outline: inherit; }
|
||||
BAD { outline: invert blue }
|
||||
BAD { outline: dashed red 5%; }
|
||||
BAD { outline: neon; }
|
||||
BAD { outline: olive -10px }
|
||||
BAD { outline: "red" }
|
||||
BAD { outline: ; }
|
Loading…
Reference in New Issue
Block a user