We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5137aa0 commit 028a502Copy full SHA for 028a502
test/unit/dom/dom.js
@@ -811,6 +811,7 @@ suite('DOM', function() {
811
test('should update select value when HTML special characters are in the name', function() {
812
testElement = myp5.createSelect(true);
813
testElement.option('&', 'foo');
814
+ assert.equal(testElement.elt.options.length, 1);
815
assert.equal(testElement.elt.options[0].value, 'foo');
816
testElement.option('&', 'bar');
817
assert.equal(testElement.elt.options[0].value, 'bar');
0 commit comments