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

Unified Diff: third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css

Issue 2390783006: [DevTools] Accessibility: Show siblings and children of selected node (Closed)
Patch Set: Handle non-rendered nodes which are not top-level 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/devtools/front_end/accessibility/accessibilityNode.css
diff --git a/third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css b/third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css
index 4bdd1d9d517baf238c3c6fdc2135ba4abd94e282..25ffe76034cd0224b970e5cda6c8804598ee2018 100644
--- a/third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css
+++ b/third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css
@@ -63,6 +63,7 @@ span.ax-internal-role {
.ax-tree-ignored-node {
font-style: italic;
+ opacity: 0.7;
}
.tree-outline li {
@@ -79,6 +80,40 @@ span.ax-internal-role {
left: -2px;
}
+.tree-outline li.inspected::after {
+ -webkit-mask-image: url(Images/smallIcons.png);
+ -webkit-mask-size: 190px 30px;
+ -webkit-mask-position: -180px 0;
+ background-color: rgb(74, 139, 238);
+ content: "";
+ position: relative;
+ left: 4px;
+ top: 1px;
+ width: 10px;
+ height: 10px;
+ transform: rotate(180deg);
+}
+
+.tree-outline:focus li.inspected.selected::after {
+ background-color: white;
+}
+
+.tree-outline li.selected .selection {
+ background-color: inherit;
+}
+
+.tree-outline li.no-dom-node {
+ opacity: 0.5;
+}
+
+.tree-outline li.children-unloaded::before {
+ opacity: 0.2;
+}
+
+.tree-outline li.partially-expanded::before {
+ -webkit-mask-position: -19px -108px;
+}
+
.invalid {
text-decoration: line-through;
}
@@ -112,3 +147,21 @@ span.ax-value-undefined {
.sidebar-pane-stack .sidebar-pane {
padding-left: 4px;
}
+
+button.expand-siblings {
+ margin-left: 5px;
+ background-image: url(Images/smallIcons.png);
+ background-size: 190px 30px;
+ background-position: -97px -22px;
+ position: relative;
+ left: 4px;
+ border-radius: 1px;
+ width: 18px;
+ height: 8px;
+ background-color: #f3f3f3;
+ border: 1px solid #ddd;
+}
+
+li.siblings-expanded button.expand-siblings {
+ display: none;
+}

Powered by Google App Engine
This is Rietveld 408576698