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

Remove redundant box-sizing prefixes #31055

Merged
merged 1 commit into from
Apr 10, 2019
Merged

Remove redundant box-sizing prefixes #31055

merged 1 commit into from
Apr 10, 2019

Conversation

MartijnCuppens
Copy link
Contributor

@MartijnCuppens MartijnCuppens commented Apr 10, 2019

Q A
Branch? 4.2
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? /
Fixed tickets /
License MIT
Doc PR /

The -webkit- and -moz- prefixes are redundant and Symfony is not prefixing it on other places in the file, eg:

.sf-toolbar-block.sf-toolbar-block-dump .sf-toolbar-info {
max-width: none;
width: 100%;
position: fixed;
box-sizing: border-box;
left: 0;
}

Not sure what branch I should target for PRs like these, just let me know if I need to change anything.

Greetings,
Martijn from the Bootstrap team

@fabpot fabpot changed the base branch from 4.2 to 3.4 April 10, 2019 10:45
@fabpot
Copy link
Member

fabpot commented Apr 10, 2019

Thank you @MartijnCuppens.

@fabpot fabpot merged commit 0cf3227 into symfony:3.4 Apr 10, 2019
fabpot added a commit that referenced this pull request Apr 10, 2019
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #31055).

Discussion
----------

Remove redundant `box-sizing` prefixes

| Q             | A
| ------------- | ---
| Branch?       | 4.2 <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | /    <!-- please add some, will be required by reviewers -->
| Fixed tickets | /   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | / <!-- required for new features -->

The `-webkit-` and `-moz-` prefixes are redundant and Symfony is not prefixing it on other places in the file, eg:
https://github.com/symfony/symfony/blob/2243bf5bc11e3908f975f92551bd869a61211999/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig#L395-L401

Not sure what branch I should target for PRs like these, just let me know if I need to change anything.

Greetings,
Martijn from the [Bootstrap](https://github.com/orgs/twbs/people) team

Commits
-------

0cf3227 Remove redundant `box-sizing` prefixes
@MartijnCuppens MartijnCuppens deleted the patch-2 branch April 10, 2019 10:49
@MartijnCuppens
Copy link
Contributor Author

@fabpot, should I target the 3.4 branch for PRs like these in the future?

@fabpot
Copy link
Member

fabpot commented Apr 10, 2019

@MartijnCuppens Depends on the change, but bug fixes are always merged on the lowest maintained branch, so 3.4 as of today. For new features, it should be master.

fabpot added a commit that referenced this pull request Apr 10, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

Remove redundant animation prefixes

| Q             | A
| ------------- | ---
| Branch?       | 3.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | /   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | / <!-- required for new features -->

Like #31055, a small cleanup of CSS. CSS animations can be used safely without any prefixes.

Commits
-------

3655bcf Remove redundant animation prefixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants