The bug is known and will be fixed in the next release :
https://groups.google.com/forum/?fromgroups=#!topic/google-chrome-developer-tools/RC3i6GW2h28
题
For some reason, i'm not able to paste css code to the "inspect element" window..
Lets say I want to test "font-weight:bold; color: red" and paste it to the element.style, which results with:
As you can see, only the "font-weight" was pasted.
This is really annoying as I was used to just paste the code as is... Especially if i'm trying a couple of styles from a tutorial or a solution to a problem I found here.
Is it only me? Anything I can do to fix it?
解决方案
The bug is known and will be fixed in the next release :
https://groups.google.com/forum/?fromgroups=#!topic/google-chrome-developer-tools/RC3i6GW2h28
其他提示
You could always edit the style in-line for testing:
Right click tag. Click 'add attribute'. Type style="
ctrl+ v "
Not sure if there's a more elegant solution. element.style
just adds a style=""
attribute anyway.