Feature test for position:fixed support solves failing test in Windows Phone. Runs as expected in FF, Safari, Chrome on OS X and IE7+.
Setting position: fixed in Win Phone yields strange results:
element.getStyle('position') === 'fixed'
element.style.position === 'fixed'
element.currentStyle.position === 'absolute'
This was causing getOffsetParent() to return an empty div instead of null in this test.
Fixes #2396. Feature check for position:fixed support to solve failin…
…g test in Win Phone.
I should add, with this check in place, Windows Phone 7 passes all core-1.4 Specs.
just out of curiosity, does this happen on WP7 pre-Mango or on the current Mango/Tango release?
Happens on the current WP7 release.
Could you help us and run the latest specs against windows phone?
@brianedgerton once again, can you help us run the latest specs against your windows phone?
Sorry, I'm not not working on WP any more and do not have the environment set up.
Thanks. I'm giving a week deadline on this and closing if ages further. Don't have WP access either.