Fix #32: crash on empty <style> elements

`<style/>.text` is `None`, which raises an exception when passed to `parse_stylesheet()`.
Don't cast size() calls into floats