You are here

quotes.css in Advanced CSS/JS Aggregation 8.3

/* Example from https://www.w3.org/TR/CSS2/syndata.html#rule-sets */
q[example="public class foo\
{\
    private int x;\
\
    foo(int x) {\
        this.x = x;\
    }\
\
}"] { color: red }

/* A pseudo selector with essential whitespace wrapped in quotes. */
q[style*="quotes: none"] {
    quotes: none;
}

q[style*='quotes: none'] {
    quotes: none;
}

q:after {
    content: ": colon & escaped double \" quotes \".";
}

q:after {
    content: ' (brackets & escaped single \' quotes \') ';
}

q:after {
    content: "I'm Quote";
}

File

advagg_css_minify/tests/src/Kernel/Asset/css_test_files/quotes.css
View source
  1. /* Example from https://www.w3.org/TR/CSS2/syndata.html#rule-sets */
  2. q[example="public class foo\
  3. {\
  4. private int x;\
  5. \
  6. foo(int x) {\
  7. this.x = x;\
  8. }\
  9. \
  10. }"] { color: red }
  11. /* A pseudo selector with essential whitespace wrapped in quotes. */
  12. q[style*="quotes: none"] {
  13. quotes: none;
  14. }
  15. q[style*='quotes: none'] {
  16. quotes: none;
  17. }
  18. q:after {
  19. content: ": colon & escaped double \" quotes \".";
  20. }
  21. q:after {
  22. content: ' (brackets & escaped single \' quotes \') ';
  23. }
  24. q:after {
  25. content: "I'm Quote";
  26. }