[Webkit-unassigned] [Bug 152657] New: Web Inspector: Add context menu items to CSS selectors to auto-generate pseudo selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 2 17:35:37 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=152657

            Bug ID: 152657
           Summary: Web Inspector: Add context menu items to CSS selectors
                    to auto-generate pseudo selectors
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dcrousso+webkit at gmail.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

I often find that having to add ":hover" or "::before" to a style can be very tedious, so a simple context menu item to "Create ::before Rule" would be very helpful.  Clicking this item would generate a new rule with the same selector, except each selector (if they are comma separated) is appended with "::before" and the text of this rule would be set to "content: normal;" as per the spec.  There would be menu items for ":active", ":focus", ":hover", ":visited" (only for links), "::before", and "::after" in that order.  Obviously, if any of the selectors already contains the item, don't show it in the context menu.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160103/e8d491e8/attachment-0001.html>


More information about the webkit-unassigned mailing list