Allow xlink:href to get removed, fix option.value in mock
This commit is contained in:
parent
e36a8db9d4
commit
348bed0a7e
6 changed files with 30 additions and 11 deletions
|
|
@ -954,11 +954,11 @@ o.spec("domMock", function() {
|
|||
o(select.selectedIndex).equals(1)
|
||||
}
|
||||
})
|
||||
o("option.value = null is converted to the empty string", function() {
|
||||
o("option.value = null is converted to 'null'", function() {
|
||||
var option = $document.createElement("option")
|
||||
option.value = null
|
||||
|
||||
o(option.value).equals("")
|
||||
o(option.value).equals("null")
|
||||
})
|
||||
o("setting valid value works with optgroup", function() {
|
||||
var select = $document.createElement("select")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue