diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-03-31 23:52:54 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-04-01 00:19:24 +0200 |
commit | f35986c5fd0952b6d4af28c9a9ea31e36b245be2 (patch) | |
tree | 13e528c3d34ad1e44e9aebc2b9cc06c8c91e3c4b /xul-ext/defaults/preferences | |
parent | fd4b9def8664e311d24c2ade3a7fb80085fd84b0 (diff) |
Consider "invisible" forms with visible fields.
A form can have a width/height of 0 even though its fields are visible
in the browser. E.g., http://www.lenson.com
document.forms[0].getBoundingClientRect();
{ bottom: 196, height: 0, left: 37, right: 208, top: 196, width: 171, x: 37, y: 196 }
document.forms[0][0].getBoundingClientRect();
{ bottom: 448, height: 22, left: 60, right: 196, top: 426, width: 136, x: 60, y: 426 }
document.forms[0][1].getBoundingClientRect();
{ bottom: 495, height: 22, left: 60, right: 196, top: 473, width: 136, x: 60, y: 473 }
Diffstat (limited to 'xul-ext/defaults/preferences')
0 files changed, 0 insertions, 0 deletions