From 87cc0d28108110fb95055fffea3d39907c296d14 Mon Sep 17 00:00:00 2001 From: "janc%netscape.com" Date: Mon, 26 Oct 1998 21:53:48 +0000 Subject: [PATCH] CSS2 parser test --- layout/html/tests/css/border-left-style.css | 35 ++++++++++++++++++++ layout/html/tests/css/border-right-style.css | 35 ++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 layout/html/tests/css/border-left-style.css create mode 100644 layout/html/tests/css/border-right-style.css diff --git a/layout/html/tests/css/border-left-style.css b/layout/html/tests/css/border-left-style.css new file mode 100644 index 000000000000..8561faf1c4b2 --- /dev/null +++ b/layout/html/tests/css/border-left-style.css @@ -0,0 +1,35 @@ +/* + * 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 lefts and limitations under the + * NPL. + * + * The Initial Developer of this code under the NPL is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyleft (C) 1998 Netscape Communications Corporation. All lefts + * Reserved. + */ + + + +GOOD { border-left-style: inherit; } +GOOD { border-left-style: none; } +GOOD { border-left-style: hidden; } +GOOD { border-left-style: dotted; } +GOOD { border-left-style: dashed; } +GOOD { border-left-style: solid; } +GOOD { border-left-style: double; } +GOOD { border-left-style: groove; } +GOOD { border-left-style: ridge; } +GOOD { border-left-style: inset; } +GOOD { border-left-style: outset; } +BAD { border-left-style: outside; } +BAD { border-left-style: inherit inset; } +BAD { border-left-style: groove double; } +BAD { border-left-style: null; } +BAD { border-left-style: empty; } diff --git a/layout/html/tests/css/border-right-style.css b/layout/html/tests/css/border-right-style.css new file mode 100644 index 000000000000..f83dbfb3c0ad --- /dev/null +++ b/layout/html/tests/css/border-right-style.css @@ -0,0 +1,35 @@ +/* + * 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-style: inherit; } +GOOD { border-right-style: none; } +GOOD { border-right-style: hidden; } +GOOD { border-right-style: dotted; } +GOOD { border-right-style: dashed; } +GOOD { border-right-style: solid; } +GOOD { border-right-style: double; } +GOOD { border-right-style: groove; } +GOOD { border-right-style: ridge; } +GOOD { border-right-style: inset; } +GOOD { border-right-style: outset; } +BAD { border-right-style: far-left; } +BAD { border-right-style: ridge inset; } +BAD { border-right-style: groove outset; } +BAD { border-right-style: null; } +BAD { border-right-style: empty; }