зеркало из https://github.com/mozilla/gecko-dev.git
Bug 545403 - Change test_hc_documentgetdoctype.html to accept both upper case and lower case doctype names. r=bnewman.
--HG-- extra : rebase_source : a8eec6469678e6c47e9fb85d1a1b77ddf25a0cf9
This commit is contained in:
Родитель
deaa1352fa
Коммит
7ccf14e42b
|
@ -157,8 +157,8 @@ function hc_documentgetdoctype() {
|
|||
}
|
||||
|
||||
else {
|
||||
// modified to uppercase per WHATWG
|
||||
assertEquals("nodeName","HTML",docTypeName);
|
||||
// Modified to allow lower case for the HTML5 parser and upper case for the old parser
|
||||
assertTrue("nodeName", "HTML" == docTypeName || "html" == docTypeName);
|
||||
|
||||
}
|
||||
nodeValue = docType.nodeValue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче