mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-25 23:35:21 +02:00
Added TODO for IE9.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user