WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199588
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
Summary
Web Inspector: REGRESSION: Elements: pasting in the Styles sidebar adds a tex...
Devin Rousso
Reported
2019-07-08 14:10:27 PDT
# STEPS TO REPRODUCE: 1. copy "foo" 2. inspect any page 3. select the inline style of any node in the Elements tab 4. start adding a new property in the inline style 5. paste => "foo" added as a sibling of the currently selected node in the DOM tree
Attachments
Patch
(1.46 KB, patch)
2019-07-08 14:19 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-07-08 14:13:20 PDT
(In reply to Devin Rousso from
comment #0
)
> 1. copy "foo"
Actually, you need to copy something that would instead be rendered as a CSS property (or multiple): "foo:".
Devin Rousso
Comment 2
2019-07-08 14:19:21 PDT
Created
attachment 373664
[details]
Patch
Joseph Pecoraro
Comment 3
2019-07-08 14:33:47 PDT
Comment on
attachment 373664
[details]
Patch rs=me Should this be the case for other events then? WI._copy?
Devin Rousso
Comment 4
2019-07-08 14:35:28 PDT
Comment on
attachment 373664
[details]
Patch (In reply to Joseph Pecoraro from
comment #3
)
> Should this be the case for other events then? WI._copy?
I'd say yes, but in the interest of avoiding regressions, I'd rather not. Also, the default functionality of a "copy" won't modify the DOM like "paste" would, so there's less "risk" there of multiple things acting on the same "copy".
WebKit Commit Bot
Comment 5
2019-07-08 17:27:12 PDT
Comment on
attachment 373664
[details]
Patch Clearing flags on attachment: 373664 Committed
r247241
: <
https://trac.webkit.org/changeset/247241
>
WebKit Commit Bot
Comment 6
2019-07-08 17:27:14 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7
2019-07-08 17:28:17 PDT
<
rdar://problem/52806667
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug