Lofesa commented on issue #1899: data-srcset in img and amp-img URL: https://github.com/apache/incubator-pagespeed-mod/pull/1899#issuecomment-503684487 @oschaaf Perhaps some like this?: ``` HtmlElement::Attribute* srcset[0] = element->FindAttribute(HtmlName::kSrcset); HtmlElement::Attribute* srcset[1] = element->FindAttribute(HtmlName::kDataSrcset); for (int i = 0; i == 1; i++){ if (srcset[i] != nullptr){ BeginRewriteSrcSet(element, srcset[i]); } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
