Skip to content

winetest: Use "display: block;" to expand the links.

Esme Povirk requested to merge madewokherd/tools:displayblock into master

40748a90 caused problems for shortcuts like ctrl+click to open the link in a new tab. The onclick handler would trigger, resulting in the link opening in both a new tab and the current tab.

This approach does not interfere with ctrl+click and has the further advantage of expanding the hitbox regardless of how one interacts with the link. Other examples are right-click to get a context menu and hovering to see the title.

I do not have a setup to test the actual code changes, but I did test the behavior of the style attribute through web inspector.

Merge request reports

Loading