Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 3, 2015
  1. Fixes #553 - another style of SVG fallback.

    This addresses any version of SVG fallback when one layer is set to
    none. It's not future proof though since:
    * it may bo none + sth
    * it may be an empty linear gradient
    Once we have #407 in place we'll be able to actually see which URL is
    a SVG and decide based on that.
  2. Fixes #558 - units in same selector merging.

    We apparently had a `joinAt` in wrong order so adjacent properties
    were not merged correctly when in compatibility mode.
  3. Fixes #551 - edge case in restructuring.

    There was a bug in restructuring algorithm which allowed properties
    to be moved too high up by using multi property moves.
    This commit changes the behavior to drop a multi-property move on
    a first occasion, i.e. when one of properties with different value
    is encountered.
Commits on Apr 28, 2015
  1. Fixes #550 - proper `contentSources` tracking.

    This is a quick fix so an exception is not thrown, but the real question
    will be how to preserve bootstrap maps as they are not tracked correctly due
    to `sourcesContent` having wrong (?) source data. See #557.
Commits on Apr 25, 2015
  1. Fixes #549 - keeping special comments in source maps.

    Since in source maps we restore content multiple times, the total
    important comment counter was not kept as a state thus handled
  2. Fixes #543 - better "comment in body" handling.

    So instead of keeping comments in a property list we get them out
    of every property.
    It is a bit tricky as comments escaped at the beginning need to be
    tracked and saved, but ones from the middle or end of the value has
    to be saved for later (see `innerProperties`) and tracked after the
    property even if they are moved before it.
    See tests for a better picture.
  3. Fixes #548 - regression in font minifying.

    Ah, you nasty font shorthand - we need #254.
Commits on Apr 24, 2015
  1. Fixes #546 - IE<11 `calc()` issue.

    So IE<11 does not support a space between calc() and whatever comes
    after it.
    There's gonna be a follow up with #547 in 3.3.
Commits on Apr 22, 2015
  1. Fixes #541 - outline-style auto in shorthand.

    Apparently two values that overlap between style and color are 'auto'
    and 'none'. We handled only the latter one correctly.
Commits on Apr 21, 2015
  1. Moves URL scanner into lib/urls/reduce.

    Was named incorrectly before.
  2. Moves URL rebasing & rewriting into lib/urls.

    After all those are not image-related anymore.
  3. Fixes #537 - regression in simple optimizer.

    Value minifiers do not work on many values at ones, so we need to
    check the position when doing minification for properties that allow
    more than one.
Commits on Apr 20, 2015
  1. Fixes #534 - wrong block stringifying.

    Flat blocks (`@font-face`) were omitted when adding optimization metadata,
    thus an important attribute was incorrectly added.
Commits on Apr 19, 2015
  1. Fixes #436 - refactors URI rewriting.

    Now it's way easier to understand.
  2. Version 3.2.0.

  3. Tweaks performance of multiproperty restructuring.

    We compare property names first then head to comparing a body which
    adds a stringify step.
  4. Improves multi-property restructuring.

    It is not perfect though as not all properties which should be
    moved are moved.
    The current output is valid but not optimal.
    See #533 for a follow up.
  5. Adds bootstrap to a reference list.

    It'd be easier to catch errors as bootstrap has a quite edgy CSS.
Commits on Apr 18, 2015
  1. Fixes #504 - keeping `url()` quotes.

    It's off by default.
    Kudos to @elcodedocle for inspiration.
Commits on Apr 17, 2015
  1. Fixes #524 - schedules subsequent inlining in next tick.

    We don't need to call `response.end()` as it's called automatically
    per spec:
    It may help solve the timeouts issue but certainly won't hurt.
Something went wrong with that request. Please try again.