| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2695 if (root->type() == ShadowRoot::UserAgentShadowRoot) { | 2695 if (root->type() == ShadowRoot::UserAgentShadowRoot) { |
| 2696 if (Element* shadowHost = node()->shadowHost()) { | 2696 if (Element* shadowHost = node()->shadowHost()) { |
| 2697 return shadowHost->renderer()->getUncachedPseudoStyle(PseudoStyl
eRequest(SELECTION)); | 2697 return shadowHost->renderer()->getUncachedPseudoStyle(PseudoStyl
eRequest(SELECTION)); |
| 2698 } | 2698 } |
| 2699 } | 2699 } |
| 2700 } | 2700 } |
| 2701 | 2701 |
| 2702 return getUncachedPseudoStyle(PseudoStyleRequest(SELECTION)); | 2702 return getUncachedPseudoStyle(PseudoStyleRequest(SELECTION)); |
| 2703 } | 2703 } |
| 2704 | 2704 |
| 2705 bool RenderObject::hasBlendMode() const | |
| 2706 { | |
| 2707 return RuntimeEnabledFeatures::cssCompositingEnabled() && style() && style()
->hasBlendMode(); | |
| 2708 } | |
| 2709 | |
| 2710 void RenderObject::getTextDecorations(unsigned decorations, AppliedTextDecoratio
n& underline, AppliedTextDecoration& overline, AppliedTextDecoration& linethroug
h, bool quirksMode, bool firstlineStyle) | 2705 void RenderObject::getTextDecorations(unsigned decorations, AppliedTextDecoratio
n& underline, AppliedTextDecoration& overline, AppliedTextDecoration& linethroug
h, bool quirksMode, bool firstlineStyle) |
| 2711 { | 2706 { |
| 2712 RenderObject* curr = this; | 2707 RenderObject* curr = this; |
| 2713 RenderStyle* styleToUse = 0; | 2708 RenderStyle* styleToUse = 0; |
| 2714 unsigned currDecs = TextDecorationNone; | 2709 unsigned currDecs = TextDecorationNone; |
| 2715 Color resultColor; | 2710 Color resultColor; |
| 2716 TextDecorationStyle resultStyle; | 2711 TextDecorationStyle resultStyle; |
| 2717 do { | 2712 do { |
| 2718 styleToUse = curr->style(firstlineStyle); | 2713 styleToUse = curr->style(firstlineStyle); |
| 2719 currDecs = styleToUse->textDecoration(); | 2714 currDecs = styleToUse->textDecoration(); |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3137 { | 3132 { |
| 3138 if (object1) { | 3133 if (object1) { |
| 3139 const blink::RenderObject* root = object1; | 3134 const blink::RenderObject* root = object1; |
| 3140 while (root->parent()) | 3135 while (root->parent()) |
| 3141 root = root->parent(); | 3136 root = root->parent(); |
| 3142 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3137 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 3143 } | 3138 } |
| 3144 } | 3139 } |
| 3145 | 3140 |
| 3146 #endif | 3141 #endif |
| OLD | NEW |