Ticket #975 (new enhancement)
Opened 4 weeks ago
Fx.CSS search fails in Internet Explorer
| Reported by: | rloaderro | Owned by: | |
|---|---|---|---|
| Type: | enhancement | Priority: | minor |
| Milestone: | Mootools version 1.2 | Component: | Core |
| Keywords: | Fx.CSS IE multiple class reverse | Cc: |
Description
Internet Explorer (7) switches the order of multiple classes, so if my stylesheet has:
.apple.orange { ... }
Internet Explorer manages it as:
.orange.apple { ... }
Therefore FX.CSS search, which compares selectors with...
selectorText.test('^' + selector + '$')
...fails for IE. ATM I am writing my styles as:
.apple.orange,
.orange.apple { ... }
But it would be great if Mootools could test independent of class order, or detect and switch for IE.
Note: See
TracTickets for help on using
tickets.