UNPKG

shady-css-parser

Version:
79 lines (75 loc) 1.5 kB
"use strict"; /** * @license * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt The complete set of authors may be found * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by * Google as part of the polymer project is also subject to an additional IP * rights grant found at http://polymer.github.io/PATENTS.txt */ Object.defineProperty(exports, "__esModule", { value: true }); // CSS test fixtures: exports.basicRuleset = ` body { margin: 0; padding: 0px } `; exports.atRules = ` @import url('foo.css'); @font-face { font-family: foo; } @charset 'foo'; `; exports.keyframes = ` @keyframes foo { from { fiz: 0%; } 99.9% { fiz: 100px; buz: true; } } `; exports.customProperties = ` :root { --qux: vim; --foo: { bar: baz; }; } `; exports.extraSemicolons = ` :host { margin: 0;;; padding: 0;; ;display: block; }; `; exports.declarationsWithNoValue = ` foo; bar 20px; div { baz; } `; exports.minifiedRuleset = '.foo{bar:baz}div .qux{vim:fet;}'; exports.psuedoRuleset = '.foo:bar:not(#rif){baz:qux}'; exports.dataUriRuleset = '.foo{bar:url(qux;gib)}'; exports.pathologicalComments = ` .foo { bar: /*baz*/vim; } /* unclosed @fiz { --huk: { /* buz */ baz: lur; }; } @gak wiz;`; //# sourceMappingURL=fixtures.js.map