OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 float floodOpacity() const { return svgStyle().floodOpacity(); } | 1474 float floodOpacity() const { return svgStyle().floodOpacity(); } |
1475 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } | 1475 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } |
1476 | 1476 |
1477 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1477 float stopOpacity() const { return svgStyle().stopOpacity(); } |
1478 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1478 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
1479 | 1479 |
1480 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } | 1480 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } |
1481 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } | 1481 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
1482 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } | 1482 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } |
1483 | 1483 |
| 1484 EBaselineShift baselineShift() const { return svgStyle().baselineShift(); } |
1484 const Length& baselineShiftValue() const { return svgStyle().baselineShiftVa
lue(); } | 1485 const Length& baselineShiftValue() const { return svgStyle().baselineShiftVa
lue(); } |
1485 void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineSh
iftValue(s); } | 1486 void setBaselineShiftValue(const Length& value) |
| 1487 { |
| 1488 SVGComputedStyle& svgStyle = accessSVGStyle(); |
| 1489 svgStyle.setBaselineShift(BS_LENGTH); |
| 1490 svgStyle.setBaselineShiftValue(value); |
| 1491 } |
1486 | 1492 |
1487 void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value) | 1493 void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value) |
1488 { | 1494 { |
1489 if (rareNonInheritedData->m_shapeOutside == value) | 1495 if (rareNonInheritedData->m_shapeOutside == value) |
1490 return; | 1496 return; |
1491 rareNonInheritedData.access()->m_shapeOutside = value; | 1497 rareNonInheritedData.access()->m_shapeOutside = value; |
1492 } | 1498 } |
1493 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } | 1499 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } |
1494 | 1500 |
1495 static ShapeValue* initialShapeOutside() { return 0; } | 1501 static ShapeValue* initialShapeOutside() { return 0; } |
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1958 } | 1964 } |
1959 | 1965 |
1960 inline bool ComputedStyle::hasPseudoElementStyle() const | 1966 inline bool ComputedStyle::hasPseudoElementStyle() const |
1961 { | 1967 { |
1962 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1968 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1963 } | 1969 } |
1964 | 1970 |
1965 } // namespace blink | 1971 } // namespace blink |
1966 | 1972 |
1967 #endif // ComputedStyle_h | 1973 #endif // ComputedStyle_h |
OLD | NEW |