17279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol/*
27279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * Copyright (C) 2013 Igalia, S.L. All rights reserved.
37279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *
47279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * Redistribution and use in source and binary forms, with or without
57279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * modification, are permitted provided that the following conditions are
67279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * met:
77279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *
87279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *     * Redistributions of source code must retain the above copyright
97279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * notice, this list of conditions and the following disclaimer.
107279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *     * Redistributions in binary form must reproduce the above
117279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * copyright notice, this list of conditions and the following disclaimer
127279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * in the documentation and/or other materials provided with the
137279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * distribution.
147279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *     * Neither the name of Google Inc. nor the names of its
157279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * contributors may be used to endorse or promote products derived from
167279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * this software without specific prior written permission.
177279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol *
187279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
197279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
207279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
217279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
227279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
237279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
247279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
257279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
267279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
277279d663e984ae8a243f56c010f175fee9ffccb3Michal Krol * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28ea4bf267e4b023b08043f91ac44592fed1736e7fJosé Fonseca * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29abd5e8e41d54f7f491f91af9354f19c8d24d3572Michal Krol */
30abd5e8e41d54f7f491f91af9354f19c8d24d3572Michal Krol
31abd5e8e41d54f7f491f91af9354f19c8d24d3572Michal Krol#include "config.h"
32ffe58739da9eee2e99682747cc8f26e412c87430michal#include "core/css/CSSGridLineNamesValue.h"
3398eaf5503d0d7c4f18fab6910a08aba7a3d08639michal
3498eaf5503d0d7c4f18fab6910a08aba7a3d08639michalnamespace blink {
3598eaf5503d0d7c4f18fab6910a08aba7a3d08639michal
3655d29a8d48663982a1aeea414f69a5896b97d1eaJosé FonsecaString CSSGridLineNamesValue::customCSSText() const
3798eaf5503d0d7c4f18fab6910a08aba7a3d08639michal{
3898eaf5503d0d7c4f18fab6910a08aba7a3d08639michal    return "(" + CSSValueList::customCSSText() + ")";
39ffe58739da9eee2e99682747cc8f26e412c87430michal}
40ffe58739da9eee2e99682747cc8f26e412c87430michal
41ffe58739da9eee2e99682747cc8f26e412c87430michalCSSGridLineNamesValue::CSSGridLineNamesValue()
42ffe58739da9eee2e99682747cc8f26e412c87430michal    : CSSValueList(GridLineNamesClass, SpaceSeparator)
4398eaf5503d0d7c4f18fab6910a08aba7a3d08639michal{
44ffe58739da9eee2e99682747cc8f26e412c87430michal}
4598eaf5503d0d7c4f18fab6910a08aba7a3d08639michal
4698eaf5503d0d7c4f18fab6910a08aba7a3d08639michalPassRefPtrWillBeRawPtr<CSSGridLineNamesValue> CSSGridLineNamesValue::cloneForCSSOM() const
4798eaf5503d0d7c4f18fab6910a08aba7a3d08639michal{
4898eaf5503d0d7c4f18fab6910a08aba7a3d08639michal    return adoptRefWillBeNoop(new CSSGridLineNamesValue(*this));
49ffe58739da9eee2e99682747cc8f26e412c87430michal}
50ffe58739da9eee2e99682747cc8f26e412c87430michal
519053fcabcbf1b1c969a9a52585d232bb778eba63michal}
52ffe58739da9eee2e99682747cc8f26e412c87430michal
53ffe58739da9eee2e99682747cc8f26e412c87430michal