News for hackers. Stuff that matters.
Re:Slashdot Launches Re-Design by julian37 on Wednesday January 26, 2011 @05:00AM (#2142787)
Huh, why would that be? Drawing a round corner is in fact more complex than drawing a square one, but surely for a few dozen rounded corners the number of additional CPU cycles spent pales in comparison to things like anti-aliased font rendering, calculating CSS box model layouts, decompressing gzipped contents and the myriad of other tasks that a browser has to perform during loading and rendering of a web site nowadays.
Re:Slashdot Launches Re-Design by sanswork on Wednesday January 26, 2011 @06:46AM (#2142962)
For 4 rounded corners you probably need to download 4 images. Thats 4 extra connections to the server to connect to, download, process.

It isn't the processor time that is taking longer its the transfer time.

Re:Slashdot Launches Re-Design by robgough on Wednesday January 26, 2011 @08:35AM (#2143198)
Most modern browsers (all but IE I believe) will let you round corners with CSS. An extra line or so of CSS is hardly much of a transfer overhead.

I believe current thinking (on non-enterprise sites anyway) is to let the IE people have their square corners, and those on new browsers get all the curvy goodness.

Re:Slashdot Launches Re-Design by sanswork on Wednesday January 26, 2011 @08:35PM (#2146163)
Yes, that is why I added the probably. The vast majority of rounded corners I see are still done with images however.
Re:Slashdot Launches Re-Design by steveklabnik on Wednesday January 26, 2011 @08:15AM (#2143149)
Not anymore you don't.