Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for at-rules #1272

Merged
merged 1 commit into from Dec 8, 2019
Merged

Add test for at-rules #1272

merged 1 commit into from Dec 8, 2019

Conversation

@isolovev
Copy link
Member

isolovev commented Dec 8, 2019

No description provided.

it('ignore prefix in vendor at rules', () => {
let input = read('at-rules')
let output = read('at-rules.out')
let result = postcss([autoprefixer({ cascade: false })]).process(input)

This comment has been minimized.

Copy link
@ai

ai Dec 8, 2019

Member

autoprefixer will use current browsers and could change output in the future

This comment has been minimized.

Copy link
@isolovev

isolovev Dec 8, 2019

Author Member

I fixed that.

@@ -547,6 +547,13 @@ it('works with CSS Modules', () => {
postcss([autoprefixer()]).process(':export { selectors: _1q6ho_2 }').css
})

it('ignore prefix in vendor at rules', () => {
let input = read('at-rules')

This comment has been minimized.

Copy link
@ai

ai Dec 8, 2019

Member

We have a shortcut to do this test. You can find it in hacks secltion in this test file.

This comment has been minimized.

Copy link
@isolovev

isolovev Dec 8, 2019

Author Member

I fixed that.

body {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;

This comment has been minimized.

Copy link
@ai

ai Dec 8, 2019

Member

I recommend enabling cascade here to make test readable and more standard

This comment has been minimized.

Copy link
@isolovev

isolovev Dec 8, 2019

Author Member

I fixed that.

@ai ai merged commit 05e515e into postcss:master Dec 8, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.