I wonder if the same bug also exists in Watir. Anyone cares to try?

Jarmo


---------- Forwarded message ----------
From: GitHub <[email protected]>
Date: Thu, Sep 30, 2010 at 5:58 AM
Subject: [GitHub] Legal attribute name fix [bret/watir GH-5]
To: [email protected]


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
few people.

Unfortunately, current code will fail, interpreting
attribute_value("foo-bar") as "foo - bar".

This has now been fixed and (more importantly) unit tested.

Thank you,
Alan Shields

View Pull Request: http://github.com/bret/watir/pull/5
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to