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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutCounter.h

Issue 2867083003: Counters are always generated content and cannot be selected. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/text-selection-counter-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutCounter.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.h b/third_party/WebKit/Source/core/layout/LayoutCounter.h
index a5ce9184d05489045bbcfe2227fe4d21a01f8c09..59672bb7a0b58b0a888b7f22c9c6fa35e03000eb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutCounter.h
+++ b/third_party/WebKit/Source/core/layout/LayoutCounter.h
@@ -68,6 +68,7 @@ class LayoutCounter final : public LayoutText {
void UpdateCounter();
const char* GetName() const override { return "LayoutCounter"; }
+ bool CanBeSelectionLeaf() const final { return false; }
protected:
void WillBeDestroyed() override;
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/text-selection-counter-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698