I think I've run into an issue with Eco and the new HTML formaction attribute when applied to button elements. This attribute overrides the closest parent form's own action whenever specified in supported browsers. But if my button happens to contain another element (<strong> in my case), the attribute no longer has an effect in Chrome 14 or Safari 5.1 when rendered from an Eco template. If I remove the <strong> it works. Firefox 6 works either way.
<strong> is supported "phrasing content" and the button works properly outside of the Eco template. So maybe it's something to do with the WebKit DOM implementation?
I think I've run into an issue with Eco and the new HTML
formaction
attribute when applied tobutton
elements. This attribute overrides the closest parent form's ownaction
whenever specified in supported browsers. But if mybutton
happens to contain another element (<strong>
in my case), the attribute no longer has an effect in Chrome 14 or Safari 5.1 when rendered from an Eco template. If I remove the<strong>
it works. Firefox 6 works either way.<strong>
is supported "phrasing content" and the button works properly outside of the Eco template. So maybe it's something to do with the WebKit DOM implementation?