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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h

Issue 2432293002: Fix focus navigation for nested slot case (Closed)
Patch Set: Minor cleanups Created 4 years, 2 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: third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h b/third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h
index fa780b70325d468edf57f07a4bcae56fbab628f2..df9b0eaa7e851f5ea91d4a25aa9005ee3f812f23 100644
--- a/third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.h
@@ -13,9 +13,13 @@ class HTMLSlotElement;
class SlotScopedTraversal {
public:
static HTMLSlotElement* findScopeOwnerSlot(const Element&);
- static Element* nearestAncestorAssignedToSlot(const Element&);
+ static Element* nearestInclusiveAncestorAssignedToSlot(const Element&);
static Element* next(const Element&);
static Element* previous(const Element&);
+ static Element* lastWithin(const Element&);
+ static Element* firstAssignedToSlot(HTMLSlotElement&);
+ static Element* lastAssignedToSlot(HTMLSlotElement&);
+
static bool isSlotScoped(const Element&);
};

Powered by Google App Engine
This is Rietveld 408576698