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 531 matching lines...) Loading... |
542 EClear clear() const { return static_cast<EClear>(noninherited_flags.clear);
} | 542 EClear clear() const { return static_cast<EClear>(noninherited_flags.clear);
} |
543 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher
ited_flags.tableLayout); } | 543 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher
ited_flags.tableLayout); } |
544 bool isFixedTableLayout() const { return tableLayout() == TFIXED && !logical
Width().isAuto(); } | 544 bool isFixedTableLayout() const { return tableLayout() == TFIXED && !logical
Width().isAuto(); } |
545 | 545 |
546 const Font& font() const; | 546 const Font& font() const; |
547 const FontMetrics& fontMetrics() const; | 547 const FontMetrics& fontMetrics() const; |
548 const FontDescription& fontDescription() const; | 548 const FontDescription& fontDescription() const; |
549 float specifiedFontSize() const; | 549 float specifiedFontSize() const; |
550 float computedFontSize() const; | 550 float computedFontSize() const; |
551 int fontSize() const; | 551 int fontSize() const; |
| 552 float fontSizeAdjust() const; |
| 553 bool hasFontSizeAdjust() const; |
552 FontWeight fontWeight() const; | 554 FontWeight fontWeight() const; |
553 FontStretch fontStretch() const; | 555 FontStretch fontStretch() const; |
554 | 556 |
555 float textAutosizingMultiplier() const { return inherited->textAutosizingMul
tiplier; } | 557 float textAutosizingMultiplier() const { return inherited->textAutosizingMul
tiplier; } |
556 | 558 |
557 const Length& textIndent() const { return rareInheritedData->indent; } | 559 const Length& textIndent() const { return rareInheritedData->indent; } |
558 TextIndentLine textIndentLine() const { return static_cast<TextIndentLine>(r
areInheritedData->m_textIndentLine); } | 560 TextIndentLine textIndentLine() const { return static_cast<TextIndentLine>(r
areInheritedData->m_textIndentLine); } |
559 TextIndentType textIndentType() const { return static_cast<TextIndentType>(r
areInheritedData->m_textIndentType); } | 561 TextIndentType textIndentType() const { return static_cast<TextIndentType>(r
areInheritedData->m_textIndentType); } |
560 ETextAlign textAlign() const { return static_cast<ETextAlign>(inherited_flag
s._text_align); } | 562 ETextAlign textAlign() const { return static_cast<ETextAlign>(inherited_flag
s._text_align); } |
561 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } | 563 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } |
(...skipping 1296 matching lines...) Loading... |
1858 } | 1860 } |
1859 | 1861 |
1860 inline bool LayoutStyle::hasPseudoElementStyle() const | 1862 inline bool LayoutStyle::hasPseudoElementStyle() const |
1861 { | 1863 { |
1862 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1864 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1863 } | 1865 } |
1864 | 1866 |
1865 } // namespace blink | 1867 } // namespace blink |
1866 | 1868 |
1867 #endif // LayoutStyle_h | 1869 #endif // LayoutStyle_h |
OLD | NEW |