No hover behavior occurs in (e.g.) HTML5 themes using <aside> tags for blocks and <article> tags for nodes.

The problem is simply a CSS selector issue (CSS selectors assume blocks and nodes are divs).

See also #1013920: Context in place editor breaks with HTML5 themes.

CommentFileSizeAuthor
#1 contextual.1017718.patch1.15 KBadamdicarlo

Comments

adamdicarlo’s picture

Status: Needs review » Active
StatusFileSize
new1.15 KB

Here's a patch that fixes the problem.

I've tested this on a subtheme of boron_zen, and on a non-HTML5 theme (a Zen sub-sub-theme).

This patch makes the selectors slightly looser. The changes:

  • div.block → .block
  • div.node → .node

Edit: Blocks in these HTML5 themes are actually <section> tags, not aside. (This doesn't affect the patch, though.)

adamdicarlo’s picture

Status: Active » Needs review
philbar’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -html5

Automatically closed -- issue fixed for 2 weeks with no activity.