Menu

#165 class-attribute value incorrect [cobra 0.98.4]

open
nobody
None
5
2010-01-18
2010-01-18
Anonymous
No

When a HTML element specifies a class attribute indicating multiple CSS classes, f.e.: <a class="a b">...</a>, and you have a reference to the a element, such as Element aElement and call aElement.getAttribute("class"), the resulting value is only the first CSS class specified (in this example it would return "a", instead of "a b").

Discussion


Log in to post a comment.

MongoDB Logo MongoDB