Skip to content

create and commit golden css#12526

Merged
erwinmombay merged 2 commits intoampproject:masterfrom
erwinmombay:golden-css
Dec 20, 2017
Merged

create and commit golden css#12526
erwinmombay merged 2 commits intoampproject:masterfrom
erwinmombay:golden-css

Conversation

@erwinmombay
Copy link
Copy Markdown
Member

create golden css files so we can see what changes from css transformation dependency changes like postcss, cssnano, etc on upgrade

@erwinmombay erwinmombay force-pushed the golden-css branch 4 times, most recently from 3e74fe4 to 92e2753 Compare December 19, 2017 18:21
@erwinmombay erwinmombay changed the title Golden css create and commit golden css Dec 19, 2017
@erwinmombay erwinmombay requested a review from rsimha December 19, 2017 18:22
@erwinmombay
Copy link
Copy Markdown
Member Author

@rsimha-amp PTAL

Copy link
Copy Markdown
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

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

Thanks for working on this!

*/

/**
* Horizontal scrolling interferes with embedded scenarios and predominantly
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps replace this with a file-level comment explaining why this file exists?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done.

@rsimha
Copy link
Copy Markdown
Contributor

rsimha commented Dec 20, 2017

@erwinmombay Once this is merged, can you provide instructions for how to test with the golden file? I'll have to do a before / after check for #12512.

@erwinmombay erwinmombay merged commit 118ec35 into ampproject:master Dec 20, 2017
@erwinmombay
Copy link
Copy Markdown
Member Author

erwinmombay commented Dec 20, 2017

@rsimha-amp just need to regenerate the css golden file and we can take a look at the diff of the file and evaluate if everything is safe. (there are some options that need to change i think like the field i pointed out in https://github.com/ampproject/amphtml/blob/master/build-system/tasks/create-golden-css/index.js#L23)

@rsimha
Copy link
Copy Markdown
Contributor

rsimha commented Dec 20, 2017

Got it. Tested and updated golden file. Thanks!

gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
* add create-golden-css task

* add explaination why main.css exists and what it's used for
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants