pub fn resolve_nav_target(
base_is_https: bool,
base_host: &str,
base_path: &str,
href: &str,
) -> NavTargetExpand description
遷移先 href を、現在のページ(base_is_https・base_host・base_path)を基準に解決する。
対応: 絶対 http(s)://、about:、#素片、//host/path、/絶対パス、?query、
foo.html・./foo.html・../x/foo.html。
【2026-11-17】従来の navigate_to_href は「. を含み / を含まない相対 URL」を
ホスト名として扱い、location.href = "mini.html" が http://mini.html/ へ飛んでいた。