Mithril + Custom Elements

Version: 2.2.2
Browser: Chrome Headless 126.0.6478.126 (Linux x86_64)
Timestamp: 7/13/2024, 12:28:57 AM

16 tests / 0 errors / 0 failures / 0 skipped / runtime: 0.123s

basic support

no children

can display a Custom Element with no children
Passed in 0.03s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.001s

with children

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.013s

with children

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.017s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.001s

attributes and properties

will pass numeric data as either an attribute or a property
Passed in 0s

attributes and properties

will pass string data as either an attribute or a property
Passed in 0s

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.011s

advanced support

attributes and properties

will pass array data as a property
Passed in 0s

attributes and properties

will pass object data as a property
Passed in 0.001s

attributes and properties

will pass object data to a camelCase-named property
Passed in 0s

events

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.005s

events

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.004s

events

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.005s

events

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.011s

events

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.024s

Version: 2.2.2
Browser: FirefoxHeadless
Timestamp: 7/13/2024, 12:29:07 AM

16 tests / 0 errors / 0 failures / 0 skipped / runtime: 0.101s

basic support

no children

can display a Custom Element with no children
Passed in 0.017s

with children

can display a Custom Element with children in a Shadow Root
Passed in 0.009s

with children

can display a Custom Element with children in a Shadow Root and pass in Light DOM children
Passed in 0.011s

with children

can display a Custom Element with children in the Shadow DOM and handle hiding and showing the element
Passed in 0.024s

attributes and properties

will pass boolean data as either an attribute or a property
Passed in 0.001s

attributes and properties

will pass numeric data as either an attribute or a property
Passed in 0.001s

attributes and properties

will pass string data as either an attribute or a property
Passed in 0s

events

can imperatively listen to a DOM event dispatched by a Custom Element
Passed in 0.002s

advanced support

attributes and properties

will pass array data as a property
Passed in 0.001s

attributes and properties

will pass object data as a property
Passed in 0.001s

attributes and properties

will pass object data to a camelCase-named property
Passed in 0s

events

can declaratively listen to a lowercase DOM event dispatched by a Custom Element
Passed in 0.019s

events

can declaratively listen to a kebab-case DOM event dispatched by a Custom Element
Passed in 0.002s

events

can declaratively listen to a camelCase DOM event dispatched by a Custom Element
Passed in 0.004s

events

can declaratively listen to a CAPScase DOM event dispatched by a Custom Element
Passed in 0.005s

events

can declaratively listen to a PascalCase DOM event dispatched by a Custom Element
Passed in 0.004s