* Cross-browser: Improve selector engine to accomodate recent changes
in Safari and the cross-browser differences that introduces around `:has()`.
Note that the built-in `querySelectorAll()` sometimes throws
exceptions, which jQuery avoids from affecting your code.
* Cross-browser: Ensure that `$el.css('--some-variable')`
when the value is an empty string, returns undefined. Including in
current versions of Firefox and last years versions of Chrome, which
behave non-standardly.
https://github.com/jquery/jquery/pull/5120
* Cross-browser: Avoid crash in Safari 16 when using `<template>`
elements, due to change in document.adoptNode() behaviour.
* Optimise size of various methods by removing code for obsolete browser
versions. Primarily, removal/inlining of Sizzle engine, and removal
of old code for Firefox versions that behaved differently around
SVG or XML elements.
About 4KB smaller in decoded size for JS parsing.
About 2KB smaller in transfer size.
* Optimise runtime of first `$()` call by removing obsolete support.
* Optimise manipulation methods like `append()`.
* Optimise focus events by using native events when possible/reliable.
Highlights from
https://blog.jquery.com/2022/12/13/jquery-3-6-2-released/
https://blog.jquery.com/2022/12/20/jquery-3-6-3-released-a-quick-selector-fix/
https://blog.jquery.com/2023/03/08/jquery-3-6-4-released-selector-forgiveness
https://blog.jquery.com/2023/05/11/jquery-3-7-0-released-staying-in-order/
https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/
Change-Id: I144069ce80127692b5c0ff91c4e55383f4013e2f
|
||
|---|---|---|
| .. | ||
| jquery.js | ||