[Pkg-javascript-commits] [dojo] 50/88: Disable test for attribute case sensitivity in quirks mode, since it's browser dependent and we don't want to bother "fixing" it, whatever that would mean. Avoids test failure on FF. Refs #8775, #14874 on 1.8 branch.

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.8.5
in repository dojo.

commit 77cac8876baf08fe7aa4b5fb5a09079b560496a3
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Mon Dec 3 10:35:24 2012 +0000

    Disable test for attribute case sensitivity in quirks mode, since it's browser dependent and we don't want to bother "fixing" it, whatever that would mean.   Avoids test failure on FF.  Refs #8775, #14874 on 1.8 branch.
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30112 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 tests/query/queryQuirks.html | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/query/queryQuirks.html b/tests/query/queryQuirks.html
index 53e9c1d..7a1af17 100644
--- a/tests/query/queryQuirks.html
+++ b/tests/query/queryQuirks.html
@@ -76,7 +76,10 @@
 					"doh.is(1, (query('span.baz')).length);",
 					"doh.is(1, (query('sPaN.baz')).length);",
 					"doh.is(1, (query('SPAN.baz')).length);",
-					"doh.is(1, query('.fooBar').length);",
+
+					// For quirks mode, case sensitivity is browser dependent, so querying .fooBar
+					//  may return 1 or 2 entries.   See #8775 and #14874 for details.
+					// "doh.is(1, query('.fooBar').length);",
 					
 					// attribute selectors
 					"doh.is(3, (query('[foo]')).length);",
@@ -306,8 +309,7 @@
 				if(selector == "acme"){
 					doh.register("acme", [
 						// Case insensitive class selectors (#8775, #14874).
-						// In standards mode documents, querySelectorAll() is case-sensitive about class selectors,
-						// but acme is case-insensitive for backwards compatibility.
+						// Acme is case-insensitive for backwards compatibility.
 						"doh.is(1, query('.fooBar').length);",
 
 						// sub-selector parsing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list