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 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1094 | 1094 |
1095 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual,
clip, ComputedStyle::initialClip()); } | 1095 void setHasAutoClip() { SET_VAR(visual, hasAutoClip, true); SET_VAR(visual,
clip, ComputedStyle::initialClip()); } |
1096 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE
T_VAR(visual, clip, box); } | 1096 void setClip(const LengthBox& box) { SET_VAR(visual, hasAutoClip, false); SE
T_VAR(visual, clip, box); } |
1097 | 1097 |
1098 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; } | 1098 void setUnicodeBidi(EUnicodeBidi b) { noninherited_flags.unicodeBidi = b; } |
1099 | 1099 |
1100 void setClear(EClear v) { noninherited_flags.clear = v; } | 1100 void setClear(EClear v) { noninherited_flags.clear = v; } |
1101 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; } | 1101 void setTableLayout(ETableLayout v) { noninherited_flags.tableLayout = v; } |
1102 | 1102 |
1103 bool setFontDescription(const FontDescription&); | 1103 bool setFontDescription(const FontDescription&); |
| 1104 void setFont(const Font&); |
1104 | 1105 |
1105 void setTextAutosizingMultiplier(float); | 1106 void setTextAutosizingMultiplier(float); |
1106 | 1107 |
1107 void setColor(const Color&); | 1108 void setColor(const Color&); |
1108 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v);
} | 1109 void setTextIndent(const Length& v) { SET_VAR(rareInheritedData, indent, v);
} |
1109 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text
IndentLine, v); } | 1110 void setTextIndentLine(TextIndentLine v) { SET_VAR(rareInheritedData, m_text
IndentLine, v); } |
1110 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text
IndentType, v); } | 1111 void setTextIndentType(TextIndentType v) { SET_VAR(rareInheritedData, m_text
IndentType, v); } |
1111 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; } | 1112 void setTextAlign(ETextAlign v) { inherited_flags._text_align = v; } |
1112 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl
ignLast, v); } | 1113 void setTextAlignLast(TextAlignLast v) { SET_VAR(rareInheritedData, m_textAl
ignLast, v); } |
1113 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif
y, v); } | 1114 void setTextJustify(TextJustify v) { SET_VAR(rareInheritedData, m_textJustif
y, v); } |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 } | 1916 } |
1916 | 1917 |
1917 inline bool ComputedStyle::hasPseudoElementStyle() const | 1918 inline bool ComputedStyle::hasPseudoElementStyle() const |
1918 { | 1919 { |
1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1920 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1920 } | 1921 } |
1921 | 1922 |
1922 } // namespace blink | 1923 } // namespace blink |
1923 | 1924 |
1924 #endif // ComputedStyle_h | 1925 #endif // ComputedStyle_h |
OLD | NEW |