Skip to content
Snippets Groups Projects
  1. Apr 24, 2020
  2. Apr 22, 2020
  3. Apr 10, 2020
  4. Apr 08, 2020
  5. Apr 07, 2020
  6. Mar 25, 2020
  7. Mar 11, 2020
  8. Mar 09, 2020
  9. Mar 05, 2020
  10. Mar 02, 2020
  11. Feb 27, 2020
  12. Feb 26, 2020
  13. Feb 23, 2020
  14. Feb 22, 2020
  15. Feb 21, 2020
  16. Feb 20, 2020
    • Andreas Geffen Lundahl's avatar
      Allow zero as offset on <anchor> and <focus> inside <selection> (#3491) · eb181f32
      Andreas Geffen Lundahl authored
      * Allow zero as offset on <anchor> and <focus> inside <selection>
      
      When creating a selection using the <selection> hyperscript tag, you couldn't
      set zero as offset on <anchor> and <focus>, because of a faulty falsiness
      check. This is fixed by checking if the offset is falsy and explicitly not zero.
      
      * Make sure offset can't be null or undefined on <anchor> and <focus>
      
      Throw exception when offset is strictly null or undefined, on <anchor> and
      <focus> when creating a <selection>.
      eb181f32
Loading