Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla_expected_failures / bugs / bug12012.css
blob12bdbb50a1255a8c12d327d8383af91c95f6d840
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
15 * The Original Code is mozilla.org code.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
22 * Contributor(s):
24 * Alternatively, the contents of this file may be used under the terms of
25 * either of the GNU General Public License Version 2 or later (the "GPL"),
26 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
39 * WINDOWS
42 window {
43 background: #FF9; /* pale yellow */
44 color: black;
47 /* only does anything for calendar */
48 table { width: 100%; }
50 box#tabs { padding: 1px; }
51 /* crash in
52 #0 0x40b20926 in nsSelectControlFrame::SetProperty ()
53 #1 0x40ade441 in nsHTMLSelectElement::SetSelectedIndex ()
54 #2 0x403d30cf in NS_NewScriptHTMLScriptElement ()
55 #3 0x40446433 in js_SetProperty ()
56 box#main { overflow: scroll; }
58 box#main { overflow: auto; }
61 /* XXX Interesting... */
62 /* window { overflow: scroll; } */
64 window[debug] { background: yellow; }
65 window[debug] box { background: red; }
66 window[debug] div { background: green; }
68 /* XXX: Bug: Problems - increases height; should center the table - happens
69 if any margin is auto */
70 table {
71 /* margin: 0 auto; */
74 td, th {
75 line-height: 1;
76 padding: 0;
79 /* XXX Doesn't work: */
80 box#outer { overflow: scroll; }
83 * BUTTONS AND TABS: Used in schedule and pick windows.
87 #ApptTable { overflow: scroll; }
90 button, td[class~="button"], td[class~="tab"] {
91 text-align: center;
92 vertical-align: middle;
93 cursor: pointer;
94 border: 1px outset #FF9;
95 padding: 1px;
96 color: black;
97 background: #FF9;
100 td[class~="button"]:active, td[class~="tab"]:active {
101 border-style: inset;
102 padding: 2px 0px 0px 2px;
103 background: #fc3;
106 td[class~="tab"][class~="disable"] {
107 color: #888;
110 td[class~="tab"][class~="disable"]:active {
111 /* back to default */
112 background: #FF9;
115 td[id="DateOutput"], td[id="MonthOutput"] {
116 vertical-align: middle;
117 text-align: center;
118 font-weight: bold;
122 * SCHEDULE LIST
125 /* XXX XUL Bug?? tr[id] without the tbody matches the row in the thead too */
126 table[class~="data"] tbody[id="ApptTable"] tr {
127 cursor: pointer;
130 /* Problem with bug 5693
131 table[class~="data"] tbody#ApptTable tr:hover {
132 background: #ff0;
133 text-decoration: underline; /* really a nonstandard use */
137 table[class~="data"] th, table[class~="data"] td {
138 text-align: left;
139 vertical-align: baseline;
143 * EVENT ADDER
146 table#add th {
147 text-align: right;
148 font-weight: bold;
151 table#add th:after {
152 content: ":";
156 * DATE PICKER
159 /* the numbers in the calendar, including those below */
161 td[class~="caldate"] {
162 cursor: pointer;
163 text-align: center;
164 border: 1px solid transparent;
167 /* the number in the calendar for the date now being shown (overrides above) */
169 td[class~="caldate"][class~="nowshowing"] {
170 background: #f90;
171 color: black;
174 /* the number in the calendar for today's date (overrides above) */
176 td[class~="caldate"][class~="today"] {
177 border: 1px solid black;
178 /* font-weight: bold; */