qutebrowser/tests
Florian Bruhin 0293307d61 Remove adjust_zoom for webelem.rect_on_view
Previously, the drawn hint labels were affected by the zoom, i.e., they
were stretched out by QtWebKit and actually had to be drawn at the
unzoomed position.

The Python/C++ API gives us coordinated adjusted for zoom, so
we always *negatively* adjusted them to get the unzoomed coordinates.

JS gave us the original coordinates, so we stretched them out according
to the zoom if adjust_zoom was given (which means only when clicking a
link).

Now we always operate in term of display coordinates: The point where we
draw the hint label is equal to the point we're clicking.

Thus, the zoom level for javascript is always adjusted, and the Python
zoom level is never (negatively) adjusted.
2016-08-17 14:51:05 +02:00
..
end2end Merge branch 'issue1060' of https://github.com/haasn/qutebrowser into haasn-issue1060 2016-08-17 12:01:53 +02:00
helpers Remove no longer needed webelem methods 2016-08-17 14:44:49 +02:00
manual Move mouse handling to an EventFilter 2016-08-10 16:44:40 +02:00
unit Remove adjust_zoom for webelem.rect_on_view 2016-08-17 14:51:05 +02:00
conftest.py Automatically skip BDD tests on pytest 3.0 2016-08-05 14:36:32 +02:00
test_conftest.py tests: Allow XPASS for test_installed_package 2016-03-02 08:09:04 +01:00