Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Rendering for multiple nested head and body nodes #812

Merged
merged 2 commits into from
Jul 21, 2020

Conversation

agubler
Copy link
Member

@agubler agubler commented Jul 10, 2020

Type: bug

The following has been addressed in the PR:

Description:

Ensure that head and body nodes are not used as insert before candidates.

Resolves #809

@agubler agubler added bug Something isn't working needs back-port The fix requires back porting to one or more previous major versions area: core Core labels Jul 10, 2020
@agubler agubler requested a review from matt-gadd July 10, 2020 07:51
@agubler agubler changed the title Fix rendering nesting multiple head and body nodes Fix: Rendering for multiple nested head and body nodes Jul 10, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 10, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1454486:

Sandbox Source
dojo/dojo-codesandbox-template Configuration
new-wildflower-yju2e Issue #809

@codecov
Copy link

codecov bot commented Jul 10, 2020

Codecov Report

Merging #812 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #812   +/-   ##
=======================================
  Coverage   97.53%   97.53%           
=======================================
  Files         127      127           
  Lines        7959     7962    +3     
  Branches     1835     1836    +1     
=======================================
+ Hits         7763     7766    +3     
  Misses        196      196           
Impacted Files Coverage Δ
src/core/vdom.ts 97.99% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b21576...1454486. Read the comment docs.

@agubler agubler merged commit 9e17e41 into dojo:master Jul 21, 2020
agubler added a commit to agubler/framework that referenced this pull request Jul 22, 2020
* failing unit test for nested body and head tags

* skip head or body node when finding insert before node
@agubler agubler mentioned this pull request Jul 22, 2020
3 tasks
agubler added a commit that referenced this pull request Jul 22, 2020
* Fix types for insert after/before (#802)

Change insertBefore/After to allow any template children rather than typing based on the targeted node.

* Fix: Rendering for multiple nested `head` and `body` nodes (#812)

* failing unit test for nested body and head tags

* skip head or body node when finding insert before node

* move JSX types to tsx namespace (#818)

* fix unit test that was missed on master

Co-authored-by: Bradley Maier <bmaier@sitepen.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Core bug Something isn't working needs back-port The fix requires back porting to one or more previous major versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render error using body tag in tsx
3 participants