Cobalt – a stripped down Chromium for apps, Linux and embedded systems
51–55 of 55 posts
Re: Cobalt – a stripped down Chromium for apps, Linux and embedded systems
#52I understand the general concept of porting (ie https://en.wikipedia.org/wiki/Porting) but never heard of it as a specialization. Also what might people be porting from? If this intended as a migration guide.
Re: Cobalt – a stripped down Chromium for apps, Linux and embedded systems
#53Earlier quoted context omitted.
Sciter does not support CSS Flexbox. It supports a more or less equivalent, but incompatible feature. That's a critical distinction when you want to run the same codebase as you have on the web.
CSS was designed for running on different UAs and there is special mechanism built in it. If you take a look into source of that demo page, you will see: /* browser */ @supports (display:flex) { section { display: flex; } section > * { flex: 1; margin:1em; } ... } /* sciter */ @supports (flow:horizontal) { section { flow:horizontal; } section > * { width:1*; margin:1em; } ... } You should not assume that all browsers…
Yes, a return to the dark days of UAs having their own proprietary extensions / prefixes to do the same thing. Why bother when there's an actual industry standard?
> You should not assume that all browsers support same set of features.
You can certainly target only user agents which support CSS Flexbox. I would even say it's the advisable default unless you have some very special needs.
Re: Cobalt – a stripped down Chromium for apps, Linux and embedded systems
#54I couldn't find it anywhere on the docs or in a few google searches. What is a porter? and how does it differ from a developer? I understand the general concept of porting (ie https://en.wikipedia.org/wiki/Porting ) but never heard of it as a specialization. Also what might people be porting from? If this intended as a migration guide.
Re: Cobalt – a stripped down Chromium for apps, Linux and embedded systems
#55Cobalt is the primary engine that's used for running YouTube and YouTube TV on set-top boxes and smart TVs. If you notice that it looks the same on a Roku device or a Fire TV stick or a Samsung TV, that's because all of those are running a port of Cobalt and a special version of the YouTube website.