Skip to content

Commit

Permalink
General: Commit changes after running precommit:css.
Browse files Browse the repository at this point in the history
The `{min|max}-device-pixel-ratio` syntax as a a non-standard CSS media feature that was used as an alternative to the now standard `resolution`. Prior to Safari 16.0, `-webkit-{min|max}-device-pixel-ratio` was needed to correctly support it.

This change is a result of the `caniuse-lite` update that was applied recently in [56065]. Though there were no changes to target browsers as a result of this update, it seems an upstream change identified these as unnecessary.

See #57856, #58869.
Props desrosj, joemcgill, isabel_brison.

git-svn-id: https://develop.svn.wordpress.org/trunk@56279 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Jul 21, 2023
1 parent 6028b6f commit 00777e6
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,6 @@ div.action-links {
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

#TB_window.plugin-details-modal.thickbox-loading:before {
Expand Down Expand Up @@ -3757,7 +3756,6 @@ img {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Back-compat for pre-3.8 */
div.star-holder,
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/deprecated-media.css
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ table.not-image tr.image-only {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

.image-align-none-label {
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,6 @@ table.links-table {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ body.language-chooser {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

.spinner {
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,6 @@ audio, video {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.imgedit-wait:before {
background-image: url(../images/spinner-2x.gif);
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/revisions.css
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.revision-tick.completed-false {
background-image: url(../images/spinner-2x.gif);
Expand Down
1 change: 0 additions & 1 deletion src/wp-admin/css/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,6 @@ body.full-overlay-active {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.wp-full-overlay .collapse-sidebar-arrow {
background-image: url(../images/arrows-2x.png);
Expand Down
1 change: 0 additions & 1 deletion src/wp-includes/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,6 @@ html:lang(he-il) .rtl .quicktags-toolbar input {

/* HiDPI */
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.wp-media-buttons .add_media span.wp-media-buttons-icon {
background: none;
Expand Down
1 change: 0 additions & 1 deletion src/wp-includes/css/media-views.css
Original file line number Diff line number Diff line change
Expand Up @@ -2905,7 +2905,6 @@
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

.wp-core-ui .media-modal-icon {
Expand Down
1 change: 0 additions & 1 deletion src/wp-includes/css/wp-auth-check.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {

#wp-auth-check-form.loading:before {
Expand Down

0 comments on commit 00777e6

Please sign in to comment.