X Tutup
Skip to content

fix(style_compiler): don’t touch urls in stylesheets and keep stylesh…#4740

Closed
tbosch wants to merge 1 commit intoangular:masterfrom
tbosch:url_resolve
Closed

fix(style_compiler): don’t touch urls in stylesheets and keep stylesh…#4740
tbosch wants to merge 1 commit intoangular:masterfrom
tbosch:url_resolve

Conversation

@tbosch
Copy link
Copy Markdown
Contributor

@tbosch tbosch commented Oct 14, 2015

…eets with absolute urls in templates

We can’t resolve relative urls (e.g. for images) in the compiler as
these urls are meant to be loaded in the browser
(unless we would inline images as base64…).

Also, keep <link rel=“stylesheet”> in templates that
reference absolute urls with e.g. http://. This
behavior was already present for @import rules
within stylesheets.

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.

fix test

@tbosch tbosch force-pushed the url_resolve branch 2 times, most recently from 3e1160c to c5c4824 Compare October 14, 2015 17:02
…eets with absolute urls in templates

We can’t resolve relative urls (e.g. for images) in the compiler as
these urls are meant to be loaded in the browser
(unless we would inline images as base64…).

Also, keep `<link rel=“stylesheet”>` in templates that
reference absolute urls with e.g. `http://`. This
behavior was already present for `@import` rules
within stylesheets.
@tbosch tbosch added the action: merge The PR is ready for merge by the caretaker label Oct 15, 2015
@mary-poppins
Copy link
Copy Markdown

Merging PR #4740 on behalf of @tbosch to branch presubmit-tbosch-pr-4740.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Oct 15, 2015
@tbosch tbosch closed this in 7dde18b Oct 15, 2015
@tbosch tbosch deleted the url_resolve branch October 15, 2015 23:58
@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.

4 participants

X Tutup