Skip to content
This repository
Browse code

In standards-mode documents, except for acme, class names are suppose…

…d to be case-sensitive. Refs #8775, #14874
  • Loading branch information...
commit fd7a540189e2caee83f5fb13adf347dcbd0a5fad 1 parent a980aec
Bill Keese wkeese authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 tests/query/query.html
5 tests/query/query.html
@@ -296,8 +296,9 @@
296 296 // Tests for ACME specific functionality (not part of CSS3)
297 297 if(selector == "acme"){
298 298 doh.register("acme", [
299   - // CSS Spec denotes class selectors are supposed to be case insensitive (#8775)
300   - // TODO: move this test to CSS2 section when #14874 fixed
  299 + // Case insensitive class selectors (#8775, #14874).
  300 + // In standards mode documents, querySelectorAll() is case-sensitive about class selectors,
  301 + // but acme is case-insensitive for backwards compatibility.
301 302 "doh.is(1, query('.fooBar').length);",
302 303
303 304 // sub-selector parsing

0 comments on commit fd7a540

Please sign in to comment.
Something went wrong with that request. Please try again.