@@ -56,38 +56,49 @@ move-cursor-to: "#settings-menu > a"
5656assert-css: (
5757 "#theme-dark",
5858 {
59- "border-color": "rgb(221, 221, 221 )",
59+ "border-color": "rgb(153, 153, 153 )",
6060 "box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset",
61+ "border-width": "2px",
6162 },
6263)
63- assert-css: ("#theme-light", {"border-color": "rgb(221, 221, 221 )", "box-shadow": "none"})
64+ assert-css: ("#theme-light", {"border-color": "rgb(153, 153, 153 )", "box-shadow": "none"})
6465// Let's start with the hover for radio buttons.
6566move-cursor-to: "#theme-dark"
6667assert-css: (
6768 "#theme-dark",
6869 {
6970 "border-color": "rgb(33, 150, 243)",
7071 "box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset",
72+ "border-width": "2px",
7173 },
7274)
7375move-cursor-to: "#theme-light"
74- assert-css: ("#theme-light", {"border-color": "rgb(33, 150, 243)", "box-shadow": "none"})
76+ assert-css: (
77+ "#theme-light",
78+ {
79+ "border-color": "rgb(33, 150, 243)",
80+ "box-shadow": "none",
81+ "border-width": "2px",
82+ }
83+ )
7584move-cursor-to: "#theme-ayu"
7685// Let's now check with the focus for radio buttons.
7786focus: "#theme-dark"
7887assert-css: (
7988 "#theme-dark",
8089 {
81- "border-color": "rgb(221, 221, 221 )",
90+ "border-color": "rgb(153, 153, 153 )",
8291 "box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset, rgb(33, 150, 243) 0px 0px 2px 2px",
92+ "border-width": "2px",
8393 },
8494)
8595focus: "#theme-light"
8696assert-css: (
8797 "#theme-light",
8898 {
89- "border-color": "rgb(221, 221, 221 )",
99+ "border-color": "rgb(153, 153, 153 )",
90100 "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
101+ "border-width": "2px",
91102 },
92103)
93104// Now we check we both focus and hover for radio buttons.
@@ -98,6 +109,7 @@ assert-css: (
98109 {
99110 "border-color": "rgb(33, 150, 243)",
100111 "box-shadow": "rgb(53, 53, 53) 0px 0px 0px 3px inset, rgb(33, 150, 243) 0px 0px 2px 2px",
112+ "border-width": "2px",
101113 },
102114)
103115move-cursor-to: "#theme-light"
@@ -107,6 +119,7 @@ assert-css: (
107119 {
108120 "border-color": "rgb(33, 150, 243)",
109121 "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
122+ "border-width": "2px",
110123 },
111124)
112125// Now we check the setting-radio-name is on a different line than the label.
@@ -142,7 +155,18 @@ assert-css: (
142155 "#auto-hide-large-items",
143156 {
144157 "background-color": "rgb(33, 150, 243)",
145- "border-color": "rgb(221, 221, 221)",
158+ "border-color": "rgb(153, 153, 153)",
159+ // 1px border when checked
160+ "border-width": "1px",
161+ },
162+ )
163+ assert-css: (
164+ "#auto-hide-method-docs",
165+ {
166+ "background-color": "rgba(0, 0, 0, 0)",
167+ "border-color": "rgb(153, 153, 153)",
168+ // 2px border when unchecked
169+ "border-width": "2px",
146170 },
147171)
148172// Let's start with the hover for toggles.
@@ -152,6 +176,18 @@ assert-css: (
152176 {
153177 "background-color": "rgb(33, 150, 243)",
154178 "border-color": "rgb(33, 150, 243)",
179+ // 1px border when checked
180+ "border-width": "1px",
181+ },
182+ )
183+ move-cursor-to: "#auto-hide-method-docs"
184+ assert-css: (
185+ "#auto-hide-method-docs",
186+ {
187+ "background-color": "rgba(0, 0, 0, 0)",
188+ "border-color": "rgb(33, 150, 243)",
189+ // 2px border when unchecked
190+ "border-width": "2px",
155191 },
156192)
157193move-cursor-to: "#settings-menu > a"
@@ -161,8 +197,21 @@ assert-css: (
161197 "#auto-hide-large-items",
162198 {
163199 "background-color": "rgb(33, 150, 243)",
164- "border-color": "rgb(221, 221, 221)",
200+ "border-color": "rgb(153, 153, 153)",
201+ "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
202+ // 1px border when checked
203+ "border-width": "1px",
204+ },
205+ )
206+ focus: "#auto-hide-method-docs"
207+ assert-css: (
208+ "#auto-hide-method-docs",
209+ {
210+ "background-color": "rgba(0, 0, 0, 0)",
211+ "border-color": "rgb(153, 153, 153)",
165212 "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
213+ // 2px border when unchecked
214+ "border-width": "2px",
166215 },
167216)
168217// Now we check we both focus and hover for toggles.
@@ -174,6 +223,20 @@ assert-css: (
174223 "background-color": "rgb(33, 150, 243)",
175224 "border-color": "rgb(33, 150, 243)",
176225 "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
226+ // 1px border when checked
227+ "border-width": "1px",
228+ },
229+ )
230+ move-cursor-to: "#auto-hide-method-docs"
231+ focus: "#auto-hide-method-docs"
232+ assert-css: (
233+ "#auto-hide-method-docs",
234+ {
235+ "background-color": "rgba(0, 0, 0, 0)",
236+ "border-color": "rgb(33, 150, 243)",
237+ "box-shadow": "rgb(33, 150, 243) 0px 0px 1px 1px",
238+ // 2px border when unchecked
239+ "border-width": "2px",
177240 },
178241)
179242
0 commit comments