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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 float floodOpacity() const { return svgStyle().floodOpacity(); } | 1463 float floodOpacity() const { return svgStyle().floodOpacity(); } |
1464 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } | 1464 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } |
1465 | 1465 |
1466 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1466 float stopOpacity() const { return svgStyle().stopOpacity(); } |
1467 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1467 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
1468 | 1468 |
1469 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } | 1469 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } |
1470 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } | 1470 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
1471 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } | 1471 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } |
1472 | 1472 |
| 1473 EBaselineShift baselineShift() const { return svgStyle().baselineShift(); } |
1473 const Length& baselineShiftValue() const { return svgStyle().baselineShiftVa
lue(); } | 1474 const Length& baselineShiftValue() const { return svgStyle().baselineShiftVa
lue(); } |
1474 void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineSh
iftValue(s); } | 1475 void setBaselineShiftValue(const Length& value) |
| 1476 { |
| 1477 SVGComputedStyle& svgStyle = accessSVGStyle(); |
| 1478 svgStyle.setBaselineShift(BS_LENGTH); |
| 1479 svgStyle.setBaselineShiftValue(value); |
| 1480 } |
1475 | 1481 |
1476 void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value) | 1482 void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value) |
1477 { | 1483 { |
1478 if (rareNonInheritedData->m_shapeOutside == value) | 1484 if (rareNonInheritedData->m_shapeOutside == value) |
1479 return; | 1485 return; |
1480 rareNonInheritedData.access()->m_shapeOutside = value; | 1486 rareNonInheritedData.access()->m_shapeOutside = value; |
1481 } | 1487 } |
1482 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } | 1488 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } |
1483 | 1489 |
1484 static ShapeValue* initialShapeOutside() { return 0; } | 1490 static ShapeValue* initialShapeOutside() { return 0; } |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1941 } | 1947 } |
1942 | 1948 |
1943 inline bool ComputedStyle::hasPseudoElementStyle() const | 1949 inline bool ComputedStyle::hasPseudoElementStyle() const |
1944 { | 1950 { |
1945 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1951 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1946 } | 1952 } |
1947 | 1953 |
1948 } // namespace blink | 1954 } // namespace blink |
1949 | 1955 |
1950 #endif // ComputedStyle_h | 1956 #endif // ComputedStyle_h |
OLD | NEW |