Quotes from the Stack Overflow Tour
With your help, we're working together to build a library of detailed answers to every question about programming.
Improve posts by editing or commenting
Our goal is to have the best answers to every question, so if you see questions or answers that can be improved, you can edit them.
I'd argue that the edit improves the quality of the post by having the code snippet in the answer.
Code snippets weren't available when the answer was originally posted (2012), so that would have been impossible to do at the time.
For reference, the answer as posted without a demo:
Brendan's answer is correct, but to get it to render in more browsers, you should use this:
-moz-border-radius: 0px;
-webkit-border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0px 0px;
Additions with the
demo included:
Working code snippet:
.borderRadiusTop30px {
-webkit-border-radius: 30px 30px 0px 0px;
-moz-border-radius: 30px 30px 0px 0px;
border-radius: 30px 30px 0px 0px;
}
div {
width: 240px;
height: 60px;
background: #44B449;
}
<div></div>
<br>
<div class="borderRadiusTop30px"></div>
This snippet shows a live implementation of the code, and proves that it works.
The reject reason selected is misleading too:
This edit was intended to address the author of the post and makes no
sense as an edit. It should have been written as a comment or an
answer.
It's not a message to the author, it's intended to improve the quality of the answer.
The editors comment for the edit clarifies this:
Comment: slightly modified example code and created working code snippet from it
With reference to the linked meta post:
Suggested Edit Replacing JSFiddle with Stack Snippet, what to do?
This is not mass editing and it's not swapping one thing for another, it's adding a demo where no demo exists, so it's a different scenario.