1. 15 Aug, 2018 1 commit
  2. 10 Aug, 2018 11 commits
  3. 08 Aug, 2018 4 commits
  4. 02 Aug, 2018 7 commits
  5. 01 Aug, 2018 1 commit
    • Dan Siddoway's avatar
      Use a pointer cursor for highlights · 0c098fd7
      Dan Siddoway authored
      The `annotator-hl` class contains a `cursor: pointer;` rule already, but
      it only applies to mobile devices (more precisely, devices which lack a
      sufficiently accurate primary pointer, like a mouse). I simply removed
      this restriction so that the rule applies across the board.
      
      Closes: hypothesis/product-backlog#703
      0c098fd7
  6. 31 Jul, 2018 1 commit
    • Robert Knight's avatar
      Create annotation when clicking "Annotate" button label · 61199437
      Robert Knight authored
      Fix a bug where clicking on the text "Annotate", as opposed to the icon,
      of the Annotate button would result in a highlight being created.
      
      When clicking on the text, `event.target` was the "Annotate" `<span>`
      instead of the `<button>` and so the `isAnnotateCommand` test failed.
      61199437
  7. 17 Jul, 2018 2 commits
  8. 12 Jul, 2018 1 commit
  9. 10 Jul, 2018 4 commits
  10. 09 Jul, 2018 1 commit
  11. 27 Jun, 2018 1 commit
  12. 14 Jun, 2018 6 commits
    • Robert Knight's avatar
      Avoid trying to load non-existent image URLs in tests · 67de0747
      Robert Knight authored
      Fix 404 warnings from headless Chrome during tests caused by trying to
      load non-existent image URLs in the anchoring regression tests.
      67de0747
    • Robert Knight's avatar
      Fix iframe test in Chrome · 70a72128
      Robert Knight authored
      The previous method of setting the `__hypothesis_frame` property on the
      Window did not work. I haven't investigated in detail why, but the
      alternate method of setting this property used here works instead.
      70a72128
    • Robert Knight's avatar
      Disable native Shadow DOM methods for test element · 5c29bd9b
      Robert Knight authored
      Fix adder toolbar tests in browsers (eg. Chrome) which natively support
      Shadow DOM v1. The test for Shadow DOM v0 failed because the implementation
      feature-detected and used the Shadow DOM v1 method
      `Element.prototype.attachShadow` instead.
      
      Fix the issue by patching the test element to hide the native Shadow DOM
      methods if they exist.
      5c29bd9b
    • Robert Knight's avatar
      Add missing `uri` properties to annotation fixtures in test · 10eef00e
      Robert Knight authored
      `uri` is a mandatory property of actual annotations. The absence was
      causing some tests to fail in Chrome due to the URL constructor being
      called with `undefined`.
      10eef00e
    • Robert Knight's avatar
      Fix timestamp component test in Chrome · 756d39ba
      Robert Knight authored
      `toLocaleTimeString()` in Chrome produces an `hh:mm:ss` output on my
      system whereas the rendered timestamp only has `hh:mm`.
      
      Re-using `format` from date-util avoids this hazard.
      756d39ba
    • Robert Knight's avatar
      Fix incorrect usage of DOM APIs in tests · acc04671
      Robert Knight authored
      Add missing arguments to `Element#setAttribute` and
      `Selection#collapse`.
      
      PhantomJS allowed these missing arguments but other browsers, eg.
      Chrome, do not.
      acc04671