Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.3.1
Commits on Feb 13, 2012
  1. Joseph Pearson
  2. Joseph Pearson

    Adding column-fill:auto to pagination style rules.

    joseph authored
    This change is forced by Firefox 12:
    Which has been updated:
    To follow the W3C css-multicol specification for column-fill:
    I'm sure there's a good reason why the default value for column-fill is
    'balance', not 'auto', but it eludes me. Anyway, Monocle was broken in
    Firefox alpha releases -- this fixes it.
Commits on Feb 1, 2012
  1. Joseph Pearson
  2. Joseph Pearson

    Add webkit prefixes to moz-element-flipper CSS.

    joseph authored
    This is more in hope than anything. It could be a good test case if
    WebKit gets `element`.
  3. Joseph Pearson
Commits on Jan 31, 2012
  1. Joseph Pearson
Commits on Jan 30, 2012
  1. Joseph Pearson
  2. Joseph Pearson
  3. Joseph Pearson
Commits on Jan 27, 2012
  1. Joseph Pearson

    Fix offset bug when top-most body has margins/padding.

    joseph authored
    References #56 - "improve the touch/pointer coordinates calculations".
  2. Joseph Pearson

    Fixes for the stencil control.

    joseph authored
    The Stencil was broken in a few ways:
    - it wasn't processing the first component when added to reader
    - external links were being launched in new windows twice in some
    - it was occasionally processing the wrong component
Commits on Jan 20, 2012
  1. Joseph Pearson

    Force break-word to apply to component elements under iOS (fixes #70).

    joseph authored
    Huge thanks to @aronwoost for tracking down the cause of the problem,
    which was that apparently the order in which the CSS is applied is
    important. If an element has break-word, but the container doesn't have
    a width (and an absolute position), it does not apply. It still doesn't
    apply if the container later gets a width/position.
    The fix was to apply all the CSS at the same time.
Commits on Dec 25, 2011
  1. Joseph Pearson

    Test that slider setX is actually resulting in movement.

    joseph authored
    If it is, register the callback as usual to fire when transition
    completes. If it isn't, simply defer the callback.
    This fixes a pernicious little bug where slowly cancelling a page turn
    in the Slider would "lock" the page -- you couldn't turn it again
    without a jump.
Commits on Dec 13, 2011
  1. Joseph Pearson

    Stencil applies href to <a> immediately rather than on click.

    joseph authored
    Firefox (recently?) does not pick up changes to href in the click event.
  2. Joseph Pearson

    Don't reuse test frames.

    joseph authored
    As per previous commit, it's not really reliable.
Commits on Dec 2, 2011
  1. Joseph Pearson

    Reuse test frame src if content is identical.

    joseph authored
    This fixes the problem of Firefox issuing requests for 'undefined', so
    we can close #75. There is a question about whether this is the right
    approach -- it's faster, but if tests modify the dom/styles of the test
    frame, things get unpredictable...
  2. Joseph Pearson

    moveTo now dispatches a notfound event if given an invalid locus.

    joseph authored
    This is handy in a number of places, including search functionality.
  3. Joseph Pearson

    Several fixes for rendering in UIWebKit views.

    joseph authored
    Firstly, a bit more resilience against these views having weird UA
    strings. This has been tested in the Facebook iOS apps, where Monocle
    was breaking because it wasn't recognised as a WebKit browser.
    Secondly, UIWebKit apparently doesn't recognised the "about:blank" URL,
    so it was choking during the priming of frames. The little workaround is
    to direct UIWebKit frames to "blank.html" instead, which should just
    non-fatally 404 if there's nothing there. You could always put something
    there in this case. Refs #51.
Commits on Oct 17, 2011
  1. Joseph Pearson
  2. Joseph Pearson

    Merge pull request #66 from joseph/transitions

    joseph authored
    Smoother transitions and animation in more browsers. Fixes #2.
Commits on Oct 14, 2011
  1. Joseph Pearson
  2. Joseph Pearson
  3. Joseph Pearson
  4. Joseph Pearson

    Workaround for iPad's sticky slideOut.

    joseph authored
    Not much return for four hours work.
  5. Joseph Pearson
  6. Joseph Pearson

    Tidying a few Reader constants.

    joseph authored
    AbortMessage now supplanted by monocle:incompatible.
  7. Joseph Pearson
  8. Joseph Pearson

    Less ugly and less obtrusive Slider wait control.

    joseph authored
    I've always hated it. Now should only appear if the next page is
    actually taking a while to set (because it has a slight transition on
    the opacity, so near-zero setPage times shouldn't ever let the opacity
    reach 1). Need to test this on slower devices.
  9. Joseph Pearson

    Removing more superfluous defers and speeding successive turns.

    joseph authored
    There's no point stacking the various style changes successively -- all
    of them will be applied on the next defer. So, just ensure there is a
    single defer before announcing the page change.
    Also, we can make the slide faster if there's been another slide very
    recently -- the user is obviously paging through the book quickly; let's
    not get in their way.
  10. Joseph Pearson
  11. Joseph Pearson
  12. Joseph Pearson
  13. Joseph Pearson
  14. Joseph Pearson
  15. Joseph Pearson
Something went wrong with that request. Please try again.