[wp-trac] [WordPress Trac] #59819: Change CSS align-item from start / end to flex-start / flex-end for full browser support
WordPress Trac
noreply at wordpress.org
Mon Nov 6 19:46:12 UTC 2023
#59819: Change CSS align-item from start / end to flex-start / flex-end for full
browser support
----------------------------+-----------------------------
Reporter: hellofromTonya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: css |
----------------------------+-----------------------------
During today's Dry Run `npm run grunt prerelease` step, `precommit:css`
grunt task flagged the following warnings for CSS `align-items` property
values:
{{{
>> autoprefixer: F:\WordPress Core
Develop\develop.svn.wordpress.org\branches\6.4\src\wp-
admin\css\about.css:537:2: start value has mixed support, consider using
flex-start instead
>> autoprefixer: F:\WordPress Core
Develop\develop.svn.wordpress.org\branches\6.4\src\wp-
admin\css\about.css:538:2: end value has
mixed support, consider using flex-end instead
>> autoprefixer: F:\WordPress Core
Develop\develop.svn.wordpress.org\branches\6.4\src\wp-
admin\css\media.css:1127:2: start value has mixed support, consider using
flex-start instead
}}}
The `start` and `end` values are [https://caniuse.com/mdn-
css_properties_align-items_flex_context_start_end not supported in Opera
Mobile] which has a usage of 1.01%.
[https://make.wordpress.org/core/handbook/best-practices/browser-support/
On WordPress' Browsers Support page]:
>Last 2 Opera versions.
>
>Browsers with > 1% usage based on [https://caniuse.com/usage-table can I
use browser usage table].
[https://caniuse.com/usage-table Opera Mobile's last 2 versions have a
usage of}:
* 73: 1.01%
* 12.1: 0%
Noting:
[https://caniuse.com/flexbox Flexbox is well supported] on all browser
versions that WordPress supports ✅
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59819>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list