MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / test_pseudo_class

Function test_pseudo_class

css-inline/src/html/document.rs:579–582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

577
578 #[test]
579 fn test_pseudo_class() {
580 let output = roundtrip(b"<!DOCTYPE html><html><head><title>Title of the document</title><style>h1:hover { color:blue; }</style></head><body><h1>Hello world!</h1></body></html>");
581 assert_eq!(output, b"<!DOCTYPE html><html><head><title>Title of the document</title></head><body><h1>Hello world!</h1></body></html>");
582 }
583
584 #[test]
585 fn test_comment() {

Callers

nothing calls this directly

Calls 1

roundtripFunction · 0.85

Tested by

no test coverage detected