X Tutup
Skip to content

fix(compiler): shadow CSS @import test in some browsers#4629

Closed
marclaval wants to merge 1 commit intoangular:masterfrom
marclaval:fixShadowCSSImport
Closed

fix(compiler): shadow CSS @import test in some browsers#4629
marclaval wants to merge 1 commit intoangular:masterfrom
marclaval:fixShadowCSSImport

Conversation

@marclaval
Copy link
Copy Markdown
Contributor

The test ShadowCss should pass through @import directives is failing in some browsers: Firefox, old Androids (< 4.4) and all IEs.

Firefox
Expected '' to equal '@import url("https://fonts.googleapis.com/css?family=Roboto");'.

Android
Expected '@import url("https://fonts.googleapis.com/css?family=Roboto") ;' to equal '@import url("https://fonts.googleapis.com/css?family=Roboto");'.

IE
Expected '@import url( https://fonts.googleapis.com/css?family=Roboto );' to equal '@import url("https://fonts.googleapis.com/css?family=Roboto");'.

For Android and IE, it is a matter of quotes and white spaces, so only the normalizeCSS function has to be updated.
For Firefox, it is more complex. Test has been deactivated and a follow-up issue has been opened: #4628

@marclaval marclaval added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 9, 2015
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.

Could you qualify this comment with TODO: so we can find it later and fix it?

@marclaval marclaval closed this in 0def28e Oct 11, 2015
@marclaval marclaval deleted the fixShadowCSSImport branch December 11, 2017 10:00
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup