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

Function use_builder

css-inline/tests/test_inlining.rs:1031–1039  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1029
1030#[test]
1031fn use_builder() {
1032 let url = Url::parse("https://api.example.com").unwrap();
1033 let _ = CSSInliner::options()
1034 .keep_style_tags(true)
1035 .base_url(Some(url))
1036 .load_remote_stylesheets(false)
1037 .extra_css(Some("h1 {color: green}".into()))
1038 .build();
1039}
1040
1041#[test]
1042fn inline_to() {

Callers

nothing calls this directly

Calls 6

parseFunction · 0.85
extra_cssMethod · 0.80
base_urlMethod · 0.80
keep_style_tagsMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected