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

Ensure proper insert order of nested rules & atRules #321

Merged
merged 16 commits into from
Sep 22, 2017

Conversation

tkh44
Copy link
Member

@tkh44 tkh44 commented Sep 21, 2017

What:

Why:

How:
Here is where I played around with this idea. https://codesandbox.io/s/kxxvqxrxnv

Checklist:

  • Documentation
  • Tests
  • Code complete

@tkh44 tkh44 requested a review from emmatown September 21, 2017 19:06
Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was originally planning to do this but the insert order problem affects nested selectors as well as media queries. https://codesandbox.io/s/p5ymkr9n0

@tkh44 tkh44 changed the title Insure proper insert order or media queries and their parents by creating an atRule queue. Ensure proper insert order or media queries and their parents by creating an atRule queue. Sep 21, 2017
@tkh44 tkh44 changed the title Ensure proper insert order or media queries and their parents by creating an atRule queue. Ensure proper insert order of nested rules & atRules Sep 21, 2017
@codecov
Copy link

codecov bot commented Sep 21, 2017

Codecov Report

Merging #321 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #321      +/-   ##
==========================================
+ Coverage   96.29%   96.37%   +0.08%     
==========================================
  Files          16       16              
  Lines         567      580      +13     
  Branches      138      141       +3     
==========================================
+ Hits          546      559      +13     
  Misses         16       16              
  Partials        5        5
Impacted Files Coverage Δ
packages/emotion/src/index.js 99.18% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e37dfd...6b8cfcd. Read the comment docs.

@emmatown emmatown merged commit be6ef54 into master Sep 22, 2017
@emmatown emmatown deleted the media-query-insert-order branch September 22, 2017 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants