0293307d61
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. |
||
---|---|---|
.. | ||
http | ||
network | ||
test_cache.py | ||
test_cookies.py | ||
test_history.py | ||
test_mhtml.py | ||
test_qt_javascript.py | ||
test_tabhistory.py | ||
test_webkitelem.py |