LL BGCSS markup problem with 3.15.7 #6360
Labels
module: lazyload background css images
priority: high
Issues which should be resolved as quickly as possible
severity: minor
Defect that does not affect functionality
type: bug
Indicates an unexpected problem or unintended behavior
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
In 3.15.7 we're changing a bit the way of lazyloading BG images.
However, in #6269 the
<style>
tags are added inside the<body>
and<div class="wpr-lazyload-bg">
:https://wp-media.slack.com/files/U01FX2Z4GET/F06CCV8TRGU/3.15.7.png
It's causing HTML validation errors.
Expected behavior
We should add new
<style>
tags inside the<head>
, just after the<style id="wpr-lazyload-bg"></style>
, to make it easier for Support Team to find the tags.Additional context
Full conversation: (https://wp-media.slack.com/archives/CUKB44GNN/p1704297291848579)
Acceptance Criteria (for WP Media team use only)
<style>
tags should be in the<head>
just after the<style id="wpr-lazyload-bg"></style>
The text was updated successfully, but these errors were encountered: