Skip to content
Permalink
master

Commits on Mar 30, 2020

  1. Build: Remove the version field from the bower.json file

    jquery-release only updates the version in the tag so it stays stale on master.
    Instead, just remove the version from there.
    
    Closes gh-469
    mgol committed Mar 30, 2020

Commits on Mar 13, 2020

  1. Build: Updating the master version to 2.3.6-pre.

    mgol committed Mar 13, 2020

Commits on Mar 2, 2020

  1. Release: Make Sizzle work with jquery-release, remove generated files

    Running `grunt` will now just build Sizzle, do a size comparison & run ESLint,
    similarly to what we do in jQuery. `grunt test` is used to run unit tests and
    it requires running `grunt` or `grunt build` before to generate the built
    Sizzle version.
    
    Fixes gh-239
    Closes gh-467
    mgol committed Mar 2, 2020

Commits on Feb 28, 2020

  1. Release: Update AUTHORS.txt

    mgol committed Feb 28, 2020

Commits on Oct 21, 2019

  1. Selector: Make empty attribute selectors work in IE 11/Edge again

    qSA in IE 11/Edge often (but not always) don't find elements with an empty
    name attribute selector (`[name=""]`). Detect that & fall back to Sizzle
    traversal.
    
    Interestingly, IE 10 & older don't seem to have the issue.
    
    Closes gh-461
    Fixes jquery/jquery#4435
    mgol committed Oct 21, 2019
  2. Selector: Throw on post-comma invalid selectors in Opera 10-11 again

    PR gh-456 introduced a test catching not throwing on badly-escaped identifiers
    by Firefox 3.6-5. Unfortunately, it was placed just before a test Opera 10-11
    fails, making Opera fail quicker and not adding a post-comma invalid selector
    to rbuggyQSA.
    
    This commit fixes the regression & introduces a unit test ensuring the throwing.
    Unfortunately, the issue is fixed in Opera 11.6 which is the lowest one Sizzle
    officially supports but I verified the fix manually against Opera 10.6, 11.1
    & 11.5.
    
    Closes gh-463
    Ref gh-456
    mgol committed Oct 21, 2019
  3. Tests: Test for Shadow DOM v1 support

    There was a test for Shadow DOM nodes working as root but it was using Shadow
    DOM v0 that only Chromium implements and which it plans to remove in the future.
    The test was reworked to rely on Shadow DOM v1.
    
    jQuery master already uses the new API in its tests.
    
    Closes gh-464
    mgol committed Oct 21, 2019

Commits on Oct 15, 2019

  1. Build: Update tested browsers, test on Edge 15-18 instead of just 17-18

    Closes gh-462
    mgol committed Oct 15, 2019

Commits on Oct 14, 2019

  1. Selector: Make selectors with leading combinators use qSA again

    An optimization added in #431 skips the temporary IDs for selectors
    not using child or descendant combinators. For sibling combinators, though, this
    pushes a selector with a leading combinator to qSA directly which crashes and
    falls back to a slower Sizzle route.
    
    This commit makes selectors with leading combinators not skip the selector
    rewriting. Note that after jquery/jquery#4454 & #453, all modern
    browsers other than Edge leverage the :scope pseudo-class, avoiding temporary
    id attributes.
    
    Closes gh-460
    Ref gh-431
    mgol committed Oct 14, 2019

