Bug 102937 - Web Inspector: [Styles] Allow pasting of the full style rule text
Summary: Web Inspector: [Styles] Allow pasting of the full style rule text
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks: 116924
  Show dependency treegraph
 
Reported: 2012-11-21 06:40 PST by Alexander Pavlov (apavlov)
Modified: 2013-06-03 07:50 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2012-11-21 06:40:17 PST
Pasting entire style rule text into the selector field of a new rule should add the rule with all its properties.
Comment 1 Alexander Pavlov (apavlov) 2012-11-21 07:04:44 PST
1. Open Web Inspector and go to Elements panel
2. Copy the following: 

body {
	background: red
}

3. Click the `+` in Styles header and paste in the copied CSS rule.

What is the expected behavior?
Rule should be parsed and added and background should turn red.

What went wrong?
Rule was not parsed and background was not turned red.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=160534
Comment 2 Roland Takacs 2013-06-03 07:50:10 PDT
According to http://code.google.com/p/chromium/issues/detail?id=160534 I consider this bug as invalid, since the problem can be solved with a different method.