Lines Matching full:xpos
254 int InlineFlowBox::placeBoxesHorizontally(int xPos, bool& needsWordSpacing)
257 setX(xPos);
259 int leftLayoutOverflow = xPos;
260 int rightLayoutOverflow = xPos;
261 int leftVisualOverflow = xPos;
262 int rightVisualOverflow = xPos;
268 leftVisualOverflow = min(xPos + boxShadowLeft, leftVisualOverflow);
270 int startX = xPos;
271 xPos += borderLeft() + paddingLeft();
279 xPos += rt->style(m_firstLine)->font().wordSpacing();
282 text->setX(xPos);
289 rightLayoutOverflow = max(xPos + text->width() - letterSpacing, rightLayoutOverflow);
301 leftVisualOverflow = min(xPos + childOverflowLeft, leftVisualOverflow);
302 rightVisualOverflow = max(xPos + text->width() + childOverflowRight, rightVisualOverflow);
304 xPos += text->width();
308 curr->setX(xPos);
313 curr->setX(root()->block()->width() - xPos);
318 xPos += flow->marginLeft();
319 xPos = flow->placeBoxesHorizontally(xPos, needsWordSpacing);
320 xPos += flow->marginRight();
326 xPos += curr->boxModelObject()->marginLeft();
327 curr->setX(xPos);
333 leftLayoutOverflow = min(xPos + childLeftOverflow, leftLayoutOverflow);
334 rightLayoutOverflow = max(xPos + childRightOverflow, rightLayoutOverflow);
336 leftVisualOverflow = min(xPos + box->leftVisualOverflow(), leftVisualOverflow);
337 rightVisualOverflow = max(xPos + box->rightVisualOverflow(), rightVisualOverflow);
339 xPos += curr->width() + curr->boxModelObject()->marginRight();
344 xPos += borderRight() + paddingRight();
345 setWidth(xPos - startX);
350 return xPos;