• Resolved dusev

    (@dusev)


    Trying to Make site AMP compatible and I’m getting a CSS_SYNTAX_INVALID_PROPERTY_NOLIST error. Can this be fixed in the plugin to make it compatible? I’m getting a lot of these errors throughout the site. Here are the details for just one:

    "validation_errors": [
                {
                    "code": "CSS_SYNTAX_INVALID_PROPERTY_NOLIST",
                    "css_property_name": "behavior",
                    "css_property_value": "url(\"#default#VML\")",
                    "type": "css_error",
                    "spec_name": "style amp-custom",
                    "node_name": "link",
                    "parent_name": "head",
                    "node_attributes": {
                        "rel": "stylesheet",
                        "id": "leaflet-css",
                        "href": "[there is a link that originally goes here]",
                        "type": "text/css",
                        "media": "all"
                    },
                    "node_type": 1,
                    "sources": [
                        {
                            "type": "plugin",
                            "name": "otter-blocks",
                            "file": "inc/class-registration.php",
                            "line": 265,
                            "function": "ThemeIsle\\GutenbergBlocks\\Registration::enqueue_block_assets",
                            "hook": "enqueue_block_assets",
                            "priority": 10,
                            "dependency_type": "style",
                            "handle": "otter-leaflet-map-style",
                            "dependency_handle": "leaflet"
                        },
                        {
                            "type": "plugin",
                            "name": "otter-blocks",
                            "file": "inc/class-registration.php",
                            "line": 158,
                            "function": "ThemeIsle\\GutenbergBlocks\\Registration::enqueue_assets",
                            "hook": "enqueue_block_assets",
                            "priority": 1,
                            "dependency_type": "style",
                            "handle": "leaflet"
                        }
                    ]
                }
            ],
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘AMP Incompatibility Errors, CSS_SYNTAX_INVALID_PROPERTY_NOLIST’ is closed to new replies.