• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/css/

Lines Matching defs:image

502 void CSSToStyleMap::mapNinePieceImage(CSSPropertyID property, CSSValue* value, NinePieceImage& image)
504 // If we're not a value list, then we are "none" and don't need to alter the empty image at all.
508 // Retrieve the border image value.
511 // Set the image (this kicks off the load).
528 image.setImage(styleImage(imageProperty, current));
530 mapNinePieceImageSlice(current, image);
533 // Map in the image slices.
535 mapNinePieceImageSlice(slashList->item(0), image);
539 image.setBorderSlices(mapNinePieceImageQuad(slashList->item(1)));
543 image.setOutset(mapNinePieceImageQuad(slashList->item(2)));
546 mapNinePieceImageRepeat(current, image);
551 // We have to preserve the legacy behavior of -webkit-border-image and make the border slices
554 if (image.borderSlices().top().isFixed())
555 style()->setBorderTopWidth(image.borderSlices().top().value());
556 if (image.borderSlices().right().isFixed())
557 style()->setBorderRightWidth(image.borderSlices().right().value());
558 if (image.borderSlices().bottom().isFixed())
559 style()->setBorderBottomWidth(image.borderSlices().bottom().value());
560 if (image.borderSlices().left().isFixed())
561 style()->setBorderLeftWidth(image.borderSlices().left().value());
565 void CSSToStyleMap::mapNinePieceImageSlice(CSSValue* value, NinePieceImage& image)
570 // Retrieve the border image value.
573 // Set up a length box to represent our image slices.
592 image.setImageSlices(box);
595 image.setFill(borderImageSlice->m_fill);
609 // Set up a length box to represent our image slices.
643 void CSSToStyleMap::mapNinePieceImageRepeat(CSSValue* value, NinePieceImage& image)
671 image.setHorizontalRule(horizontalRule);
688 image.setVerticalRule(verticalRule);