Implement link click navigation (Phase 17)
Add click-to-navigate support for <a href="..."> elements. When a user
clicks on a link (or any element nested inside an anchor), the browser
resolves the href against the current page's base URL and navigates to
the target page.
Changes:
- Add base_url field to PageState for relative URL resolution
- Add find_ancestor_anchor() to walk DOM ancestors for <a href>
- Add navigate_to_link() to resolve URLs and trigger page loads
- Modify handle_mouse_down() to detect link clicks before label delegation
- Fix form submission to use actual page base URL instead of about:blank
- Skip javascript: and fragment-only (#) hrefs gracefully
- Add 7 unit tests covering anchor detection and URL resolution
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>