aboutsummaryrefslogtreecommitdiffstats
path: root/test/testabilityPatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/testabilityPatch.js')
-rw-r--r--test/testabilityPatch.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index b71943f6..5d0df780 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -63,6 +63,8 @@ function sortedHtml(element) {
html += '<' + node.nodeName.toLowerCase();
var attributes = node.attributes || [];
var attrs = [];
+ if (node.className)
+ attrs.push(' class="' + node.className + '"');
for(var i=0; i<attributes.length; i++) {
var attr = attributes[i];
if(attr.name.match(/^ng:/) ||
@@ -76,6 +78,7 @@ function sortedHtml(element) {
attr.name !='complete' &&
attr.name !='maxLength' &&
attr.name !='size' &&
+ attr.name !='class' &&
attr.name !='start' &&
attr.name !='tabIndex' &&
attr.name !='style' &&