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

[Buttons] Address various browser compatibility issues #4108

Merged
merged 1 commit into from
Apr 28, 2016

Conversation

nathanmarks
Copy link
Member

@nathanmarks nathanmarks commented Apr 28, 2016

This PR addresses various browser compatibility issues present in some recent chrome releases (dating back to dec 2015). See #4093 for more details.

I added a test for this particular issue: #4093 (comment)

Some of the CSS may look unnecessary at first glance (or even first test) -- but it took me a fair bit of tinkering to get this working across the different Chrome versions (I checked IE, FF, Safari too).

Here's some screenshots of problems it fixes:

img

img

img


  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@nathanmarks nathanmarks force-pushed the enhancedbutton-background-style branch from f3cace8 to 3b85599 Compare April 28, 2016 03:51
@nathanmarks nathanmarks added bug 🐛 Something doesn't work Regression labels Apr 28, 2016
@nathanmarks nathanmarks added this to the 0.15.0 Release milestone Apr 28, 2016
letterSpacing: 0,
textTransform: textTransform,
fontWeight: fontWeight,
fontSize: fontSize,
Copy link
Member

Choose a reason for hiding this comment

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

👍 For moving the fontSize to where it's needed.

@@ -6,7 +6,7 @@
],
"env": {
"test": {
"sourceMaps": "inline"
"sourceMaps": "both"
Copy link
Member

Choose a reason for hiding this comment

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

Wrong PR.

@nathanmarks
Copy link
Member Author

@oliviertassinari nice catch!!

@nathanmarks nathanmarks force-pushed the enhancedbutton-background-style branch from 3b85599 to 3e919dc Compare April 28, 2016 18:37
@mbrookes mbrookes merged commit be8cfd6 into mui:master Apr 28, 2016
@nathanmarks nathanmarks deleted the enhancedbutton-background-style branch April 28, 2016 23:18
@nathanmarks
Copy link
Member Author

@mbrookes Is this a bug or a regression? 😄 😜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants