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

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

Issue 17054002: Element::recalcStyle() overly reattach()-es InsertionPoints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing 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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 410 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
411 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 411 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
412 virtual bool rendererIsNeeded(const NodeRenderingContext&); 412 virtual bool rendererIsNeeded(const NodeRenderingContext&);
413 void recalcStyle(StyleChange = NoChange); 413 void recalcStyle(StyleChange = NoChange);
414 void didAffectSelector(AffectedSelectorMask); 414 void didAffectSelector(AffectedSelectorMask);
415 415
416 ElementShadow* shadow() const; 416 ElementShadow* shadow() const;
417 ElementShadow* ensureShadow(); 417 ElementShadow* ensureShadow();
418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&); 418 PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&);
419 ShadowRoot* shadowRoot() const; 419 ShadowRoot* shadowRoot() const;
420 void ensureDistribution();
420 421
421 bool hasAuthorShadowRoot() const { return shadowRoot(); } 422 bool hasAuthorShadowRoot() const { return shadowRoot(); }
422 423
423 ShadowRoot* userAgentShadowRoot() const; 424 ShadowRoot* userAgentShadowRoot() const;
424 ShadowRoot* ensureUserAgentShadowRoot(); 425 ShadowRoot* ensureUserAgentShadowRoot();
425 426
426 virtual const AtomicString& shadowPseudoId() const; 427 virtual const AtomicString& shadowPseudoId() const;
427 428
428 RenderStyle* computedStyle(PseudoId = NOPSEUDO); 429 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
429 430
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 994
994 inline const Attribute* ElementData::attributeItem(unsigned index) const 995 inline const Attribute* ElementData::attributeItem(unsigned index) const
995 { 996 {
996 RELEASE_ASSERT(index < length()); 997 RELEASE_ASSERT(index < length());
997 return attributeBase() + index; 998 return attributeBase() + index;
998 } 999 }
999 1000
1000 } // namespace 1001 } // namespace
1001 1002
1002 #endif 1003 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/input-color-in-content-expected.txt ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698