Home
last modified time | relevance | path

Searched refs:styleEngine (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DAffectedByFocusTest.cpp212 unsigned startCount = document().styleEngine()->resolverAccessCount(); in TEST_F()
217 unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; in TEST_F()
243 unsigned startCount = document().styleEngine()->resolverAccessCount(); in TEST_F()
248 unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; in TEST_F()
274 unsigned startCount = document().styleEngine()->resolverAccessCount(); in TEST_F()
279 unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; in TEST_F()
306 unsigned startCount = document().styleEngine()->resolverAccessCount(); in TEST_F()
311 unsigned accessCount = document().styleEngine()->resolverAccessCount() - startCount; in TEST_F()
DDragUpdateTest.cpp33 unsigned startCount = document->styleEngine()->resolverAccessCount(); in TEST()
38 unsigned accessCount = document->styleEngine()->resolverAccessCount() - startCount; in TEST()
59 unsigned startCount = document->styleEngine()->resolverAccessCount(); in TEST()
64 unsigned accessCount = document->styleEngine()->resolverAccessCount() - startCount; in TEST()
DStyleSheetList.cpp49 return document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope); in styleSheets()
55 m_detachedStyleSheets = document()->styleEngine()->styleSheetsForStyleSheetList(*m_treeScope); in detachFromDocument()
DFontFaceSet.cpp296 CSSFontSelector* fontSelector = document()->styleEngine()->fontSelector(); in add()
308 CSSFontSelector* fontSelector = document()->styleEngine()->fontSelector(); in clear()
330 CSSFontSelector* fontSelector = document()->styleEngine()->fontSelector(); in remove()
357 return d->styleEngine()->fontSelector()->fontFaceCache()->cssConnectedFontFaces(); in cssConnectedFontFaceList()
458 FontFaceCache* fontFaceCache = document()->styleEngine()->fontSelector()->fontFaceCache(); in load()
483 CSSFontSelector* fontSelector = document()->styleEngine()->fontSelector(); in check()
546 font.update(document()->styleEngine()->fontSelector()); in resolveFontStyle()
DStyleSheetContents.cpp586 document->styleEngine()->removeSheet(this); in removeSheetFromCache()
622 document->styleEngine()->clearResolver(); in clearResolvers()
648 …ownerNode->document().styleEngine()->removeFontFaceRules(WillBeHeapVector<RawPtrWillBeMember<const… in removeFontFaceRules()
DFontFace.cpp429 toDocument(context)->styleEngine()->fontSelector()->fontLoader()->loadPendingFonts(); in loadInternal()
572 FontLoader* fontLoader = document->styleEngine()->fontSelector()->fontLoader(); in initCSSFontFace()
DSelectorChecker.cpp156 context.element->document().styleEngine()->setUsesFirstLetterRules(true); in match()
602 …else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element… in checkOne()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DProcessingInstruction.cpp67 document().styleEngine()->removeStyleSheetCandidateNode(this); in ~ProcessingInstruction()
69 document().styleEngine()->removeXSLStyleSheet(this); in ~ProcessingInstruction()
165 document().styleEngine()->addPendingSheet(); in process()
182 document().styleEngine()->removePendingSheet(this); in sheetLoaded()
260 document().styleEngine()->addStyleSheetCandidateNode(this, m_createdByParser); in insertedInto()
262 document().styleEngine()->addXSLStyleSheet(this, m_createdByParser); in insertedInto()
275 document().styleEngine()->removeStyleSheetCandidateNode(this); in removedFrom()
277 document().styleEngine()->removeXSLStyleSheet(this); in removedFrom()
295 document().styleEngine()->removePendingSheet(this); in clearSheet()
DStyleElement.cpp70 document.styleEngine()->addStyleSheetCandidateNode(element, m_createdByParser); in processStyleSheet()
87 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); in removedFromDocument()
107 document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); in clearDocumentData()
139 ownerElement->document().styleEngine()->removePendingSheet(ownerElement); in clearSheet()
168 … m_sheet = document.styleEngine()->createSheet(e, text, startPosition, m_createdByParser); in createSheet()
190 document.styleEngine()->removePendingSheet(m_sheet->ownerNode()); in sheetLoaded()
196 document.styleEngine()->addPendingSheet(); in startLoadingDynamicSheet()
DDocumentStyleSheetCollection.cpp62 document->styleEngine()->updateStyleSheetsInImport(collector); in collectStyleSheetsFromCandidates()
87 ASSERT(document().styleEngine() == engine); in collectStyleSheets()
DStyleEngine.cpp505 master->styleEngine()->clearResolver(); in clearMasterResolver()
607 document().importsController()->master()->styleEngine()->markDocumentDirty(); in markDocumentDirty()
629 e->document().styleEngine()->addPendingSheet(); in createSheet()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLLinkElement.cpp156 document().styleEngine()->removeStyleSheetCandidateNode(this); in ~HTMLLinkElement()
271 document().styleEngine()->addStyleSheetCandidateNode(this, m_createdByParser); in insertedInto()
293 document().styleEngine()->removeStyleSheetCandidateNode(this); in removedFrom()
568 m_owner->document().styleEngine()->addPendingSheet(); in addPendingSheet()
580 m_owner->document().styleEngine()->modifiedStyleSheetCandidateNode(m_owner); in removePendingSheet()
588 m_owner->document().styleEngine()->removePendingSheet(m_owner); in removePendingSheet()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderBR.cpp47 RenderStyle* s = style(firstLine && document().styleEngine()->usesFirstLineRules()); in lineHeight()
DRenderListBox.cpp146 itemFont.update(document().styleEngine()->fontSelector()); in updateFromElement()
470 itemFont.update(document().styleEngine()->fontSelector()); in paintItemForeground()
DRenderInline.cpp233 if (!alwaysCreateLineBoxes && checkFonts && document().styleEngine()->usesFirstLineRules()) { in updateAlwaysCreateLineBoxes()
1299 if (firstLine && document().styleEngine()->usesFirstLineRules()) { in lineHeight()
/external/chromium_org/third_party/WebKit/Source/core/page/
DInjectedStyleSheets.cpp60 toLocalFrame(frame)->document()->styleEngine()->invalidateInjectedStyleSheetCache(); in invalidateInjectedStyleSheetCacheInAllFrames()
DPage.cpp541 toLocalFrame(frame)->document()->styleEngine()->updateGenericFontFamilySettings(); in settingsChanged()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebDocumentTest.cpp40 unsigned accessCount = coreDoc->styleEngine()->resolverAccessCount(); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFontFaceElement.cpp336 if (document().isActive() && document().styleEngine()->fontSelector()) { in removedFrom()
337 document().styleEngine()->fontSelector()->fontFaceCache()->remove(m_fontFaceRule.get()); in removedFrom()
/external/chromium_org/third_party/WebKit/Source/core/html/imports/
DHTMLImportTreeRoot.cpp45 return !m_document->parsing() && m_document->styleEngine()->haveStylesheetsLoaded(); in isDone()
DHTMLImportLoader.cpp169 return m_document && m_document->styleEngine()->hasPendingSheets(); in hasPendingResources()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResolver.cpp155 … addFontFaceRule(&document, document.styleEngine()->fontSelector(), (*it)->fontFaceRule()); in StyleResolver()
222 document().renderView()->style()->font().update(document().styleEngine()->fontSelector()); in finishAppendAuthorStyleSheets()
226 document().styleEngine()->resetCSSFeatureFlags(m_features); in finishAppendAuthorStyleSheets()
250 … addFontFaceRule(&m_document, document().styleEngine()->fontSelector(), fontFaceRules[i]); in processScopedRules()
592 document().styleEngine()->fontSelector()->fontLoader()->loadPendingFonts(); in loadPendingResources()
609 s_styleNotYetAvailable->font().update(document().styleEngine()->fontSelector()); in styleForElement()
956 state.style()->font().update(document().styleEngine()->fontSelector()); in defaultStyleForElement()
973 …state.fontBuilder().createFont(document().styleEngine()->fontSelector(), state.parentStyle(), stat… in updateFont()
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
DShadowRoot.cpp75 document().styleEngine()->didRemoveShadowRoot(this); in ~ShadowRoot()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGInlineText.cpp238 scaledFont.update(document.styleEngine()->fontSelector()); in computeNewScaledFontForStyle()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDocument.cpp220 document->styleEngine()->addAuthorSheet(parsedSheet); in insertStyleSheet()

12