All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix focus/blur events to be usable without wrapped
addEventListenerinnoPatchmode. (#502) - Add type annotations for JSCompiler to
eventPhaseproperty descriptor. (#473) - Allow event listener options to be specified using a function in addition to an object. (#469)
- The
eventPhaseproperty of events is now properly set toEvent.AT_TARGETwhen events are re-targeted to hosts of shadowRoots. (#469) - Adds an opt-out for polyfilling
element(s)FromPointondocumentvia settingShadyDOM.useNativeDocumentEFPtotrue. (#472) - In browsers where
EventTargetdoesn't exist,XMLHttpRequest.prototype'sEventTarget-like properties are now patched. In browsers where events'currentTargetis an own value property and Shady DOM needs to manually dispatch an event, Shady DOM will instead dispatch a new object having the original event as its prototype so that it can updatecurrentTargetwithout modifying the built-in property descriptor. (#519) - Add
ShadyDOM.querySelectorImplementationsetting. (#517) - Fix Closure types of
querySelector{,All}patches for internal conformance checks. (#526)
- Add
@thisannotation to newelementFromPointwrappers. (#464) - Adds
element(s)FromPointtodocumentandshadowRoot(#463) - Add TS externs. (#457)
- When
EventTarget.prototypeexists but is not in the prototype chain ofwindow, polyfill installation breaks. (#416)
- Implicitly coerce values passed to
createTextNodeto a string. (#401) - Add support for ChildNode APIs. (#390)
- Add support for select ParentNode APIs. (#389)
- Manually dispatch events for connected, unassigned targets, if
preferPerformanceis not enabled. (#332) - Remove outdated references to
customElements.nativeHTMLElement(#234) - Add README warning about polyfill ordering when using
noPatch(#179)
- Maintenance release (no user-facing changes)
- Correctly detect
slot.insertBeforeas requiring shadowRoot distribution (#267) - Gather event properties from the correct prototypes (#263)
- Fix case where user creates a global
customElementsobject for the sake of passing flags to the polyfill by only modifycustomElementsat load if it's aCustomElementRegistry(#235)