Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Closure Library v20160713

Compare
Choose a tag to compare
@MatrixFrog MatrixFrog released this 19 Jul 20:55

New Additions

  • Debug loader transpiler now provides WeakMap and WeakSet.
  • Make goog.html.sanitizer.CssSanitizer.sanitizeInlineStyle public.
  • Targets can now be removed from AbstractDragDrop.
  • Add goog.dom.createUntypedDom.
  • Add goog.html.sanitizer.HtmlSanitizer.Builder.onlyAllowTags which allows only whitelisting the provided tags.
  • Support goog.dom.TypedTagName in getElementsByTagNameAndClass.
  • Add some accessibility attributes (aria-*) to allowed html sanitizer whitelist.

Backwards Incompatible Changes

  • IeCorsXhrAdapter.responseText is now non-nullable.

Other Changes

  • Updated getContainerOffsetToScrollInto to support elements without offsetWidth or offsetHeight property (such as SVG elements).
  • Update JsTdTestCaseAdapter such that @Suppress {duplicate} annotations are actually considered by the compiler.
  • Remove deprecated goog.vec.Matrix3/Matrix4 classes in favor of goog.vec.Mat3/Mat4
  • Fix for JSTD adapter for browsers without native Promise.
  • Fix initializing of date with year < 100 in datepicker.
  • closure/i18n/compactnumberformatsymbols_ext.js has been renamed to closure/i18n/compactnumberformatsymbolsext.js
  • For slider and two thumbs slider: 1. For slider and two thumbs slider:
    TAB focus is set on the thumbs instead of the highlighted slider handle. 2. For two thumbs slider: Key events (HOME, END, LEFT arrow, RIGHT arrow...) interacts on the focused thumb (the start thumb or the end thumb) other than the highlighted slider handle.
  • Fix goog.testing.JsTdTestCaseAdapter support for conditional test cases.