Skip to content

[0.8] body unresolved broken #1271

Description

@IntranetFactory

To prevent FOUC we used, as suggested, <body unresolved>. webcomponents.js always define the style for unresolved - so the body still gets hidden.

But it seems that in 0.8 the unresolved is never removed from body.

If I don't use unresolved I see the page but again get FOUC in FF & IE.

Activity

  1. IntranetFactory commented on Mar 9, 2015

    @IntranetFactory
    Author

    In webcomponents/webcomponentsjs#230 I've proposed a workaround which solved that issue for me. But it was classified as not being ok.

  2. ebidel commented on Apr 5, 2015

    @ebidel
    Contributor

    Running into this too

  3. addyosmani commented on Apr 5, 2015

    @addyosmani
    Member

    Confirmed that I've been bitten by this too, but I agree with @garlicnation's resolution on that bug. It's fine for the framework or user to remove the unresolved attribute at a time they consider the page ready.

  4. IntranetFactory commented on Apr 5, 2015

    @IntranetFactory
    Author

    I've a page with several components. I've no problem to remove unresolved myself - but how do I know that all components are ready and won't cause any FOUC?

  5. ebidel commented on Apr 6, 2015

    @ebidel
    Contributor

    @addyosmani, unresolved was always something users had to manage themselves if they were just using the wc.js polyfill (though IIRC, there was a time before when wc.js did this too). If authoring 0.5 Polymer elements, unresolved was removed by Polymer as a sugaring feature.

  6. sorvell commented on May 22, 2015

    @sorvell
    Contributor

    Id would be best if the webcomponents.js polyfills would take care of this issue, but doing so would break support for Polymer 0.5. That said, it seems reasonable and simple for Polymer to auto-remove this attribute at the appropriate time.

  7. added and removed on May 22, 2015
  8. self-assigned this
    on May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions