[Webkit-unassigned] [Bug 16750] New: input element fails to match :checked (Acid3 bug)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 5 14:18:55 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16750
Summary: input element fails to match :checked (Acid3 bug)
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
input element fails to match :checked (Acid3 bug)
// test 43: :enabled, :disabled, :checked, etc
selectorTest(function (doc, add, expect) {
var input = doc.createElement('input');
input.type = 'checkbox';
doc.body.appendChild(input);
var neither = 0;
var both = add(":checked:enabled");
var checked = add(":checked");
var enabled = add(":enabled");
expect(doc.body, neither, "control failure");
expect(input, enabled, "input element didn't match :enabled");
input.click();
expect(input, both, "input element didn't match :checked");
input.disabled = true;
expect(input, checked, "failure 3");
input.checked = false;
expect(input, neither, "failure 4");
expect(doc.body, neither, "failure 5");
});
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list