Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why browsers are bloated

Name: Anonymous 2014-07-27 0:20

https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/Scrollbar.cpp
https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/win/ScrollbarThemeWin.cpp
Let's reinvent the fucking scrollbar, which every goddamn platform with a UI already has, and make it behave subtly different from the native one!

Right-click a native scrollbar in some other app:
- Scroll Here
- Top
- Bottom
- Page Up
- Page Down
- Scroll Up
- Scroll Down

Right-click a scrollbar in Chrome:
- Back
- Forward
- Reload
- Save As...
...

Right-click a scrollbar in Firefox and Opera:
Absolutely fucking nothing happens!

What the fuck!? How did these terminally retarded idiots get involved in creating one of the most important pieces of software to the average user?

Name: Anonymous 2016-02-20 3:21

>>701
You might want to hold all colours as rgba, converting them first if they are represented differently in CSS source. Special values like none and inherit could use full transparency and store special meaning in the rgb part, i.e. color:none means full transparency and is equal rgba(0,0,0,0).

I don't know if you want to support CSS and styling completely, but you could consider ignoring some of the CSS attributes, like named fonts in font-family field, etc.

Another thing worth noting is that HTML actually supports only 2 (3) types of tags: block and inline (and inline-block). You could save space ignoring multiple tags and move their special attributes to CSS, as default values. Tables are equal to table blocks of row blocks of field inline-blocks with undefined content.

Newer Posts