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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 226203010: [CSS Shapes] shape-outside from image doesn't load properly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revised the test Created 6 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 574
575 bool hasTransform() const { return m_bitfields.hasTransform(); } 575 bool hasTransform() const { return m_bitfields.hasTransform(); }
576 bool hasMask() const { return style() && style()->hasMask(); } 576 bool hasMask() const { return style() && style()->hasMask(); }
577 bool hasClipPath() const { return style() && style()->clipPath(); } 577 bool hasClipPath() const { return style() && style()->clipPath(); }
578 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili ty() == BackfaceVisibilityHidden; } 578 bool hasHiddenBackface() const { return style() && style()->backfaceVisibili ty() == BackfaceVisibilityHidden; }
579 579
580 bool hasFilter() const { return style() && style()->hasFilter(); } 580 bool hasFilter() const { return style() && style()->hasFilter(); }
581 581
582 bool hasBlendMode() const; 582 bool hasBlendMode() const;
583 583
584 bool hasShapeOutside() const { return style() && style()->shapeOutside(); }
585
584 inline bool preservesNewline() const; 586 inline bool preservesNewline() const;
585 587
586 // The pseudo element style can be cached or uncached. Use the cached metho d if the pseudo element doesn't respect 588 // The pseudo element style can be cached or uncached. Use the cached metho d if the pseudo element doesn't respect
587 // any pseudo classes (and therefore has no concept of changing state). 589 // any pseudo classes (and therefore has no concept of changing state).
588 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co nst; 590 RenderStyle* getCachedPseudoStyle(PseudoId, RenderStyle* parentStyle = 0) co nst;
589 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const; 591 PassRefPtr<RenderStyle> getUncachedPseudoStyle(const PseudoStyleRequest&, Re nderStyle* parentStyle = 0, RenderStyle* ownStyle = 0) const;
590 592
591 virtual void updateDragState(bool dragOn); 593 virtual void updateDragState(bool dragOn);
592 594
593 RenderView* view() const { return document().renderView(); }; 595 RenderView* view() const { return document().renderView(); };
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 void removeFromRenderFlowThreadRecursive(RenderFlowThread*); 1069 void removeFromRenderFlowThreadRecursive(RenderFlowThread*);
1068 1070
1069 bool shouldRepaintForStyleDifference(StyleDifference) const; 1071 bool shouldRepaintForStyleDifference(StyleDifference) const;
1070 bool hasImmediateNonWhitespaceTextChildOrPropertiesDependentOnColor() const; 1072 bool hasImmediateNonWhitespaceTextChildOrPropertiesDependentOnColor() const;
1071 1073
1072 RenderStyle* cachedFirstLineStyle() const; 1074 RenderStyle* cachedFirstLineStyle() const;
1073 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const; 1075 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const;
1074 1076
1075 Color selectionColor(int colorProperty) const; 1077 Color selectionColor(int colorProperty) const;
1076 1078
1077 void removeShapeImageClient(ShapeValue*);
1078
1079 #ifndef NDEBUG 1079 #ifndef NDEBUG
1080 void checkBlockPositionedObjectsNeedLayout(); 1080 void checkBlockPositionedObjectsNeedLayout();
1081 #endif 1081 #endif
1082 const char* invalidationReasonToString(InvalidationReason) const; 1082 const char* invalidationReasonToString(InvalidationReason) const;
1083 1083
1084 RefPtr<RenderStyle> m_style; 1084 RefPtr<RenderStyle> m_style;
1085 1085
1086 Node* m_node; 1086 Node* m_node;
1087 1087
1088 RenderObject* m_parent; 1088 RenderObject* m_parent;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 void showTree(const WebCore::RenderObject*); 1443 void showTree(const WebCore::RenderObject*);
1444 void showLineTree(const WebCore::RenderObject*); 1444 void showLineTree(const WebCore::RenderObject*);
1445 void showRenderTree(const WebCore::RenderObject* object1); 1445 void showRenderTree(const WebCore::RenderObject* object1);
1446 // We don't make object2 an optional parameter so that showRenderTree 1446 // We don't make object2 an optional parameter so that showRenderTree
1447 // can be called from gdb easily. 1447 // can be called from gdb easily.
1448 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1448 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1449 1449
1450 #endif 1450 #endif
1451 1451
1452 #endif // RenderObject_h 1452 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698