Lines Matching refs:RenderStyle
28 #include "RenderStyle.h"
80 // This class selects a RenderStyle for a given element based on a collection of stylesheets.
89 void initForStyleResolve(Element*, RenderStyle* parentStyle = 0, PseudoId = NOPSEUDO);
90 PassRefPtr<RenderStyle> styleForElement(Element*, RenderStyle* parentStyle = 0, bool allowSharing = true, bool resolveForRootDefault = false);
91 void keyframeStylesForAnimation(Element*, const RenderStyle*, KeyframeList& list);
93 PassRefPtr<RenderStyle> pseudoStyleForElement(PseudoId, Element*, RenderStyle* parentStyle = 0);
95 static PassRefPtr<RenderStyle> styleForDocument(Document*);
99 PassRefPtr<RenderStyle> pseudoStyleForDataGridColumn(DataGridColumn*, RenderStyle* parentStyle);
100 PassRefPtr<RenderStyle> pseudoStyleForDataGridColumnHeader(DataGridColumn*, RenderStyle* parentStyle);
104 RenderStyle* locateSharedStyle();
108 RenderStyle* style() const { return m_style.get(); }
128 void setStyle(PassRefPtr<RenderStyle> s) { m_style = s; } // Used by the document when setting up its root style.
131 void applyPropertyToStyle(int id, CSSValue*, RenderStyle*);
159 static bool createTransformOperations(CSSValue* inValue, RenderStyle* inStyle, RenderStyle* rootStyle, TransformOperations& outOperations);
165 void checkForGenericFamilyChange(RenderStyle*, RenderStyle* parentStyle);
166 void checkForZoomChange(RenderStyle*, RenderStyle* parentStyle);
169 void adjustRenderStyle(RenderStyle*, Element*);
192 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable; }
199 SelectorMatch checkSelector(CSSSelector*, Element*, HashSet<AtomicStringImpl*>* selectorAttrs, PseudoId& dynamicPseudo, bool isAncestor, bool isSubSelector, RenderStyle* = 0, RenderStyle* elementParentStyle = 0) const;
200 bool checkOneSelector(CSSSelector*, Element*, HashSet<AtomicStringImpl*>* selectorAttrs, PseudoId& dynamicPseudo, bool isAncestor, bool isSubSelector, RenderStyle*, RenderStyle* elementParentStyle) const;
216 static RenderStyle* s_styleNotYetAvailable;
266 RefPtr<RenderStyle> m_rootDefaultStyle;
272 RefPtr<RenderStyle> m_style;
273 RenderStyle* m_parentStyle;
274 RenderStyle* m_rootElementStyle;