| 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 } | 359 } |
| 360 | 360 |
| 361 public: | 361 public: |
| 362 static PassRefPtr<ComputedStyle> create(); | 362 static PassRefPtr<ComputedStyle> create(); |
| 363 static PassRefPtr<ComputedStyle> createAnonymousStyleWithDisplay(const Compu
tedStyle& parentStyle, EDisplay); | 363 static PassRefPtr<ComputedStyle> createAnonymousStyleWithDisplay(const Compu
tedStyle& parentStyle, EDisplay); |
| 364 static PassRefPtr<ComputedStyle> clone(const ComputedStyle&); | 364 static PassRefPtr<ComputedStyle> clone(const ComputedStyle&); |
| 365 | 365 |
| 366 // Computes how the style change should be propagated down the tree. | 366 // Computes how the style change should be propagated down the tree. |
| 367 static StyleRecalcChange stylePropagationDiff(const ComputedStyle* oldStyle,
const ComputedStyle* newStyle); | 367 static StyleRecalcChange stylePropagationDiff(const ComputedStyle* oldStyle,
const ComputedStyle* newStyle); |
| 368 | 368 |
| 369 const StyleSelfAlignmentData resolvedAlignment(const ComputedStyle& parentSt
yle, ItemPosition resolvedAutoPositionForLayoutObject) const; |
| 369 static ItemPosition resolveAlignment(const ComputedStyle& parentStyle, const
ComputedStyle& childStyle, ItemPosition resolvedAutoPositionForLayoutObject); | 370 static ItemPosition resolveAlignment(const ComputedStyle& parentStyle, const
ComputedStyle& childStyle, ItemPosition resolvedAutoPositionForLayoutObject); |
| 370 static ItemPosition resolveJustification(const ComputedStyle& parentStyle, c
onst ComputedStyle& childStyle, ItemPosition resolvedAutoPositionForLayoutObject
); | 371 static ItemPosition resolveJustification(const ComputedStyle& parentStyle, c
onst ComputedStyle& childStyle, ItemPosition resolvedAutoPositionForLayoutObject
); |
| 371 | 372 |
| 372 StyleDifference visualInvalidationDiff(const ComputedStyle&) const; | 373 StyleDifference visualInvalidationDiff(const ComputedStyle&) const; |
| 373 | 374 |
| 374 enum IsAtShadowBoundary { | 375 enum IsAtShadowBoundary { |
| 375 AtShadowBoundary, | 376 AtShadowBoundary, |
| 376 NotAtShadowBoundary, | 377 NotAtShadowBoundary, |
| 377 }; | 378 }; |
| 378 | 379 |
| (...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2008 } | 2009 } |
| 2009 | 2010 |
| 2010 inline bool ComputedStyle::hasPseudoElementStyle() const | 2011 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2011 { | 2012 { |
| 2012 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2013 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 2013 } | 2014 } |
| 2014 | 2015 |
| 2015 } // namespace blink | 2016 } // namespace blink |
| 2016 | 2017 |
| 2017 #endif // ComputedStyle_h | 2018 #endif // ComputedStyle_h |
| OLD | NEW |