Commit 491172b1 authored by lushnikov's avatar lushnikov Committed by Commit bot

DevTools: [SSP] adding new property should be more predictable

Whitelist selectable elements to avoid excessive text "selectability".

BUG=554454
R=pfeldman, dgozman

Review URL: https://codereview.chromium.org/1433903002

Cr-Commit-Position: refs/heads/master@{#360494}
parent aa6e30c4
......@@ -156,9 +156,7 @@
padding: 2px 2px 4px 4px;
min-height: 18px;
white-space: nowrap;
background-origin: padding;
background-clip: padding;
-webkit-user-select: text;
-webkit-user-select: none;
border-bottom: 1px solid #eee;
position: relative;
overflow: hidden;
......@@ -204,13 +202,13 @@
.styles-section .sidebar-pane-closing-brace {
clear: both;
-webkit-user-select: text;
}
.styles-section-title {
background-origin: padding;
background-clip: padding;
word-wrap: break-word;
white-space: normal;
-webkit-user-select: text;
}
.styles-section-title .media-list {
......@@ -315,6 +313,10 @@
margin-left: 0 !important;
}
.styles-section.matched-styles .style-properties li * {
-webkit-user-select: text;
}
.styles-section .style-properties li.child-editing {
word-wrap: break-word !important;
white-space: normal !important;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment