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
Regressions after reordering mixin inclusions above other styles #1286
Comments
The issue causing this is that we have conflicting padding styles on I can send out a PR for this, but I'm also inclined to forage through a full diff of the CSS before/after #1265 to see if any other mixin reorderings caused problems. If the extent of our problems is where we had conflicting styles within a single block anyway, then I'm less concerned about #1265 itself. |
Other issues due to MDC DrawerSymptomIn each type of MDC Drawer, CauseMDC Typography recently was updated to set text-decoration (to inherit, in most cases, including this one). Technically, that in itself caused a regression in drawer, because it ended up overriding drawer's existing ResolutionDon't do anything because it's now working as it was originally intended? I do wonder if it's a bad thing to always be setting text-decoration in typography styles when in most cases it doesn't need to be set... MDC SelectBackground imageSymptom
CauseMDC Select uses an internal mixin to generate background-image data URLs, but it also sets ResolutionRemove We could also contemplate changing this internal mixin to a function instead, making it return specifically the data URL, then use it within individual style rules rather than forcing Multi-select borderSymptom
Cause
ResolutionUse Multi-select checked list-itemSymptomThe CauseThis was caused by a I'm not actually sure if the other background setting is needed, though... ResolutionEither remove the other background setting, or we will ultimately need to whitelist |
What MDC-Web Version are you using?
master, comparing against 0.20.0
What browser(s) is this bug affecting?
Observed in Chrome, presumably affects all
What OS are you using?
OS X
What are the steps to reproduce the bug?
Run the dev server and observe card.html on master vs. how it looks in 0.20.0
What is the expected behavior?
They should look the same; we've done nothing to intentionally change MDC Card
What is the actual behavior?
Some paddings disappeared. Here's a visual diff:
Any other information you believe would be useful?
I git bisected and this was caused by #1265.
We'll have to investigate, but it might be a bad idea to be opinionated on ordering mixin invocations because maybe it can influence ordering of child selectors?
The text was updated successfully, but these errors were encountered: