You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thanks for that lib! I had a problem jss not working at all, this was the problem:
// Browsers report selectors in lowercase
if (selector) selector = selector.toLowerCase();
"Browsers report selectors in lowercase", Are you sure that is true? I tested Opera, Firefox and Chromium it doesn't looks like it.
The text was updated successfully, but these errors were encountered:
selectorText also strips redundant whitespace (eg returns), which causes a similar silent failure because JSS creates the rule and then iterates through the output stylesheet looking for a match with the raw input before assigning properties.
I see the wisdom of relying on native CSSOM for a lot of the crucial work, but when nuts & bolts methods break because their own internals are erroneous, it becomes a problem.
I think this could be forked such that the internal methods checked to cache the output selector they had created and match against that… It would also avoid later iteration, I think.
First thanks for that lib! I had a problem jss not working at all, this was the problem:
// Browsers report selectors in lowercase
if (selector) selector = selector.toLowerCase();
"Browsers report selectors in lowercase", Are you sure that is true? I tested Opera, Firefox and Chromium it doesn't looks like it.
The text was updated successfully, but these errors were encountered: