GithubHelp home page GithubHelp logo

Polyfill about yoga HOT 4 CLOSED

facebook avatar facebook commented on May 5, 2024
Polyfill

from yoga.

Comments (4)

lynndylanhurley avatar lynndylanhurley commented on May 5, 2024

I'm wondering this as well.

#52 says that it works on "every browser out there", but that sounds kind of insane.

@vjeux - can you confirm that this will work with IE8 and IE9?

from yoga.

RangerMauve avatar RangerMauve commented on May 5, 2024

This won't style the page for you, but it'd totally be possible to write a polyfill that's based on this library.

from yoga.

lynndylanhurley avatar lynndylanhurley commented on May 5, 2024

@RangerMauve - thanks, I think I may have misunderstood the goals of this project.

Just to be clear, is it safe to say that this project is meant to provide flexbox layouts to native environments (iOS, Android), and not to serve as a flexbox polyfill for browsers?

from yoga.

RangerMauve avatar RangerMauve commented on May 5, 2024

It's not bound to native at all, it just doesn't change the style of DOM nodes for you.

What it does do is compute the different sizing of elements given some CSS rules that use flexbox. If one wants to then use that sizing to render native stuff they can. If they wanted to, they could also use it to update the styles of DOM nodes in the browser.

But out of the box it just does calculations

from yoga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.