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

Menschified juice #220

Merged
merged 14 commits into from
Jun 23, 2016
Merged

Menschified juice #220

merged 14 commits into from
Jun 23, 2016

Conversation

bago
Copy link
Contributor

@bago bago commented Jun 23, 2016

This release replaces CSSOM with mensch and tries to mimic as much as possible the previous behaviours.

This fixes a bunch of issues (both CSSOM related and Juice core issues), see #215 for details. I referenced them in the single commits.

Hope this can be merged.

Now my next steps are:

  • Change the way properties are inlined so to be able to fix preserve vendor prefixes #27 (this needs a lot of code changes)
  • Make cheerio swappable with other "dom manipulation" libraries (my need is doing inline using jQuery)

bago added 13 commits June 22, 2016 23:45
First step for Automattic#215 , just changed 1 testcase and
altered test comparison to consider multiple newlines as one newline.
Fixes Automattic#218 . Added test-case and fixed expected output
for integration test case (even if we fix order it is semantically
identically so it is ok updating the expected result)
Test case for Automattic#216
This is fixed by moving from cssom to mensch as per Automattic#215
Test case for Automattic#74 . Mensch correctly deals with the
filter property syntax.
This prove that mensch correctly parses the problematic CSS
(Automattic#44)
- "0.12"
- "0.11"
- "iojs"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably fine to take out iojs and 0.11 at least

@jrit
Copy link
Collaborator

jrit commented Jun 23, 2016

A few nits we can work out here, but overall looks good to me. Great to see some of those stubborn issues fixed without modifying anything of note in the existing tests.

@bago
Copy link
Contributor Author

bago commented Jun 23, 2016

Just tell me if you prefer me to keep working in my fork or if you prefer me to fix the minor changes you suggest in this comments and merge this PR before I make it "too big".

@jrit jrit merged commit 70780ef into Automattic:master Jun 23, 2016
@jrit
Copy link
Collaborator

jrit commented Jun 23, 2016

I'm understanding you'll be making more changes so I won't bother with a release right now. Thanks for doing this.

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.

preserve vendor prefixes
2 participants