Click here to download the Blitz Browser!

WPT

wpt / scroll-to-text-fragment / scroll-to-text-fragment.html

Spec: URL Fragment Text Directives ↗

Runs: Chrome 155.0.8039.0 (wpt@2a20f1bd6, 2026-09-03) | Firefox 157.0a1 (wpt@b861d4d9d, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total1/4444/4442/441/441/44NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Test navigation with fragment: Empty hash should scroll to top.PASSPASSPASSPASSPASS
Test navigation with fragment: Text directive with invalid syntax (context terms without "-") should not parse as a text directive.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive with invalid syntax (only prefix, no start text) should not parse as a text directive.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive with invalid syntax (only suffix, no start text) should not parse as a text directive.FAILPASSPASSFAILFAIL
Test navigation with fragment: Generic fragment directive with existing element fragment should scroll to element.FAILPASSPASSFAILFAIL
Test navigation with fragment: Uppercase TEXT directive should not parse as a text directive.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with no context should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Case-insensitive search with no context should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with prefix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with suffix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with prefix and suffix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with prefix and suffix and query equals prefix..FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with no context should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with prefix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with suffix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with prefix and suffix should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with non-matching endText should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with non-matching startText should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with prefix and nonmatching suffix should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text range with nonmatching prefix and matching suffix should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: Exact text with percent encoded spaces should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Non-whole-word exact text with spaces should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: Fragment directive with percent encoded syntactical characters "&,-" should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Fragment directive with percent encoded non-ASCII unicode character should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Fragment directive with all TextMatchChars should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple matching exact texts should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple non-whole-word exact texts should not match.FAILPASSPASSFAILFAIL
Test navigation with fragment: A non-matching text directive followed by a matching text directive should match and scroll into view the second text directive.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive followed by non-text directive should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple text directives and a non-text directive should match text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive with existing element fragment should match and scroll into view text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive with nonexistent element fragment should match and scroll into view text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Non-matching text directive with existing element fragment should scroll to element.FAILPASSPASSFAILFAIL
Test navigation with fragment: Non-matching text directive with nonexistent element fragment should not match and not scroll.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple match text directive disambiguated by prefix should match the prefixed text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple match text directive disambiguated by suffix should match the suffixed text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Multiple match text directive disambiguated by prefix and suffix should match the text with the given context.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive should match when context terms are separated by node boundaries.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive should match text within shadow DOM.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive should not scroll to hidden text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive should not scroll to display none text.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive should horizontally scroll into view.FAILPASSFAILFAILFAIL
Test navigation with fragment: Text directive should horizontally scroll into view within a wide line.FAILPASSPASSFAILFAIL
Test navigation with fragment: Text directive that spans a range larger than the viewport should scroll the start into view.FAILPASSFAILFAILFAIL