Skip to content

August 2019 bugfixes

Choose a tag to compare

@g105b g105b released this 14 Aug 14:42
· 104 commits to master since this release

No new features in this release, just a selection of bugfixes and improvements.

  1. Fix problem where attribute value contains comma - it's possible to use a CSS selector that contains a comma in the actual selector. Previously the CSS to XPath translator was splitting queries based on the comma character with no context as to where the comma appeared in the string. This improvement checks to see if the comma is within a quoted string, and if so, treats it as part of a selector.
  2. Test innerHTML does not encode JSON with HTML encoding - Harden tests around unicode support with the innerHTML property.
  3. Default value getter/setter property - The value property of Elements should behave differently if the element can represent a value, such as input, option, etc. This change improves the use of shorthand value property, rather than having to use getAttribute/setAttribute.