Lines Matching defs:attributeValue

97 static bool mediaAttributeMatches(const MediaValues& mediaValues, const String& attributeValue)
99 RefPtrWillBeRawPtr<MediaQuerySet> mediaQueries = MediaQuerySet::createOffMainThread(attributeValue);
142 String attributeValue = StringImpl::create8BitIfPossible(iter->value);
143 processAttribute(attributeName, attributeValue);
180 void processScriptAttribute(const NameType& attributeName, const String& attributeValue)
184 setUrlToLoad(attributeValue, DisallowURLReplacement);
186 setCrossOriginAllowed(attributeValue);
194 void processImgAttribute(const NameType& attributeName, const String& attributeValue)
197 m_imgSrcUrl = attributeValue;
198 setUrlToLoad(bestFitSourceForImageAttributes(m_mediaValues->devicePixelRatio(), m_sourceSize, attributeValue, m_srcsetImageCandidate), AllowURLReplacement);
200 setCrossOriginAllowed(attributeValue);
202 m_srcsetAttributeValue = attributeValue;
203 m_srcsetImageCandidate = bestFitSourceForSrcsetAttribute(m_mediaValues->devicePixelRatio(), m_sourceSize, attributeValue);
206 m_sourceSize = SizesAttributeParser(m_mediaValues, attributeValue).length();
216 void processLinkAttribute(const NameType& attributeName, const String& attributeValue)
220 setUrlToLoad(attributeValue, DisallowURLReplacement);
222 m_linkIsStyleSheet = relAttributeIsStyleSheet(attributeValue);
224 m_matchedMediaAttribute = mediaAttributeMatches(*m_mediaValues, attributeValue);
226 setCrossOriginAllowed(attributeValue);
230 void processInputAttribute(const NameType& attributeName, const String& attributeValue)
234 setUrlToLoad(attributeValue, DisallowURLReplacement);
236 m_inputIsImage = equalIgnoringCase(attributeValue, InputTypeNames::image);
240 void processSourceAttribute(const NameType& attributeName, const String& attributeValue)
245 m_srcsetAttributeValue = attributeValue;
246 m_srcsetImageCandidate = bestFitSourceForSrcsetAttribute(m_mediaValues->devicePixelRatio(), m_sourceSize, attributeValue);
248 m_sourceSize = SizesAttributeParser(m_mediaValues, attributeValue).length();
255 m_matchedMediaAttribute = mediaAttributeMatches(*m_mediaValues, attributeValue);
261 void processAttribute(const NameType& attributeName, const String& attributeValue)
264 m_charset = attributeValue;
267 processScriptAttribute(attributeName, attributeValue);
269 processImgAttribute(attributeName, attributeValue);
271 processLinkAttribute(attributeName, attributeValue);
273 processInputAttribute(attributeName, attributeValue);
275 processSourceAttribute(attributeName, attributeValue);
278 static bool relAttributeIsStyleSheet(const String& attributeValue)
280 LinkRelAttribute rel(attributeValue);