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

Unified Diff: Source/core/dom/PseudoElement.h

Issue 15027005: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/PseudoElement.h
diff --git a/Source/core/dom/PseudoElement.h b/Source/core/dom/PseudoElement.h
index 87c80647c180179a24ab161e03a90b9461b3dc61..013973239527e7679fe7470acf4c364b3bc48494 100644
--- a/Source/core/dom/PseudoElement.h
+++ b/Source/core/dom/PseudoElement.h
@@ -46,6 +46,14 @@ public:
virtual void attach() OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
+ // As per http://dev.w3.org/csswg/css3-regions/#flow-into, pseudo-elements such as ::first-line, ::first-letter, ::before or ::after
+ // cannot be directly collected into a named flow.
+ virtual bool moveToFlowThreadIsNeeded(RefPtr<RenderStyle>& cachedStyle) OVERRIDE
Julien - ping for review 2013/05/09 15:30:18 I am really not a huge fan of this function naming
Mihai Maerean 2013/05/09 16:25:55 Ok, I will rename it. PS: it may be possible in a
+ {
+ UNUSED_PARAM(cachedStyle);
Julien - ping for review 2013/05/09 15:30:18 If you didn't put the argument in the function sig
Mihai Maerean 2013/05/09 16:25:55 That's true when declaring the function. When the
Julien - ping for review 2013/05/10 00:13:05 I don't think you are right (argument names don't
+ return false;
+ }
+
virtual bool canStartSelection() const OVERRIDE { return false; }
virtual bool canContainRangeEndPoint() const OVERRIDE { return false; }

Powered by Google App Engine
This is Rietveld 408576698