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

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

Issue 14373010: Make abspos <dialog>'s containing block be the ICB. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 7 years, 7 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 547
548 virtual bool wasChangedSinceLastFormControlChangeEvent() const; 548 virtual bool wasChangedSinceLastFormControlChangeEvent() const;
549 virtual void setChangedSinceLastFormControlChangeEvent(bool); 549 virtual void setChangedSinceLastFormControlChangeEvent(bool);
550 virtual void dispatchFormControlChangeEvent() { } 550 virtual void dispatchFormControlChangeEvent() { }
551 551
552 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched 552 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched
553 // to event listeners, and prevents DOMActivate events from being sent at al l. 553 // to event listeners, and prevents DOMActivate events from being sent at al l.
554 virtual bool isDisabledFormControl() const; 554 virtual bool isDisabledFormControl() const;
555 555
556 bool isInert() const; 556 bool isInert() const;
557 virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { r eturn isInTopLayer(); }
557 558
558 #if ENABLE(SVG) 559 #if ENABLE(SVG)
559 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 560 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
560 bool hasPendingResources() const; 561 bool hasPendingResources() const;
561 void setHasPendingResources(); 562 void setHasPendingResources();
562 void clearHasPendingResources(); 563 void clearHasPendingResources();
563 virtual void buildPendingResource() { }; 564 virtual void buildPendingResource() { };
564 #endif 565 #endif
565 566
566 enum { 567 enum {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 1006
1006 inline const Attribute* ElementData::attributeItem(unsigned index) const 1007 inline const Attribute* ElementData::attributeItem(unsigned index) const
1007 { 1008 {
1008 RELEASE_ASSERT(index < length()); 1009 RELEASE_ASSERT(index < length());
1009 return attributeBase() + index; 1010 return attributeBase() + index;
1010 } 1011 }
1011 1012
1012 } // namespace 1013 } // namespace
1013 1014
1014 #endif 1015 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698