Changeset 247241 in webkit


Ignore:
Timestamp:
Jul 8, 2019 5:27:05 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: REGRESSION: Elements: pasting in the Styles sidebar adds a text node to the DOM tree
https://bugs.webkit.org/show_bug.cgi?id=199588

Reviewed by Joseph Pecoraro.

  • UserInterface/Base/Main.js:

(WI._paste):
Bail if event.defaultPrevented, as that means that something else has handled (and likely
overrode) this event.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r247240 r247241  
     12019-07-08  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: REGRESSION: Elements: pasting in the Styles sidebar adds a text node to the DOM tree
     4        https://bugs.webkit.org/show_bug.cgi?id=199588
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Base/Main.js:
     9        (WI._paste):
     10        Bail if `event.defaultPrevented`, as that means that something else has handled (and likely
     11        overrode) this event.
     12
    1132019-07-08  Devin Rousso  <drousso@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Base/Main.js

    r247054 r247241  
    26242624WI._paste = function(event)
    26252625{
     2626    if (event.defaultPrevented)
     2627        return;
     2628
    26262629    let selection = window.getSelection();
    26272630
Note: See TracChangeset for help on using the changeset viewer.