Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: Source/core/dom/NodeRenderingContext.h

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch (fixed test that was expected to fail and is now passing) Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
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 29 matching lines...) Expand all
40 class Node; 40 class Node;
41 class RenderNamedFlowThread; 41 class RenderNamedFlowThread;
42 class RenderObject; 42 class RenderObject;
43 class RenderStyle; 43 class RenderStyle;
44 class ElementShadow; 44 class ElementShadow;
45 45
46 class NodeRenderingContext { 46 class NodeRenderingContext {
47 public: 47 public:
48 explicit NodeRenderingContext(Node*); 48 explicit NodeRenderingContext(Node*);
49 NodeRenderingContext(Node*, RenderStyle*); 49 NodeRenderingContext(Node*, RenderStyle*);
50 NodeRenderingContext(Node*, const Node::AttachContext&);
50 ~NodeRenderingContext(); 51 ~NodeRenderingContext();
51 52
52 void createRendererForTextIfNeeded(); 53 void createRendererForTextIfNeeded();
53 void createRendererForElementIfNeeded(); 54 void createRendererForElementIfNeeded();
54 55
55 Node* node() const; 56 Node* node() const;
56 ContainerNode* parentNodeForRenderingAndStyle() const; 57 ContainerNode* parentNodeForRenderingAndStyle() const;
57 bool resetStyleInheritance() const; 58 bool resetStyleInheritance() const;
58 RenderObject* parentRenderer() const; 59 RenderObject* parentRenderer() const;
59 RenderObject* nextRenderer() const; 60 RenderObject* nextRenderer() const;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 99 }
99 100
100 inline InsertionPoint* NodeRenderingContext::insertionPoint() const 101 inline InsertionPoint* NodeRenderingContext::insertionPoint() const
101 { 102 {
102 return m_parentDetails.insertionPoint(); 103 return m_parentDetails.insertionPoint();
103 } 104 }
104 105
105 } // namespace WebCore 106 } // namespace WebCore
106 107
107 #endif 108 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/NodeRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698