• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tbranyen / diffhtml
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/packages/diffhtml-static-sync/sha.js-2.4.12
DEFAULT BRANCH: master
Repo Added 08 Jan 2016 01:30AM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-svg-rendering
branch: fix-svg-rendering
CHANGE BRANCH
x
Reset
  • fix-svg-rendering
  • 0.4.2
  • 0.4.3
  • 0.4.4
  • 0.5.1
  • 0.8.5
  • 0.9.0
  • 0.9.1
  • 0.9.2
  • add-logo
  • add-middleware
  • add-middleware-create-hooks
  • add-more-tests
  • add-service-worker-middleware
  • add-stateful-components
  • add-test-for-comment
  • add-worker-middleware
  • another-cleanup-pass
  • another-refactor-pass
  • apply-miscellaneous-changes
  • better-render-to-string
  • browser-compatibility-fixes
  • bug/parser-child-text-nodes
  • bugfix/extra-patches
  • bugfix/fix-internals-exports
  • bump-lerna
  • components-love
  • config-unit-tests
  • create-side-effect
  • dependabot/npm_and_yarn/axios-1.11.0
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/cipher-base-1.0.6
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/grunt-1.5.2
  • dependabot/npm_and_yarn/packages/diffhtml-devtools/grunt-1.5.3
  • dependabot/npm_and_yarn/packages/diffhtml-static-sync/sha.js-2.4.12
  • dependabot/npm_and_yarn/parse-url-6.0.2
  • devtools-revival
  • diffhtml-pkg-updates
  • documentation-updates
  • ensure-all-tests-run-in-ci
  • escape-tagged-input
  • feature/add-as-contributor
  • feature/add-tasks-list
  • feature/pkg.module
  • fix-angle-brackets-in-attrs
  • fix-attribute-handling
  • fix-bool-attr-parsing
  • fix-code-block-el
  • fix-decoding-issue
  • fix-devtools-build
  • fix-duplicate-keys
  • fix-execute-scripts
  • fix-fragment-sync
  • fix-hooks
  • fix-inline-transitions
  • fix-interpolated-values
  • fix-issues-with-external-markup-changes
  • fix-parser-components
  • fix-pre-code-blocks
  • fix-process-env
  • fix-react-compat
  • fix-render
  • fix-rerender-components
  • fix-tests-and-devtools
  • fix-timing-marks
  • general-cleanup
  • get-build-passing-again
  • gitignore-docs
  • improve-components-implementation
  • improve-diffhtml-attributes
  • improve-docs
  • improve-garbage-collection-and-devtools
  • improve-static-sync
  • inconsistent-dom
  • linter
  • master
  • migrate-prollyfill
  • misc-work
  • more-examples
  • npm-install
  • pass-children-to-web-component-ctor
  • react-compat
  • readme-changes
  • readme-updates
  • refactor-internals
  • refactor-transaction-add-polyfill
  • refs/tags/v1.0.0-beta.28
  • refs/tags/v1.0.0-beta.29
  • remove-blacklist-whitelist
  • remove-custom-event
  • remove-svg-elements
  • remove-transitions
  • rename-internal-process
  • rename-runtime-to-lite
  • rework-babel-transform
  • rewrite-sync-patch
  • rust-wasm-parser
  • scrub-attrs-nodes-on-release
  • support-node-esm
  • tbranyen-patch-1
  • test-input-checked
  • test-readme
  • test-self-hosted
  • transaction-flow
  • transform
  • update
  • update-all-packages
  • update-components-deps
  • use-github-action
  • use-github-pages
  • use-patch-logic-for-component-render
  • use-raw-node-name
  • use-sets-instead-of-arrays
  • v1.0.0-beta
  • v1.0.0-beta.1
  • v1.0.0-beta.11
  • v1.0.0-beta.12
  • v1.0.0-beta.13
  • v1.0.0-beta.14
  • v1.0.0-beta.15
  • v1.0.0-beta.16
  • v1.0.0-beta.17
  • v1.0.0-beta.18
  • v1.0.0-beta.19
  • v1.0.0-beta.2
  • v1.0.0-beta.20
  • v1.0.0-beta.21
  • v1.0.0-beta.22
  • v1.0.0-beta.23
  • v1.0.0-beta.24
  • v1.0.0-beta.25
  • v1.0.0-beta.26
  • v1.0.0-beta.3
  • v1.0.0-beta.4
  • v1.0.0-beta.5
  • v1.0.0-beta.6
  • v1.0.0-beta.7
  • v1.0.0-beta.8
  • v1.0.0-beta.9
  • various-changes
  • various-updates
  • vundefined
  • warn-on-invalid-markup
  • worker-improvements

pending completion
1110

push

travis-ci

tbranyen
Resolve namespace issues when creating SVG element

Prior to this commit, SVG would only work if rendered directly from the
top, like: `diff.innerHTML(document.body, '<svg></svg>');` and not when
diffing or creating within an existing document.

This corrects the behavior by determining the correct type during
synchronization, applying this VTree reference to an `svgElements` set,
and then referencing this when creating elements in the patch phase.

This should not incur any memory overhead or significant processing and
keeps our VTree shape lean, and filesize low by not including a list of
all SVG elements.

775 of 831 branches covered (93.26%)

1047 of 1072 relevant lines covered (97.67%)

782.61 hits per line

Relevant lines Covered
Build:
Build:
1072 RELEVANT LINES 1047 COVERED LINES
782.61 HITS PER LINE
Source Files on fix-svg-rendering
  • Tree
  • List 32
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1110 fix-svg-rendering Resolve namespace issues when creating SVG element Prior to this commit, SVG would only work if rendered directly from the top, like: `diff.innerHTML(document.body, '<svg></svg>');` and not when diffing or creating within an existing document. T... push 13 May 2020 11:46PM UTC tbranyen travis-ci pending completion  
1111 fix-svg-rendering Merge 7ee3454ce into cff1488d8 Pull #186 13 May 2020 11:46PM UTC web-flow travis-ci pending completion  
See All Builds (1074)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc