[Webkit-unassigned] [Bug 146775] New: Web Inspector: Copy Rule in the context menu copies hidden properties in the rule

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 8 22:19:01 PDT 2015


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

            Bug ID: 146775
           Summary: Web Inspector: Copy Rule in the context menu copies
                    hidden properties in the rule
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

* STEPS TO REPRODUCE:
1. Paste the following into a rule in the CSS styles sidebar:

margin: 0;
padding: 0;

2. Right click the selector area for that rule and click "Copy Rule".
3. Paste the text.  It should look something like this:

<selector> {
    margin: 0;
    padding: 0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

Everything after "padding: 0;" shouldn't have been copied as those rules are not actually visible in the rule in the sidebar.

-- 
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/20150709/4f50d4f0/attachment.html>


More information about the webkit-unassigned mailing list