Contributions
VisibleOnScreen different behavior for Firefox&IE vs. Chrome
Hi, I run into trouble using the property VisibleOnScreen for a cell in a table. Different browsers reported different booleans...even if the website is rendered identicial. 12 Cells should be visible; Firefox and IE are reporting the property VisibleOnScreen oftable.Cell(12,0) is false (using method checkProperty/getPropertyValue & debug local watch element). Chrome is reporting the property VisibleOnScreen of table.Cell(12,0) is false (debug local watch element) and true (if using methodcheckProperty/getPropertyValue). So Firefox and IE are correct and consistent. Chrome (or your plugin) is behaving really strange. If I to something like this "var test = table.Cell(12,0)" and do a breakpoint there, I will find in the watcher-view that the VisibleOnScreen property is false (as it should). If I do in the next line "var test1 = aqObject.getPropertyValue(table.Cell(12,0), "VisibleOnScreen)" I will get true...which is wrong. And it is not changing in this moment (because if I do"var test1 = table.Cell(12,0)" after both lines, it is still false). For cell 13 all browers report false. The parent element of cell 12 has a height of 215 and cell 12 has an offset of 215. So we are discussing one pixel and I guess your implementation for the different browsers are desciding differently in this case. I understand that (still an error in my point of view), but what I do not understand is the different property value depending how you access the property... Hope you can help me, best regards Ben650Views0likes1Comment