File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,16 @@ let attribs = "ppx attribs", HtmlTests.make Html.[
303
303
[[% html " <div aria-hidden=true></div>" ]],
304
304
[div ~a: [a_aria " hidden" [" true" ]] []] ;
305
305
306
+ " microdata attributes" ,
307
+ [[% html " <dl itemscope itemtype='https://md.example.com/track https://md.example.com/lighting'><dt>Name</dt><dd itemprop='name'>Turnout Lantern Kit</dd></dl>" ]],
308
+ [dl
309
+ ~a: [a_itemscope () ; a_itemtype [" https://md.example.com/track" ; " https://md.example.com/lighting" ]]
310
+ [
311
+ dt [ txt " Name" ];
312
+ dd ~a: [a_itemprop " name" ] [ txt " Turnout Lantern Kit" ];
313
+ ]] ;
314
+
315
+
306
316
" touch events" ,
307
317
[[% html " <div ontouchstart='alert()'></div>" ]],
308
318
[div ~a: [a_ontouchstart " alert()" ] []] ;
You can’t perform that action at this time.
0 commit comments