<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Inspector exception in `parseTextForRule()` when pasting into CSS rule selector"
   href="https://bugs.webkit.org/show_bug.cgi?id=162792">162792</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Inspector exception in `parseTextForRule()` when pasting into CSS rule selector
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Web Inspector
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rob&#64;robbrackett.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bburg&#64;apple.com, joepeck&#64;webkit.org, mattbaker&#64;apple.com, nvasilyev&#64;apple.com, timothy&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>-------
Inspected URL:        <a href="http://localhost:8000/guides/anchor/index.html">http://localhost:8000/guides/anchor/index.html</a>
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.1.8+ (KHTML, like Gecko)

Uncaught Exceptions:
 - TypeError: null is not an object (evaluating 'parseTextForRule(data)') (at CSSStyleDeclarationSection.js:437:49)
    _handleSelectorPaste &#64; CSSStyleDeclarationSection.js:437:49
    _handleSelectorPaste &#64; [native code]
-------

* STEPS TO REPRODUCE
1. In the Elements panel, select an element with several CSS rules applying to it
2. In the Styles sidebar, select part of the selector for one of the rules and copy it (via keyboard, cmd+c)
3. Paste (via keyboard, cmd+v) the selected text at the start of a different selector
4. Inspector immediately flips to the &quot;Web Inspector encountered an internal error&quot; screen</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>