wishthis/node_modules/rtlcss/test/css/input.expected.css

71 lines
6.5 KiB
CSS
Raw Normal View History

2022-01-21 08:28:41 +00:00
/*
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImlucHV0LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7OztHQUlHO0FBQ0gsMkNBQTJDO0FBQzNDO0VBQ0UseUJBQXlCO0NBQzFCOztBQUVELHlCQUF5QjtBQUN6QjtJQUNJLHlCQUF5QjtJQUN6Qix3SkFBd0o7SUFDeEosd0JBQXdCOztJQUV4Qjs7Ozs7OztxQkFPaUI7O0lBRWpCLDRDQUEyQztDQUM5Qzs7QUFFRCxvQ0FBb0M7QUFDcEM7RUFDRSxvQkFBb0I7RUFDcEIsa0JBQWtC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lXCIgICAgOiBcInByZXYtbmV4dFwiLFxuICAgICAgICAgICAgXCJzZWFyY2hcIiAgOiBbXCJwcmV2XCIsIFwiUHJldlwiLCBcIlBSRVZcIl0sXG4gICAgICAgICAgICBcInJlcGxhY2VcIiA6IFtcIm5leHRcIiwgXCJOZXh0XCIsIFwiTkVYVFwiXSxcbiAgICAgICAgICAgIFwib3B0aW9uc1wiIDoge1wiaWdub3JlQ2FzZVwiOmZhbHNlfVxuICAgICAgICAgICAgfVxuICAgICAgICBdXG4gICAgfSxcbiAgICBcInBsdWdpbnNcIjpbXG4gICAgICB7XG4gICAgICAgIFwibmFtZVwiOiBcInRlc3RcIixcbiAgICAgICAgXCJkaXJlY3RpdmVzXCI6e1xuICAgICAgICAgIFwiY29udHJvbFwiOiB7fSxcbiAgICAgICAgICBcInZhbHVlXCI6IFtdXG4gICAgICAgIH0sXG4gICAgICAgIFwicHJvY2Vzc29yc1wiOiBbXG4gICAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY29udGVudFwiLFxuICAgICAgICAgICAgXCJleHByXCI6IC9jb250ZW50L2ltLFxuICAgICAgICAgICAgXCJhY3Rpb25cIjogZnVuY3Rpb24gKHByb3AsIHZhbHVlLCBjeHQpIHtcbiAgICAgICAgICAgICAgaWYgKHZhbHVlID09PSAnXCJBXCInKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHsgJ3Byb3AnOiBwcm9wLCAndmFsdWUnOiAnXCJBQkNcIicgfVxuICAgICAgICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID09PSAnXCJBQkNcIicpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4geyAncHJvcCc6IHByb3AsICd2YWx1ZSc6ICdcIkFcIicgfVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiB7ICdwcm9wJzogcHJvcCwgJ3ZhbHVlJzogdmFsdWUgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgXVxuICAgICAgfVxuICAgIF1cbn0qL1xuZGl2OmJlZm9yZSB7IGNvbnRlbnQ6IFwiQVwiO30gZGl2OmFmdGVyIHsgY29udGVudDogXCJBQkNcIjt9XG5cbi5kZW1vLXByZXYsIC5kZW1vLVByZXYsIC5kZW1vLVBSRVYgeyBjb250ZW50OiAncCc7IH1cbi5kZW1vLW5leHQsIC5kZW1vLU5leHQsIC5kZW1vLU5FWFQgeyBjb250ZW50OiAnbic7IH1cblxuLypydGw6ZW5kOmNvbmZpZyovXG5cbi8qIXJ0bDpiZWdpbjpyZW1vdmUqL1xuQGltcG9ydCB1cmwoL3Rlc3QuY3NzKTtcbmkge1xuICBjb2xvcjogYmx1ZTsgI