Lines Matching full:style
78 m_hSpacing = collapseBorders() ? 0 : style()->horizontalBorderSpacing();
79 m_vSpacing = collapseBorders() ? 0 : style()->verticalBorderSpacing();
82 if (!m_tableLayout || style()->tableLayout() != oldTableLayout) {
85 if (style()->tableLayout() == TFIXED && !style()->width().isAuto())
111 if (child->isRenderBlock() && child->style()->display() == TABLE_CAPTION) {
127 switch (child->style()->display()) {
163 while (beforeChild && !beforeChild->isTableSection() && !beforeChild->isTableCol() && beforeChild->style()->display() != TABLE_CAPTION)
176 while (lastBox && lastBox->parent()->isAnonymous() && !lastBox->isTableSection() && lastBox->style()->display() != TABLE_CAPTION && lastBox->style()->display() != TABLE_COLUMN_GROUP)
183 if (beforeChild && !beforeChild->isTableSection() && beforeChild->style()->display() != TABLE_CAPTION && beforeChild->style()->display() != TABLE_COLUMN_GROUP)
187 newStyle->inheritFrom(style());
218 LengthType widthType = style()->width().type();
219 if (widthType > Relative && style()->width().isPositive()) {
221 setWidth(style()->width().calcMinValue(availableWidth));
230 if (!style()->marginLeft().isAuto())
231 marginTotal += style()->marginLeft().calcValue(availableWidth);
232 if (!style()->marginRight().isAuto())
233 marginTotal += style()->marginRight().calcValue(availableWidth);
252 calcHorizontalMargins(style()->marginLeft(), style()->marginRight(), availableWidth);
364 if (m_caption && m_caption->style()->captionSide() != CAPBOTTOM) {
387 Length h = style()->height();
402 if (!m_firstBody && th > calculatedHeight && !style()->htmlHacks()) {
427 if (m_caption && m_caption->style()->captionSide() == CAPBOTTOM) {
506 if ((paintPhase == PaintPhaseBlockBackground || paintPhase == PaintPhaseChildBlockBackground) && hasBoxDecorations() && style()->visibility() == VISIBLE)
531 if (collapseBorders() && paintPhase == PaintPhaseChildBlockBackground && style()->visibility() == VISIBLE) {
533 // have all the styles sorted, we then do individual passes, painting each style of border
565 if (m_caption->style()->captionSide() != CAPBOTTOM)
569 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Normal);
571 paintFillLayers(paintInfo, style()->backgroundColor(), style()->backgroundLayers(), tx, ty, w, h);
572 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Inset);
574 if (style()->hasBorder() && !collapseBorders())
575 paintBorder(paintInfo.context, tx, ty, w, h, style());
580 if (style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask)
590 if (m_caption->style()->captionSide() != CAPBOTTOM)
700 switch (child->style()->display()) {
772 const BorderValue& tb = style()->borderLeft();
773 if (tb.style() == BHIDDEN)
775 if (tb.style() > BHIDDEN)
778 int leftmostColumn = style()->direction() == RTL ? numEffCols() - 1 : 0;
781 const BorderValue& gb = style()->borderLeft();
782 if (gb.style() == BHIDDEN)
784 if (gb.style() > BHIDDEN)
793 const BorderValue& sb = firstNonEmptySection->style()->borderLeft();
794 if (sb.style() == BHIDDEN)
797 if (sb.style() > BHIDDEN)
803 const BorderValue& cb = cs.cell->style()->borderLeft();
804 if (cb.style() == BHIDDEN)
807 const BorderValue& rb = cs.cell->parent()->style()->borderLeft();
808 if (rb.style() == BHIDDEN)
811 if (cb.style() > BHIDDEN)
813 if (rb.style() > BHIDDEN)
831 const BorderValue& tb = style()->borderRight();
832 if (tb.style() == BHIDDEN)
834 if (tb.style() > BHIDDEN)
837 int rightmostColumn = style()->direction() == RTL ? 0 : numEffCols() - 1;
840 const BorderValue& gb = style()->borderRight();
841 if (gb.style() == BHIDDEN)
843 if (gb.style() > BHIDDEN)
852 const BorderValue& sb = firstNonEmptySection->style()->borderRight();
853 if (sb.style() == BHIDDEN)
856 if (sb.style() > BHIDDEN)
862 const BorderValue& cb = cs.cell->style()->borderRight();
863 if (cb.style() == BHIDDEN)
866 const BorderValue& rb = cs.cell->parent()->style()->borderRight();
867 if (rb.style() == BHIDDEN)
870 if (cb.style() > BHIDDEN)
872 if (rb.style() > BHIDDEN)
920 const BorderValue& tb = style()->borderTop();
921 if (tb.style() == BHIDDEN)
923 if (tb.style() > BHIDDEN)
946 const BorderValue& tb = style()->borderBottom();
947 if (tb.style() == BHIDDEN)
949 if (tb.style() > BHIDDEN)
961 const BorderValue& tb = style()->borderLeft();
962 if (tb.style() == BHIDDEN)
964 if (tb.style() > BHIDDEN)
991 const BorderValue& tb = style()->borderRight();
992 if (tb.style() == BHIDDEN)
994 if (tb.style() > BHIDDEN)