Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(theming): don't assume selector corresponds to expression #10818

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

jelbourn
Copy link
Member

Before this change, the theming code assume that if you have a selector
like "md-primary", all of the expressions therein will only be in terms
of "primary". This was not the case, causing one style to leave an
unevaluated expression in the css output.

This change also deletes the troublesome style because it seemed to be
incorrect anyway.

Fixes #10793

Before this change, the theming code assume that if you have a selector
like "md-primary", all of the expressions therein will only be in terms
of "primary". This was not the case, causing one style to leave an
unevaluated expression in the css output.

This change *also* deletes the troublesome style because it seemed to be
incorrect anyway.

Fixes angular#10793
@jelbourn jelbourn added the needs: review This PR is waiting on review from the team label Jul 27, 2017
@jelbourn jelbourn requested a review from ThomasBurleson July 27, 2017 00:14
@googlebot googlebot added the cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ label Jul 27, 2017
@ThomasBurleson
Copy link
Contributor

@EladBezalel - as our ngM1 Theming dev, can you review these changes and validate?

@ThomasBurleson ThomasBurleson added this to the 1.1.5 milestone Aug 2, 2017
@EladBezalel
Copy link
Member

LGTM

@jelbourn jelbourn added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Aug 3, 2017
@ThomasBurleson ThomasBurleson modified the milestones: 1.1.5, 1.1.6 Sep 5, 2017
@Splaktar Splaktar added pr: merge ready This PR is ready for a caretaker to review and removed pr: needs presubmit labels Nov 21, 2017
@Splaktar Splaktar removed the request for review from ThomasBurleson November 21, 2017 06:32
@Splaktar Splaktar added P2: required Issues that must be fixed. g3: pr This PR was posted by an internal or external product team. labels Dec 11, 2017
@andrewseguin andrewseguin merged commit f1e4fcb into angular:master Dec 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has signed Google's CLA: https://opensource.google.com/docs/cla/ g3: pr This PR was posted by an internal or external product team. P2: required Issues that must be fixed. pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants