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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 | 363 |
364 void setBitDefaults() { | 364 void setBitDefaults() { |
365 ComputedStyleBase::setBitDefaults(); | 365 ComputedStyleBase::setBitDefaults(); |
366 m_inheritedData.m_captionSide = static_cast<unsigned>(initialCaptionSide()); | 366 m_inheritedData.m_captionSide = static_cast<unsigned>(initialCaptionSide()); |
367 m_inheritedData.m_listStyleType = | 367 m_inheritedData.m_listStyleType = |
368 static_cast<unsigned>(initialListStyleType()); | 368 static_cast<unsigned>(initialListStyleType()); |
369 m_inheritedData.m_listStylePosition = | 369 m_inheritedData.m_listStylePosition = |
370 static_cast<unsigned>(initialListStylePosition()); | 370 static_cast<unsigned>(initialListStylePosition()); |
371 m_inheritedData.m_textAlign = static_cast<unsigned>(initialTextAlign()); | 371 m_inheritedData.m_textAlign = static_cast<unsigned>(initialTextAlign()); |
372 m_inheritedData.m_textTransform = initialTextTransform(); | 372 m_inheritedData.m_textTransform = initialTextTransform(); |
373 m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor()); | |
374 m_inheritedData.m_hasSimpleUnderline = false; | 373 m_inheritedData.m_hasSimpleUnderline = false; |
375 m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor()); | 374 m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor()); |
376 m_inheritedData.m_direction = initialDirection(); | 375 m_inheritedData.m_direction = initialDirection(); |
377 m_inheritedData.m_whiteSpace = initialWhiteSpace(); | 376 m_inheritedData.m_whiteSpace = initialWhiteSpace(); |
378 m_inheritedData.m_borderCollapse = initialBorderCollapse(); | 377 m_inheritedData.m_borderCollapse = initialBorderCollapse(); |
379 m_inheritedData.m_rtlOrdering = initialRTLOrdering(); | 378 m_inheritedData.m_rtlOrdering = initialRTLOrdering(); |
380 m_inheritedData.m_boxDirection = initialBoxDirection(); | 379 m_inheritedData.m_boxDirection = initialBoxDirection(); |
381 m_inheritedData.m_printColorAdjust = initialPrintColorAdjust(); | 380 m_inheritedData.m_printColorAdjust = initialPrintColorAdjust(); |
382 m_inheritedData.m_pointerEvents = initialPointerEvents(); | 381 m_inheritedData.m_pointerEvents = initialPointerEvents(); |
383 m_inheritedData.m_insideLink = NotInsideLink; | 382 m_inheritedData.m_insideLink = NotInsideLink; |
(...skipping 3728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4112 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 4111 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
4113 } | 4112 } |
4114 | 4113 |
4115 inline bool ComputedStyle::hasPseudoElementStyle() const { | 4114 inline bool ComputedStyle::hasPseudoElementStyle() const { |
4116 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 4115 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
4117 } | 4116 } |
4118 | 4117 |
4119 } // namespace blink | 4118 } // namespace blink |
4120 | 4119 |
4121 #endif // ComputedStyle_h | 4120 #endif // ComputedStyle_h |
OLD | NEW |