Opened 3 years ago
Last modified 2 years ago
#43896 new defect (bug)
Several flex and grid CSS properties listed as Unknown property in Customizer
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | has-patch |
Focuses: | Cc: |
Description
When I use the CSS editor in the Customizer it suggests element properties as I start typing them. One of the properties that it suggests is the justify-items property. When I save the settings in the Customizer I get a notice of "Unknown property 'justify-items'."
I've checked some of the other flexbox and grid properties, and there are several others that this is the case for, namely:
- justify-items
- grid-gap
- grid-column-gap
- grid-row-gap
- place-self
The properties still work in supported browsers, they just display an error in the Customizer. Some valid values for properties that are recognized also give errors, such as the values of start and end for several grid properties.
Attachments (6)
Change History (11)
#2
follow-up:
↓ 3
@
3 years ago
@subrataemfluence Your patch doesn't indicate which file it is that is being patched.
#3
in reply to:
↑ 2
@
3 years ago
Oops! I am sorry for this. It's almost midnight here. Will fix the patch tomorrow morning.
Replying to westonruter:
@subrataemfluence Your patch doesn't indicate which file it is that is being patched.
#4
@
3 years ago
@westonruter I modified initial patch and uploaded 43896-1.diff
. In this patch I considered all properties @davidjlaietta mentioned.
However, this one has some unwanted white spaces and tabs characters, which I realized only after uploading. So, I removed them and uploaded a newer version 43896-2.diff
. Hope this works!
screenshot of Customizer Edit CSS showing an unknown property