mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 471165 - add missing test
This commit is contained in:
parent
89beec81b8
commit
7d001fe852
@ -27,6 +27,20 @@ function runTests()
|
||||
var convolve = doc.getElementById("convolve");
|
||||
var marker = doc.getElementById("marker");
|
||||
|
||||
// class attribute
|
||||
filter.setAttribute("class", "foo");
|
||||
is(filter.getAttribute("class"), "foo", "class attribute");
|
||||
is(filter.className.baseVal, "foo", "className baseVal");
|
||||
is(filter.className.animVal, "foo", "className animVal");
|
||||
filter.className.baseVal = "bar";
|
||||
is(filter.getAttribute("class"), "bar", "class attribute");
|
||||
is(filter.className.baseVal, "bar", "className baseVal");
|
||||
is(filter.className.animVal, "bar", "className animVal");
|
||||
filter.removeAttribute("class");
|
||||
is(filter.hasAttribute("class"), false, "class attribute");
|
||||
is(filter.className.baseVal, "", "className baseVal");
|
||||
is(filter.className.animVal, "", "className animVal");
|
||||
|
||||
// length attribute
|
||||
|
||||
marker.setAttribute("markerWidth", "12.5");
|
||||
|
Loading…
Reference in New Issue
Block a user