Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

110
Vistas
how to access embedded svg's elements via DOM

I want to change the path of a svg that I've placed into a page like this:

    <div class="sx">
        <svg  width="250px" height="250px">
            <style>
                @import url(style.css);
            </style>

            <use id="anID"  href="test.svg#svg5" />
        </svg>
    </div>

the style is applied fine onto the test.svg, but the use is creating a shadow root which is not public.

I'm wondering if I can get the same styling results in another way (maybe via an <object> declaration) and at the same time getting access to the used svg nodes via the DOM.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda