This source file includes following definitions.
- createBorderImageValue
#include "config.h"
#include "core/css/CSSBorderImage.h"
namespace WebCore {
PassRefPtrWillBeRawPtr<CSSValueList> createBorderImageValue(PassRefPtrWillBeRawPtr<CSSValue> image, PassRefPtrWillBeRawPtr<CSSValue> imageSlice,
PassRefPtrWillBeRawPtr<CSSValue> borderSlice, PassRefPtrWillBeRawPtr<CSSValue> outset, PassRefPtrWillBeRawPtr<CSSValue> repeat)
{
RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
if (image)
list->append(image);
if (borderSlice || outset) {
RefPtrWillBeRawPtr<CSSValueList> listSlash = CSSValueList::createSlashSeparated();
if (imageSlice)
listSlash->append(imageSlice);
if (borderSlice)
listSlash->append(borderSlice);
if (outset)
listSlash->append(outset);
list->append(listSlash);
} else if (imageSlice)
list->append(imageSlice);
if (repeat)
list->append(repeat);
return list.release();
}
}