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

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

Issue 15680005: Element::recalcStyle() overly reattach()-es InsertionPoints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated test and test expectations 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 | Annotate | Revision Log
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 * 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 784
785 bool isUserActionElementActive() const; 785 bool isUserActionElementActive() const;
786 bool isUserActionElementInActiveChain() const; 786 bool isUserActionElementInActiveChain() const;
787 bool isUserActionElementHovered() const; 787 bool isUserActionElementHovered() const;
788 bool isUserActionElementFocused() const; 788 bool isUserActionElementFocused() const;
789 789
790 void setStyleChange(StyleChangeType); 790 void setStyleChange(StyleChangeType);
791 791
792 // Used to share code between lazyAttach and setNeedsStyleRecalc. 792 // Used to share code between lazyAttach and setNeedsStyleRecalc.
793 void markAncestorsWithChildNeedsStyleRecalc(); 793 void markAncestorsWithChildNeedsStyleRecalc();
794 void markDistributionsWithNeedsStyleRecalc();
795 void propagateStyleRecalcMarking();
794 796
795 virtual void refEventTarget(); 797 virtual void refEventTarget();
796 virtual void derefEventTarget(); 798 virtual void derefEventTarget();
797 799
798 virtual RenderStyle* nonRendererStyle() const { return 0; } 800 virtual RenderStyle* nonRendererStyle() const { return 0; }
799 801
800 virtual RenderStyle* virtualComputedStyle(PseudoId = NOPSEUDO); 802 virtual RenderStyle* virtualComputedStyle(PseudoId = NOPSEUDO);
801 803
802 Element* ancestorElement() const; 804 Element* ancestorElement() const;
803 805
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 889
888 } //namespace 890 } //namespace
889 891
890 #ifndef NDEBUG 892 #ifndef NDEBUG
891 // Outside the WebCore namespace for ease of invocation from gdb. 893 // Outside the WebCore namespace for ease of invocation from gdb.
892 void showTree(const WebCore::Node*); 894 void showTree(const WebCore::Node*);
893 void showNodePath(const WebCore::Node*); 895 void showNodePath(const WebCore::Node*);
894 #endif 896 #endif
895 897
896 #endif 898 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698