WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.66k stars 80 forks source link

Add `urlAttribute` helper that uses `baseURI` (used for `href`, `src` etc.) #154

Open danburzo opened 2 years ago

danburzo commented 2 years ago

Fixes #153 by adding an urlAttribute helper to use in IDL properties that need to reflect HTML attributes representing an URL, such as HTMLAnchorElement.href, HTMLImageElement.src, etc.