Home | History | Annotate | Download | only in rendering

Lines Matching defs:floats

793         Vector<FloatWithRect> floats;
819 floats.append(FloatWithRect(box));
828 floats.append(FloatWithRect(box));
917 RootInlineBox* startLine = determineStartPosition(firstLine, fullLayout, previousLineBrokeCleanly, resolver, floats, floatIndex,
943 0 : determineEndPosition(startLine, floats, floatIndex, cleanLineStart, cleanLineBidiStatus, endLineLogicalTop);
965 // If the last line before the start line ends with a line break that clear floats,
1099 // We have to delete this line, remove all floats that got added, and let line layout re-run.
1133 ASSERT(f->m_renderer == floats[floatIndex].object);
1135 if (floats[floatIndex].rect != f->frameRect())
1219 size_t floatCount = floats.size();
1220 // Floats that did not have layout did not repaint when we laid them out. They would have
1224 if (!floats[i].everHadLayout) {
1225 RenderBox* f = floats[i].object;
1254 void RenderBlock::checkFloatsInCleanLine(RootInlineBox* line, Vector<FloatWithRect>& floats, size_t& floatIndex, bool& encounteredNewFloat, bool& dirtiedByFloat)
1265 ASSERT(floatIndex < floats.size());
1266 if (floats[floatIndex].object != floatingBox) {
1270 if (floats[floatIndex].rect.size() != newSize) {
1271 int floatTop = isHorizontalWritingMode() ? floats[floatIndex].rect.y() : floats[floatIndex].rect.x();
1272 int floatHeight = isHorizontalWritingMode() ? max(floats[floatIndex].rect.height(), newSize.height())
1273 : max(floats[floatIndex].rect.width(), newSize.width());
1277 floats[floatIndex].rect.setSize(newSize);
1285 InlineBidiResolver& resolver, Vector<FloatWithRect>& floats, unsigned& numCleanFloats,
1302 if (containsFloats() || !floats.isEmpty()) {
1303 // FIXME: Do better eventually. For now if we ever shift because of pagination and floats are present just go to a full layout.
1318 checkFloatsInCleanLine(curr, floats, floatIndex, fullLayout, dirtiedByFloat);
1323 if (!curr && floatIndex < floats.size())
1361 if (!floats.isEmpty()) {
1363 // Restore floats from clean lines.
1374 ASSERT(floats[numCleanFloats].object == *f);
1409 RootInlineBox* RenderBlock::determineEndPosition(RootInlineBox* startLine, Vector<FloatWithRect>& floats, size_t floatIndex, InlineIterator& cleanLineStart, BidiStatus& cleanLineBidiStatus, int& logicalTop)
1416 checkFloatsInCleanLine(curr, floats, floatIndex, encounteredNewFloat, dirtiedByFloat);
1455 // See if any floats end in the range along which we want to shift the lines vertically.
1492 // See if any floats end in the range along which we want to shift the lines vertically.
2294 // if we have floats, try to get below them.