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.[
303303 [[% html " <div aria-hidden=true></div>" ]],
304304 [div ~a: [a_aria " hidden" [" true" ]] []] ;
305305
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+
306316 " touch events" ,
307317 [[% html " <div ontouchstart='alert()'></div>" ]],
308318 [div ~a: [a_ontouchstart " alert()" ] []] ;
You can’t perform that action at this time.
0 commit comments