Skip to content
Permalink
Browse files

Update scroll to text feature detectability API

Update the feature detectability API to
window.location.fragmentDirective per
WICG/ScrollToTextFragment#19

Also updated web platform tests and confirmed tests pass.

Bug: 1000308
Change-Id: Ib2391abe3d142d57cea61840e721ed35c81089af
  • Loading branch information
nickburris authored and chromium-wpt-export-bot committed Oct 9, 2019
1 parent ce015c1 commit 0373809e0df379f17abb3719db2d4f3657db3f36
Showing with 2 additions and 2 deletions.
  1. +2 −2 scroll-to-text-fragment/scroll-to-text-fragment.html
@@ -24,8 +24,8 @@
];
test(t => {
assert_equals(typeof(window.location.selector), 'object', 'window.location.selector is defined');
}, 'Scroll to text is feature detectable via window.location.selector');
assert_equals(typeof(window.location.fragmentDirective), 'object', 'window.location.fragmentDirective is defined');
}, 'Scroll to text is feature detectable via window.location.fragmentDirective');
for (const test_case of test_cases) {
promise_test(t => new Promise(resolve => {

0 comments on commit 0373809

Please sign in to comment.
You can’t perform that action at this time.