Lines Matching defs:display

59 static EDisplay equivalentBlockDisplay(EDisplay display, bool isFloating, bool strictParsing)
61 switch (display) {
67 return display;
73 return display;
107 return style->display() == TABLE || style->display() == INLINE_TABLE
108 || style->display() == INLINE_BLOCK || style->display() == INLINE_BOX || isAtShadowBoundary(e)
159 if (style->display() != NONE) {
167 // Absolute/fixed positioned elements, floating elements and the document element need block-like outside display.
169 style->setDisplay(equivalentBlockDisplay(style->display(), style->isFloating(), !m_useQuirksModeStyles));
330 // Sites commonly use display:inline/block on <td>s and <table>s. In quirks mode we force
331 // these tags to retain their display types.
342 // fix a crash where a site tries to position these objects. They also never honor display.
406 if (style->display() == TABLE || style->display() == INLINE_TABLE
407 || style->display() == TABLE_ROW_GROUP || style->display() == TABLE_ROW) {
423 if (style->display() == BLOCK && !style->isFloating())
428 if (style->display() == INLINE && style->styleType() == NOPSEUDO && style->writingMode() != parentStyle->writingMode())
431 // After performing the display mutation, check table rows. We do not honor position: relative table rows or cells.
434 if ((style->display() == TABLE_HEADER_GROUP || style->display() == TABLE_ROW_GROUP
435 || style->display() == TABLE_FOOTER_GROUP || style->display() == TABLE_ROW)
441 if (style->display() == TABLE_COLUMN || style->display() == TABLE_COLUMN_GROUP || style->display() == TABLE_FOOTER_GROUP
442 || style->display() == TABLE_HEADER_GROUP || style->display() == TABLE_ROW || style->display() == TABLE_ROW_GROUP
443 || style->display() == TABLE_CELL)
449 if (style->writingMode() != TopToBottomWritingMode && (style->display() == BOX || style->display() == INLINE_BOX))
454 style->setDisplay(equivalentBlockDisplay(style->display(), style->isFloating(), !m_useQuirksModeStyles));