Commits on Oct 10, 2019

  1. Selector: Leverage the :scope pseudo-class where possible

    The `:scope` pseudo-class[1] has surprisingly good browser support: Chrome,
    Firefox & Safari have supported if for a long time; only IE & Edge lack support.
    This commit leverages this pseudo-class to get rid of the ID hack in most cases.
    Adding a temporary ID may cause layout thrashing which was reported a few times
    in [the past.
    
    We can't completely eliminate the ID hack in modern browses as sibling selectors
    require us to change context to the parent and then `:scope` stops applying to
    what we'd like. But it'd still improve performance in the vast majority of
    cases.
    
    [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:scope
    
    Fixes jquery/jquery#4453
    Closes gh-453
    Ref jquery/jquery#4454
    Ref jquery/jquery#4332
    Ref gh-405
    mgol committed Oct 10, 2019

Commits on Oct 1, 2019

  1. Selector: Use shallow document comparisons to avoid IE/Edge cras… (#459)

    IE/Edge sometimes crash when comparing documents between frames using the strict
    equality operator (`===` & `!==`). Funnily enough, shallow comparisons
    (`==` & `!=`) work without crashing.
    
    Fixes jquery/jquery#4441
    Closes gh-459
    Ref jquery/jquery#4471
    mgol committed Oct 1, 2019

Commits on Aug 21, 2019

  1. Build: Split iOS tests into two sets to improve reliability

    The Karma version currently used by Sizzle often re-runs tests in all browsers
    from the current browser set if one of them fails. To improve reliability, split
    iOS into two browser sets similarly to how desktop browsers & Android are split.
    
    Closes gh-457
    mgol authored and gibson042 committed Aug 21, 2019
  2. Build: Run Karma tests sequentially in separate processes + other imp…

    …rovements
    
    Sizzle hasn't been able to finish all its unit tests successfully for a long time. This commit attempts to make it work again (at least most of the time).
    
    Summary of the changes:
    1. A new "karma-tests" task is created; it runs tests in various browser sets
    but does it sequentially in separate processes to avoid Karma bugs that cause
    browsers from previous sets to somehow still be waited on during subsequent
    runs, failing the build.
    2. Upgrade tested browsers.
    3. Run iOS tests at the end (as it fails more often than other browsers).
    4. Use real iOS 10.3 device in Karma.
    
    We can't upgrade Karma as the latest version (`4.2.0`) hangs in IE 7 (IE 8 seems to work fine there).
    
    Closes gh-455
    mgol committed Aug 21, 2019

Commits on Aug 20, 2019

  1. Selector: Detect incorrect escape handling by old Firefox

    According to:
    https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
    the escape doesn't need to be followed by a whitespace only if it's not a hex
    digit or a newline. However, old Firefox (3.6 - 5 only) doesn't throw if an
    escaped newline is not followed by a space. Fallback to Sizzle in such cases.
    
    Fixes gh-454
    Closes gh-456
    mgol committed Aug 20, 2019

Commits on Aug 19, 2019

  1. Build: Remove xvfb usage from Travis, run tests on Node.js 12

    Closes gh-451
    mgol authored and gibson042 committed Aug 19, 2019
  2. Selector: Allow whitespace after hex escapes in CSS identifiers

    gibson042 committed Aug 19, 2019

Commits on May 29, 2019

  1. Build: Update eslint-config-jquery, fix violations, fix the build task

    Newest eslint-config-jquery requires prefixing unused function parameters with
    and underscore; that has been done. The build Grunt task was also fixed to lint
    the built Sizzle version only after it's built.
    
    Ref gh-442
    mgol committed May 29, 2019
  2. Build: Switch from JSHint & JSCS to ESLint

    Fixes gh-438
    Closes gh-442
    JuanMaRuiz authored and mgol committed May 29, 2019

Commits on Apr 9, 2019

  1. Core: Throw a better error when documentElement is missing

    Closes gh-439
    dangkyokhoang authored and gibson042 committed Apr 9, 2019

Commits on Apr 8, 2019

  1. Release: Fix AUTHORS.txt

    gibson042 committed Apr 8, 2019
  2. Release: Remove version-specific changelog from master branch

    gibson042 committed Apr 8, 2019
  3. Build: Updating the master version to 2.3.5-pre.

    gibson042 committed Apr 8, 2019
  4. Release: Update version to 2.3.4

    gibson042 committed Apr 8, 2019
  5. Build: Update dependencies

    Closes gh-446
    gibson042 committed Apr 8, 2019

Commits on Jan 14, 2019

  1. Selector: Stop using innerText in :contains

    Also, test raw whitespace handling of :contains matching
    
    Fixes gh-335
    Closes gh-437
    gibson042 authored and mgol committed Jan 14, 2019
  2. Misc: Update isXML to recognize HTML-embedded elements

    Fixes gh-378
    Closes gh-436
    gibson042 authored and mgol committed Jan 14, 2019
  3. Build: Update tested browsers, fix iOS configuration

    Firefox, Chrome, Edge & Opera have been updated.
    
    iOS 12.0 stopped working but there's a working 12.1 available so I switched
    to that one.
    mgol committed Jan 14, 2019
  4. Release: Add jquery-release script

    Ref gh-239
    Ref gh-308
    Closes gh-433
    gibson042 authored and mgol committed Jan 14, 2019

Commits on Nov 4, 2018

  1. Core: Reduce size

    gibson042 committed Nov 4, 2018
  2. Core: Avoid unnecessary pre-qSA DOM manipulation

    Fixes gh-430
    Closes gh-431
    wartmanm authored and gibson042 committed Nov 4, 2018

Commits on Nov 1, 2018

  1. Build: Fix config for iOS 11.4 & 12.0, re-enable testing in them

    Closes #434
    sd5869 authored and mgol committed Nov 1, 2018

Commits on Oct 25, 2018

  1. Tests: Fix speed/index.html dependencies

    Closes #419
    ameshkov authored and mgol committed Oct 25, 2018
  2. Build: Update tested browsers

    Closes #432
    mgol committed Oct 25, 2018
  3. Build: Update package-lock.json

    mgol committed Oct 25, 2018
Older
You can’t perform that action at this time.