Gerben
7d656975d2
Add ISC licence
3 years ago
Gerben
1041f037a0
Tweak comments
3 years ago
Gerben
11d2ed31b4
Consistently capitalise type names
4 years ago
Gerben
da527a3a3e
Update to spec version of 25 October 2020
4 years ago
Gerben
85526115a7
Update to spec version of 22 October 2020
Incorporates my contribution that removes the word boundary requirement
after the prefix and before the suffix; see PR #148 :
<https://github.com/WICG/scroll-to-text-fragment/pull/148 >
4 years ago
Gerben
845e64d684
Update to spec version of 28 August 2020
Includes my suggestions and corrections of PR #136 :
<https://github.com/WICG/scroll-to-text-fragment/pull/136 >
4 years ago
Gerben
3bb89f1807
Remove outdated non-implementations of §3.4
4 years ago
Gerben
2a8ddb51f8
Use publish-to-git, update Readme
4 years ago
Gerben
828d9301a1
Split index.ts & export all definitions.
Split into one file per spec; each file exports all its definitions.
4 years ago
Gerben
2d4d2afb5c
Trigger polyfill for page-local links
Chromium’s implementation currently does not trigger when clicking links
pointing to quotes within the same page. As a workaround, listen to link
clicks, and activate the polyfill when a link points to a fragment within
the same page.
4 years ago
Gerben
acdf88153c
Export applyFragDir() for browser console use.
4 years ago
Gerben
08cd7a7d0f
Add example with multiple targets to demo.
As the polyfill uses the window’s selection to highlight the target(s),
this only works in Firefox, as other browsers do not support selections
having multiple ranges.
4 years ago
Gerben
e874b90e91
Fix feature detection in demo (support old spec)
4 years ago
Gerben
484ef3bd45
Update to spec version of 13 August 2020
Moves window.location.fragmentDirective to document.fragmentDirective
4 years ago
Gerben
67ed705b1a
Initial implementation, polyfill, demo
Based on the Text Fragments draft spec version of 12 Aug 2020.
4 years ago
Gerben
41dedafda3
Initial (empty) commit.
4 years ago