1313 counter-reset : test-describe;
1414 }
1515
16- .Test-describe : before {
16+ .Test-describe :: before {
1717 content : counter (test-describe);
1818 counter-increment : test-describe;
1919 }
2020
2121 .Test-describe {
2222 counter-reset : test-it;
23+ font-size : 1.5em ;
24+ margin : 60px 0 20px ;
2325 }
2426
25- .Test-it : before {
27+ .Test-it :: before {
2628 content : counter (test-describe) "." counter (test-it);
2729 counter-increment : test-it;
2830 }
4749 padding : 0.75em 20px ;
4850 }
4951
50- .Test-describe {
51- font-size : 1.5em ;
52- margin : 60px 0 20px ;
53- }
54-
55- .Test-describe : before ,
56- .Test-it : before {
52+ .Test-describe ::before ,
53+ .Test-it ::before {
5754 color : # 999 ;
5855 display : inline-block;
5956 margin-right : 10px ;
6663 */
6764
6865 .Test-run--highlightEl > * {
69- outline : 1px solid # ADD8E6 ;
66+ outline : 1px solid # add8e6 ;
7067 }
7168</ style >
7269
@@ -98,7 +95,7 @@ <h1>Heading (in section)</h1>
9895 < h2 class ="Test-describe "> < code > hr</ code > </ h2 >
9996 < h3 class ="Test-it "> should have a < code > content-box</ code > box model</ h3 >
10097 < div class ="Test-run ">
101- < hr style ="height:2px; border:solid #ADD8E6 ; border-width:2px 0; ">
98+ < hr style ="height:2px; border:solid #add8e6 ; border-width:2px 0; ">
10299 </ div >
103100
104101 < h2 class ="Test-describe "> < code > main</ code > </ h2 >
@@ -129,8 +126,14 @@ <h3 class="Test-it">should have a dotted underline text decoration with an under
129126 < h2 class ="Test-describe "> < code > b</ code > , < code > strong</ code > </ h2 >
130127 < h3 class ="Test-it "> should have a bolder font-weight</ h3 >
131128 < div class ="Test-run ">
132- < b > b</ b >
133- < strong > strong</ strong >
129+ < p >
130+ < b > b</ b >
131+ < strong > strong</ strong >
132+ </ p >
133+ < p style ="font-weight:300; ">
134+ < b > b</ b >
135+ < strong > strong from font-weight:300</ strong >
136+ </ p >
134137 </ div >
135138
136139 < h2 class ="Test-describe "> < code > code</ code > , < code > kbd</ code > , < code > samp</ code > </ h2 >
@@ -166,15 +169,15 @@ <h3 class="Test-it">should not have a border when wrapped in an anchor</h3>
166169 < div class ="Test-run ">
167170 < a href ="#non ">
168171 <!-- scaled-up 1px image -->
169- < img style ="background-color:#ADD8E6 " src ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 " width ="100 " height ="100 ">
172+ < img style ="background-color:#add8e6; vertical-align:top; " src ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 " width ="100 " height ="100 ">
170173 </ a >
171174 </ div >
172175
173176 < h2 class ="Test-describe "> < code > svg</ code > </ h2 >
174177 < h3 class ="Test-it "> should not overflow</ h3 >
175178 < div class ="Test-run Test-run--highlightEl ">
176179 < svg width ="100px " height ="100px ">
177- < circle cx ="100 " cy ="100 " r ="100 " fill ="#ADD8E6 " />
180+ < circle cx ="100 " cy ="100 " r ="100 " fill ="#add8e6 " />
178181 </ svg >
179182 </ div >
180183
@@ -198,10 +201,10 @@ <h3 class="Test-it">should have visible overflow</h3>
198201 < style >
199202 # button-overflow button : after {
200203 content : "" ;
201- background : # ADD8E6 ;
204+ background : # add8e6 ;
202205 display : inline-block;
203206 height : 10px ;
204- position : relative;
207+ position : relative;
205208 right : -20px ;
206209 width : 10px ;
207210 }
@@ -211,7 +214,7 @@ <h3 class="Test-it">should have visible overflow</h3>
211214
212215 < h2 class ="Test-describe "> < code > button</ code > </ h2 >
213216 < h3 class ="Test-it "> should not inherit < code > text-transform</ code > </ h3 >
214- < div class ="Test-run " style ="text-transform:uppercase ">
217+ < div class ="Test-run " style ="text-transform:uppercase; ">
215218 < button > button</ button >
216219 </ div >
217220
@@ -221,7 +224,7 @@ <h3 class="Test-it">should be styleable</h3>
221224 < style >
222225 # button-like-style button ,
223226 # button-like-style input {
224- background : # ADD8E6 ;
227+ background : # add8e6 ;
225228 border : 2px solid black;
226229 border-radius : 2px ;
227230 padding : 5px ;
@@ -235,40 +238,23 @@ <h3 class="Test-it">should be styleable</h3>
235238 < p > < input type ="submit " value ="input (submit) "> </ p >
236239 </ div >
237240
238- < h2 class ="Test-describe "> < code > button</ code > , < code > input</ code > </ h2 >
239- < h3 class ="Test-it "> should not have extra inner padding in Firefox</ h3 >
240- < div class ="Test-run " id ="button-input-padding ">
241- < style >
242- # button-input-padding button ,
243- # button-input-padding input {
244- border : 0 ;
245- padding : 0 ;
246- outline : 1px solid # ADD8E6 ;
247- }
248- </ style >
249- < p > < button > button</ button > </ p >
250- < p > < input type ="button " value ="input (button) "> </ p >
251- < p > < input type ="reset " value ="input (reset) "> </ p >
252- < p > < input type ="submit " value ="input (submit) "> </ p >
253- </ div >
254-
255241 < h2 class ="Test-describe "> < code > fieldset</ code > </ h2 >
256242 < h3 class ="Test-it "> should have consistent border, padding, and margin</ h3 >
257243 < div class ="Test-run ">
258244 < fieldset >
259- < div style ="width:100%; height:100px; background:#ADD8E6 ; "> </ div >
245+ < div style ="width:100%; height:100px; background:#add8e6 ; "> </ div >
260246 </ fieldset >
261247 </ div >
262248
263249 < h2 class ="Test-describe "> < code > legend</ code > </ h2 >
264250 < h3 class ="Test-it "> should wrap text</ h3 >
265251 < div class ="Test-run ">
266- < fieldset >
252+ < fieldset style =" width: 34em; " >
267253 < legend > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.</ legend >
268254 </ fieldset >
269255 </ div >
270256 < h3 class ="Test-it "> should inherit color</ h3 >
271- < div class ="Test-run " style ="color:#ADD8E6 ; ">
257+ < div class ="Test-run " style ="color:#add8e6 ; ">
272258 < fieldset >
273259 < legend > legend</ legend >
274260 </ fieldset >
@@ -292,7 +278,7 @@ <h3 class="Test-it">should have baseline alignment</h3>
292278
293279 < h2 class ="Test-describe "> < code > select</ code > </ h2 >
294280 < h3 class ="Test-it "> should not inherit < code > text-transform</ code > </ h3 >
295- < div class ="Test-run " style ="text-transform:uppercase ">
281+ < div class ="Test-run " style ="text-transform:uppercase; ">
296282 < select > < option > option</ option > </ select >
297283 </ div >
298284
@@ -313,7 +299,7 @@ <h3 class="Test-it">should have a <code>border-box</code> box model</h3>
313299
314300 # radio-box-model input {
315301 width : 100% ;
316- border : 5px solid # ADD8E6 ;
302+ border : 5px solid # add8e6 ;
317303 display : block;
318304 position : relative;
319305 }
@@ -336,13 +322,34 @@ <h3 class="Test-it">should display a default cursor for the decrement button's c
336322 < h2 class ="Test-describe "> < code > [type="search"]</ code > </ h2 >
337323 < h3 class ="Test-it "> should be styleable</ h3 >
338324 < div class ="Test-run ">
339- < input type ="search " style ="border:1px solid #ADD8E6; padding:10px; width:200px; ">
325+ < input type ="search " style ="border:1px solid #add8e6; padding:10px; width:200px; ">
326+ </ div >
327+
328+ < h2 class ="Test-describe "> < code > ::placeholder</ code > </ h2 >
329+ < h3 class ="Test-it "> placeholder should be styleable</ h3 >
330+ < div class ="Test-run ">
331+ < input type ="text " placeholder ="placeholder text " style ="color: blue; ">
340332 </ div >
341333
342- < h2 class ="Test-describe "> < code > [type=" file"] </ code > </ h2 >
334+ < h2 class ="Test-describe "> < code > :: file-upload-button </ code > </ h2 >
343335 < h3 class ="Test-it "> should be styleable</ h3 >
344336 < div class ="Test-run ">
345- < input type ="file " style ="border:1px solid #ADD8E6; padding:10px; width:200px; ">
337+ < input type ="file " style ="border:1px solid #add8e6; padding:10px; width:200px; ">
338+ </ div >
339+
340+ < h2 class ="Test-describe "> ::focus-inner, ::focusring</ h2 >
341+ < h3 class ="Test-it "> should not have extra inner padding in Firefox</ h3 >
342+ < div class ="Test-run " id ="button-input-padding ">
343+ < style >
344+ # button-input-padding button ,
345+ # button-input-padding input {
346+ padding : 10px 20px ;
347+ }
348+ </ style >
349+ < p > < button > button</ button > </ p >
350+ < p > < input type ="button " value ="input (button) "> </ p >
351+ < p > < input type ="reset " value ="input (reset) "> </ p >
352+ < p > < input type ="submit " value ="input (submit) "> </ p >
346353 </ div >
347354
348355 < h2 class ="Test-describe "> < code > details</ code > </ h2 >
@@ -353,7 +360,7 @@ <h3 class="Test-it">should display as block</h3>
353360
354361 < h2 class ="Test-describe "> < code > dialog</ code > </ h2 >
355362 < h3 class ="Test-it "> should be absolutely positioned</ h3 >
356- < div class ="Test-run " style ="position:relative;height:3em ">
363+ < div class ="Test-run " style ="position:relative; height:3em; ">
357364 < dialog open > dialog</ dialog >
358365 </ div >
359366
0 commit comments