wishthis/node_modules/rtlcss/test/css/input.expected.css
2022-01-21 09:28:41 +01:00

71 lines
No EOL
6.5 KiB
CSS

/*
Preserves orignal formatting
*/
/* declarations can exist inside atrules */
@font-face {
font-family: 'Test font';
}
/* comment before rule */
body/* comment after rule name */{
/* comment before decl */
padding /* comment after prop */ : /* comment before val */ 0 /* comment after val */ 3px /* another comment */ 2px /* one more */ 1px /* last one*/;
/* comment after decl */
margin:
0 /*top*/
3px /*right
multi-line
comment
*/
2px /*bottom*/
1px /*left*/;
border-right/* comment after prop */: none;
}
/* should never process variables */
:root {
--left-margin: 10px;
--brightest: blue;
}
div.variable-demo {
margin-right: var(--left-margin);
color: var(--brightest);
}
/* end: should never process variables */
/* empty options forces defaults */
/* should not process urls - default */
@import url("rtl-right-east.css");
div:before { content: "ABC";} div:after { content: "A";}
.demo-next, .demo-Next, .demo-NEXT { content: 'p'; }
.demo-prev, .demo-Prev, .demo-PREV { content: 'n'; }
div {
text-align: left;
padding: 10px;
}
.sample {
text-align: left;
}
.right { display:inline;}
/*rtl:begin:options:{"autoRename":true, "greedy": true}*/
.bleft { display:inline;}
/*rtl:end:options*/
.brighter { display:inline;}
/* auto rename only if a pair exists */
/* The following should not be renamed */
.ltr{ display: inline-flex;}
/* But these should */
.left{ display: inline-flex;}
.right { display: block;}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlucHV0LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7OztHQUlHO0FBQ0gsMkNBQTJDO0FBQzNDO0VBQ0UseUJBQXlCO0NBQzFCOztBQUVELHlCQUF5QjtBQUN6QjtJQUNJLHlCQUF5QjtJQUN6Qix3SkFBd0o7SUFDeEosd0JBQXdCOztJQUV4Qjs7Ozs7OztxQkFPaUI7O0lBRWpCLDRDQUEyQztDQUM5Qzs7QUFFRCxvQ0FBb0M7QUFDcEM7RUFDRSxvQkFBb0I7RUFDcEIsa0JBQWtCO0NB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gICAgOiBcInByZXYtbmV4dFwiLFxuICAgICAgICAgICAgXCJzZWFyY2hcIiAgOiBbXCJwcmV2XCIsIFwiUHJldlwiLCBcIlBSRVZcIl0sXG4gICAgICAgICAgICBcInJlcGxhY2VcIiA6IFtcIm5leHRcIiwgXCJOZXh0XCIsIFwiTkVYVFwiXSxcbiAgICAgICAgICAgIFwib3B0aW9uc1wiIDoge1wiaWdub3JlQ2FzZVwiOmZhbHNlfVxuICAgICAgICAgICAgfVxuICAgICAgICBdXG4gICAgfSxcbiAgICBcInBsdWdpbnNcIjpbXG4gICAgICB7XG4gICAgICAgIFwibmFtZVwiOiBcInRlc3RcIixcbiAgICAgICAgXCJkaXJlY3RpdmVzXCI6e1xuICAgICAgICAgIFwiY29udHJvbFwiOiB7fSxcbiAgICAgICAgICBcInZhbHVlXCI6IFtdXG4gICAgICAgIH0sXG4gICAgICAgIFwicHJvY2Vzc29yc1wiOiBbXG4gICAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY29udGVudFwiLFxuICAgICAgICAgICAgXCJleHByXCI6IC9jb250ZW50L2ltLFxuICAgICAgICAgICAgXCJhY3Rpb25cIjogZnVuY3Rpb24gKHByb3AsIHZhbHVlLCBjeHQpIHtcbiAgICAgICAgICAgICAgaWYgKHZhbHVlID09PSAnXCJBXCInKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHsgJ3Byb3AnOiBwcm9wLCAndmFsdWUnOiAnXCJBQkNcIicgfVxuICAgICAgICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID09PSAnXCJBQkNcIicpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4geyAncHJvcCc6IHByb3AsICd2YWx1ZSc6ICdcIkFcIicgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiB7ICdwcm9wJzogcHJvcCwgJ3ZhbHVlJzogdmFsdWUgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgXVxuICAgICAgf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