mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835219 - Add test coverage to check that the 'auto' value for the 'orient' attribute is preserved. r=longsonr.
This commit is contained in:
parent
0f336d98d0
commit
60a029bf73
@ -167,6 +167,9 @@ function runTests()
|
||||
is(marker.orientAngle.animVal.value, 30, "angle animVal");
|
||||
is(marker.getAttribute("orient"), "30deg", "angle attribute");
|
||||
|
||||
marker.setAttribute("orient", "auto");
|
||||
is(marker.getAttribute("orient"), "auto", "checking 'auto' string preserved");
|
||||
|
||||
marker.setAttribute("orient", "");
|
||||
ok(marker.getAttribute("orient") === "", "empty angle attribute");
|
||||
marker.removeAttribute("orient");
|
||||
|
Loading…
Reference in New Issue
Block a user