Title: [191464] trunk/Source/WebInspectorUI
- Revision
- 191464
- Author
- commit-qu...@webkit.org
- Date
- 2015-10-22 11:42:15 -0700 (Thu, 22 Oct 2015)
Log Message
Web Inspector: Restore :not(:placeholder-shown) behavior on search bars with comments
https://bugs.webkit.org/show_bug.cgi?id=150452
Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-10-22
Reviewed by Timothy Hatcher.
* UserInterface/Views/FindBanner.css:
(.find-banner.console-find-banner > input[type="search"]:not(:placeholder-shown)):
* UserInterface/Views/SearchBar.css:
(.search-bar > input[type="search"]:not(:placeholder-shown)):
Add back the placeholder-shown related styles and add a comment about what they are for.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (191463 => 191464)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-10-22 18:36:28 UTC (rev 191463)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-10-22 18:42:15 UTC (rev 191464)
@@ -1,3 +1,16 @@
+2015-10-22 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Restore :not(:placeholder-shown) behavior on search bars with comments
+ https://bugs.webkit.org/show_bug.cgi?id=150452
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/FindBanner.css:
+ (.find-banner.console-find-banner > input[type="search"]:not(:placeholder-shown)):
+ * UserInterface/Views/SearchBar.css:
+ (.search-bar > input[type="search"]:not(:placeholder-shown)):
+ Add back the placeholder-shown related styles and add a comment about what they are for.
+
2015-10-22 Devin Rousso <dcrousso+web...@gmail.com>
Web Inspector: Tabbing over CSS properties prepended by * doesn't move the highlighted range
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css (191463 => 191464)
--- trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css 2015-10-22 18:36:28 UTC (rev 191463)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css 2015-10-22 18:42:15 UTC (rev 191464)
@@ -218,3 +218,9 @@
.find-banner.console-find-banner > input[type="search"]:focus {
background-color: white;
}
+
+/* Make the search field's background white when it is not focused and has content.
+ Needs to be a separate rule. See http://webkit.org/b/118162 */
+.find-banner.console-find-banner > input[type="search"]:not(:placeholder-shown) {
+ background-color: white;
+}
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SearchBar.css (191463 => 191464)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SearchBar.css 2015-10-22 18:36:28 UTC (rev 191463)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SearchBar.css 2015-10-22 18:42:15 UTC (rev 191464)
@@ -46,3 +46,9 @@
.search-bar > input[type="search"]:focus {
background-color: white;
}
+
+/* Make the search field's background white when it is not focused and has content.
+ Needs to be a separate rule. See http://webkit.org/b/118162 */
+.search-bar > input[type="search"]:not(:placeholder-shown) {
+ background-color: white;
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes