mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Added TODO for IE9.
This commit is contained in:
parent
da40f061b4
commit
a06782ffb8
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo
|
|||
boundingWidth = element[0].offsetWidth
|
||||
boundingHeight = element[0].offsetHeight
|
||||
|
||||
// TODO: element is an object HTMLUnknownElement in IE9
|
||||
|
||||
// Developer error, let's try to reduce debug time
|
||||
if (!boundingWidth || !boundingHeight) {
|
||||
throw new Error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue