-
Notifications
You must be signed in to change notification settings - Fork 64
Adds attachShadow({shadyUpgradeFragment: documentFragment})
#316
Commits on Jan 23, 2019
-
Adds
ShadowRoot.upgrade(fragment, host, options)
* As an optimization for creation and initial population of a ShadowRoot, adds the optional `upgrade` static method. Note, the `fragment` dom must already have any necessary style scoping applied. * Also removes initial default property sets from `ShadyData` and `ShadyRoot` which is empirically slightly faster. * slightly optimizes capturing logical data by not accessing `childNodes`
Steven Orvell committedJan 23, 2019 Configuration menu - View commit details
-
Copy full SHA for 6261855 - Browse repository at this point
Copy the full SHA 6261855View commit details
Commits on Jan 24, 2019
-
[upgrade] Fix rendering with slots
Steven Orvell committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 71f9768 - Browse repository at this point
Copy the full SHA 71f9768View commit details -
Avoid childNodes when possible.
Steven Orvell committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 96be5a4 - Browse repository at this point
Copy the full SHA 96be5a4View commit details -
More avoiding of
childNodes
when possible.Steven Orvell committedJan 24, 2019 Configuration menu - View commit details
-
Copy full SHA for 3091902 - Browse repository at this point
Copy the full SHA 3091902View commit details
Commits on Jan 25, 2019
-
Steven Orvell committed
Jan 25, 2019 Configuration menu - View commit details
-
Copy full SHA for 3da0f04 - Browse repository at this point
Copy the full SHA 3da0f04View commit details -
[upgrade] Refine argument name
Steven Orvell committedJan 25, 2019 Configuration menu - View commit details
-
Copy full SHA for eb98d72 - Browse repository at this point
Copy the full SHA eb98d72View commit details
Commits on Feb 1, 2019
-
Merge branch 'more-flush' into shadowRoot-upgrade
Steven Orvell committedFeb 1, 2019 Configuration menu - View commit details
-
Copy full SHA for a0ce84a - Browse repository at this point
Copy the full SHA a0ce84aView commit details
Commits on Feb 6, 2019
-
Merge branch 'master' into shadowRoot-upgrade
Steven Orvell committedFeb 6, 2019 Configuration menu - View commit details
-
Copy full SHA for f542a57 - Browse repository at this point
Copy the full SHA f542a57View commit details
Commits on Feb 14, 2019
-
Merge branch 'master' into shadowRoot-upgrade
Steven Orvell committedFeb 14, 2019 Configuration menu - View commit details
-
Copy full SHA for a67d835 - Browse repository at this point
Copy the full SHA a67d835View commit details -
Adds
ShadyDOM.upgrade(fragment, host, options)
This replaces but is the same as `ShadowRoot.upgrade`. Prefer putting bespoke API on non-standard object. Also adds some slight type refinement.
Steven Orvell committedFeb 14, 2019 Configuration menu - View commit details
-
Copy full SHA for d359957 - Browse repository at this point
Copy the full SHA d359957View commit details -
Remove`.only` that was mistakenly skipping tests. Slight re-organization of a few tests
Steven Orvell committedFeb 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 4342887 - Browse repository at this point
Copy the full SHA 4342887View commit details -
upgarde: avoid optimal path when customElements polyfill is in use
Since `appendChild` is not used, the custom elements patch that calls `connectedCallback` will not run. Therefore, do not use this when custom elements are being polyfilled.
Steven Orvell committedFeb 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 003a148 - Browse repository at this point
Copy the full SHA 003a148View commit details
Commits on Feb 15, 2019
-
Performing `appendChild` with a documentFragment with a patched prototype appears to blow up IE.
Steven Orvell committedFeb 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 2b355c2 - Browse repository at this point
Copy the full SHA 2b355c2View commit details
Commits on Feb 20, 2019
-
Steven Orvell committed
Feb 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 59cff79 - Browse repository at this point
Copy the full SHA 59cff79View commit details -
Slight simplification based on review
Steven Orvell committedFeb 20, 2019 Configuration menu - View commit details
-
Copy full SHA for 87c8e35 - Browse repository at this point
Copy the full SHA 87c8e35View commit details
Commits on Feb 21, 2019
-
Allow
ShadyDOM.attachDOM
to work in the customElements polyfillThis requires making sure `attachShadow` and `appendChild` are called. The code now special cases inside of those patches.
Steven Orvell committedFeb 21, 2019 Configuration menu - View commit details
-
Copy full SHA for f70e34e - Browse repository at this point
Copy the full SHA f70e34eView commit details
Commits on Apr 1, 2019
-
Merge branch 'master' into shadowRoot-upgrade
Steven Orvell committedApr 1, 2019 Configuration menu - View commit details
-
Copy full SHA for ba1a238 - Browse repository at this point
Copy the full SHA ba1a238View commit details -
Merge branch 'wrap-className' into shadowRoot-upgrade
Steven Orvell committedApr 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 4eb1c12 - Browse repository at this point
Copy the full SHA 4eb1c12View commit details
Commits on Apr 3, 2019
-
Merge branch 'master' into shadowRoot-upgrade
Steven Orvell committedApr 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 3fb6f83 - Browse repository at this point
Copy the full SHA 3fb6f83View commit details
Commits on Apr 4, 2019
-
Ensure scoping updates correctly when ShadyDOM.attachDom is used.
* ensures a shadowRoot itself does not maintain a `__noInsertionPoint` flag after initial creation when ShadyDOM.attachDom is used. * adds small optimization to prevent text nodes from being unscoped
Steven Orvell committedApr 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 9fa8f8a - Browse repository at this point
Copy the full SHA 9fa8f8aView commit details
Commits on Apr 11, 2019
-
Fix event removal for platforms (e.g. old Chrome) that don't have eve…
…nt options.
Steven Orvell committedApr 11, 2019 1Configuration menu - View commit details
-
Copy full SHA for 5d9f909 - Browse repository at this point
Copy the full SHA 5d9f909View commit details -
Simplify native patching slightly and add className
Steven Orvell committedApr 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 9dd608d - Browse repository at this point
Copy the full SHA 9dd608dView commit details
Commits on Apr 13, 2019
-
Remove
ShadyDOM.attachDom
in favor of `attachShadow({shadyUpgradeFr……agment})`
Steven Orvell committedApr 13, 2019 Configuration menu - View commit details
-
Copy full SHA for eb6e08a - Browse repository at this point
Copy the full SHA eb6e08aView commit details -
Steven Orvell committed
Apr 13, 2019 Configuration menu - View commit details
-
Copy full SHA for d585fd4 - Browse repository at this point
Copy the full SHA d585fd4View commit details -
Steven Orvell committed
Apr 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 5a77147 - Browse repository at this point
Copy the full SHA 5a77147View commit details