What’s New

css-what v5.0.0

v5.0.0
Added
  • Support s flag in attribute selectors for case-insensitive matching
  • Allow space after attribute selector modifier
  • Ignore comments around selectors
Changed
  • ignoreCase on attributes now respects the s flag and default values as per HTML spec when not in xmlMode
Fixed
  • Incorrect handling of elemental selector without a namespace

New Features:

  • ignoreCase on attributes now respects the s flag, as well as default values as per HTML spec (unless you are in xmlMode).
    • Infer ignoreCase as per HTML spec (#444 by @fb55) 0f4210c
    • Allow space after attribute selector modifier (#393 by @Semigradsky) a334fa3
    • Support s identifier in attribute selectors (#387 by @Semigradsky) 7a41152
  • Ignore comments around selectors (#441 by @fb55) fc91ba1

Bug fixes:

  • Incorrect handling elemental selector without a namespace (#394 by @Semigradsky) 3215f5a
View original