Skip to content
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

dropdowns.less: Add space before IE8 workaround. #16384

Merged
merged 2 commits into from
Apr 29, 2015
Merged

Conversation

XhmikosR
Copy link
Member

This in turn works around an issue with clean-css.

clean-css/clean-css#556

/CC @cvrebert @mdo

@XhmikosR XhmikosR added the css label Apr 28, 2015
@XhmikosR XhmikosR added this to the v3.3.5 milestone Apr 28, 2015
XhmikosR referenced this pull request Apr 28, 2015
@cvrebert
Copy link
Collaborator

X-Ref: #16258

@cvrebert
Copy link
Collaborator

I've confirmed via Sauce that adding the space doesn't degrade the effectiveness of the IE8 fix.

@XhmikosR
Copy link
Member Author

OK, so it's good to go then?

@XhmikosR
Copy link
Member Author

BTW, don't forget to update the node_modules in bot and shrinkwrap for the new clean-css version.

@cvrebert
Copy link
Collaborator

The bot installs using the shrinkwrap file on every build, so we just need to reshrinkwrap.

@XhmikosR
Copy link
Member Author

All right, done.

@XhmikosR
Copy link
Member Author

Now, this PR is basically a consistency change since in all other cases we use \9 there's a space before it.

@@ -11,7 +11,7 @@
margin-left: 2px;
vertical-align: middle;
border-top: @caret-width-base dashed;
border-top: @caret-width-base ~"solid\9"; // IE8
border-top: @caret-width-base ~"solid \9"; // IE8
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps we should use

border-top:   @caret-width-base solid ~"\9"

?

Copy link
Member Author

Choose a reason for hiding this comment

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

It results to the same CSS, not sure which one is preferable.

This in turn works around an issue with clean-css (fixed in 3.2.6). So this basically is just a consistency change.
@cvrebert
Copy link
Collaborator

:shipit:

XhmikosR added a commit that referenced this pull request Apr 29, 2015
dropdowns.less: Add space before IE8 workaround.
@XhmikosR XhmikosR merged commit 3b8e84d into master Apr 29, 2015
@XhmikosR XhmikosR deleted the cleancss-workaround branch April 29, 2015 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants