widgetsSeen is no longer an array
Take line classes into account for invalidating measurement caches
[test suite] Make test more robust in face of measure elements