Skip to content

refactor(compiler): don’t rely on external css parser#5006

Closed
tbosch wants to merge 1 commit into
angular:masterfrom
tbosch:css-parser
Closed

refactor(compiler): don’t rely on external css parser#5006
tbosch wants to merge 1 commit into
angular:masterfrom
tbosch:css-parser

Conversation

@tbosch
Copy link
Copy Markdown
Contributor

@tbosch tbosch commented Oct 29, 2015

We used to use different external css parsers,
depending on the DomAdapter. This lead to
inconsistent behavior and environment specific errors.

Related to #4993

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

How about this case:
@import 'asdf'; div {...}?

@tbosch
Copy link
Copy Markdown
Contributor Author

tbosch commented Oct 29, 2015

Test against acx demo in G3 first before merging!

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.

do we strip comment first ? (what if they contain curly brackets)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We have the same problem with all the other regex in this file...

@tbosch tbosch force-pushed the css-parser branch 2 times, most recently from 83a29c0 to 01b8c0a Compare October 29, 2015 18:37
@tbosch
Copy link
Copy Markdown
Contributor Author

tbosch commented Oct 29, 2015

Just verified against the ACX demo that this works.
Also fixes #4993

We used to use different external css parsers,
depending on the `DomAdapter`. This lead to
inconsistent behavior and environment specific errors.

Closes angular#4993
@tbosch tbosch closed this in 993b3d6 Oct 29, 2015
@tbosch tbosch deleted the css-parser branch October 29, 2015 22:09
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants