esp-html-bugs icon indicating copy to clipboard operation
esp-html-bugs copied to clipboard

Klaviyo - inlining all universal selector attributes

Open JayOram opened this issue 4 years ago • 0 comments

Klaviyo inlines all Universal selector (*) attributes - for example:

* {
                mso-line-height-rule: exactly;
                -webkit-text-size-adjust: none;
                -ms-text-size-adjust: none;
                box-sizing: border-box;
            }

Will become:

<table border="0" cellpadding="0" cellspacing="0" class="kmColumnContainer" style="-ms-text-size-adjust:none; -webkit-text-size-adjust:none; box-sizing:border-box; mso-line-height-rule:exactly"
                      width="100%">
                        <tbody style="-ms-text-size-adjust:none; -webkit-text-size-adjust:none; box-sizing:border-box; mso-line-height-rule:exactly">
                          <tr style="-ms-text-size-adjust:none; -webkit-text-size-adjust:none; box-sizing:border-box; mso-line-height-rule:exactly">
                            <td class="rowContainer" style="-ms-text-size-adjust:none; -webkit-text-size-adjust:none; box-sizing:border-box; mso-line-height-rule:exactly; border-collapse:collapse"
                            valign="top">

so will be added inline to all wrapping elements.

JayOram avatar Nov 01 '21 15:11 JayOram