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 | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
6 * rights reserved. | 6 * rights reserved. |
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1847 } | 1847 } |
1848 TextEmphasisPosition GetTextEmphasisPosition() const { | 1848 TextEmphasisPosition GetTextEmphasisPosition() const { |
1849 return static_cast<TextEmphasisPosition>( | 1849 return static_cast<TextEmphasisPosition>( |
1850 rare_inherited_data_->text_emphasis_position_); | 1850 rare_inherited_data_->text_emphasis_position_); |
1851 } | 1851 } |
1852 void SetTextEmphasisPosition(TextEmphasisPosition position) { | 1852 void SetTextEmphasisPosition(TextEmphasisPosition position) { |
1853 SET_VAR(rare_inherited_data_, text_emphasis_position_, | 1853 SET_VAR(rare_inherited_data_, text_emphasis_position_, |
1854 static_cast<unsigned>(position)); | 1854 static_cast<unsigned>(position)); |
1855 } | 1855 } |
1856 | 1856 |
1857 // -webkit-highlight | |
1858 static const AtomicString& InitialHighlight() { return g_null_atom; } | |
1859 const AtomicString& Highlight() const { | |
1860 return rare_inherited_data_->highlight_; | |
1861 } | |
1862 void SetHighlight(const AtomicString& h) { | |
1863 SET_VAR(rare_inherited_data_, highlight_, h); | |
1864 } | |
1865 | |
1866 // -webkit-line-clamp | 1857 // -webkit-line-clamp |
1867 static LineClampValue InitialLineClamp() { return LineClampValue(); } | 1858 static LineClampValue InitialLineClamp() { return LineClampValue(); } |
1868 const LineClampValue& LineClamp() const { | 1859 const LineClampValue& LineClamp() const { |
1869 return rare_non_inherited_data_->line_clamp; | 1860 return rare_non_inherited_data_->line_clamp; |
1870 } | 1861 } |
1871 void SetLineClamp(LineClampValue c) { | 1862 void SetLineClamp(LineClampValue c) { |
1872 SET_VAR(rare_non_inherited_data_, line_clamp, c); | 1863 SET_VAR(rare_non_inherited_data_, line_clamp, c); |
1873 } | 1864 } |
1874 | 1865 |
1875 // -webkit-ruby-position | 1866 // -webkit-ruby-position |
(...skipping 1930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3806 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3797 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
3807 } | 3798 } |
3808 | 3799 |
3809 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3800 inline bool ComputedStyle::HasPseudoElementStyle() const { |
3810 return PseudoBitsInternal() & kElementPseudoIdMask; | 3801 return PseudoBitsInternal() & kElementPseudoIdMask; |
3811 } | 3802 } |
3812 | 3803 |
3813 } // namespace blink | 3804 } // namespace blink |
3814 | 3805 |
3815 #endif // ComputedStyle_h | 3806 #endif // ComputedStyle_h |
OLD | NEW |