[Wtr-development] Fwd: [GitHub] Legal attribute name fix [bret/watir GH-5]
jarmo.p at gmail.com
Thu Oct 7 13:38:26 EDT 2010
I wonder if the same bug also exists in Watir. Anyone cares to try?
---------- Forwarded message ----------
From: GitHub <noreply at github.com>
Date: Thu, Sep 30, 2010 at 5:58 AM
Subject: [GitHub] Legal attribute name fix [bret/watir GH-5]
To: jarmo.p at gmail.com
alanshields wants someone to pull from alanshields:attribute_js_fix:
HTML5 allows arbitrary attributes on elements provided that the
attribute begins with "data-". Even before HTML5, this was done by a
Unfortunately, current code will fail, interpreting
attribute_value("foo-bar") as "foo - bar".
This has now been fixed and (more importantly) unit tested.
View Pull Request: http://github.com/bret/watir/pull/5
More information about the Wtr-development