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

Fix to Chrome inheritance bug (#22872) #23118

Merged
merged 2 commits into from
Aug 11, 2017
Merged

Fix to Chrome inheritance bug (#22872) #23118

merged 2 commits into from
Aug 11, 2017

Conversation

prateekgoel
Copy link
Contributor

@prateekgoel prateekgoel commented Jul 18, 2017

I have changed:

*,
*::before,
*::after {
  box-sizing: inherit; }

to

*,
*::before,
*::after {
  box-sizing: border-box; }

Also, to address duplication of box-sizing from the html selector above, changed box-sizing:border-box; to box-sizing:inherit; from html.

Fixes #22872.
Resolves the issue with PR #23025.

@@ -19,7 +19,7 @@
// 6. Change the default tap highlight to be completely transparent in iOS.

html {
box-sizing: border-box; // 1
box-sizing: inherit; // 1
Copy link
Member

Choose a reason for hiding this comment

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

This should just be removed outright, and the comments above updated.

Copy link
Contributor Author

@prateekgoel prateekgoel Jul 18, 2017

Choose a reason for hiding this comment

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

Ok I am on it. I don't think we need to update comments. As the comments are still correct.
We can put html selector after the wildcard selectors so that the order of comments is meaningful.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is done. Let me know if any other changes are required.

box-sizing removed from html and order of wild card selected and html selector swapped to maintain correctness of comments.
Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! We'll get this in Beta 2.

@prateekgoel
Copy link
Contributor Author

Ok thanks.

@mdo mdo merged commit 7b66aeb into twbs:v4-dev Aug 11, 2017
@mdo mdo mentioned this pull request Aug 11, 2017
@mdo mdo mentioned this pull request Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants