Skip to content

Specify the behavior for when a <source> element's parent is a <model> element #24

Open

Description

@marcoscaceres

The <source> element behaves differently depending on who the parent is. For instance, when the parent is <picture>, the srcset attribute comes into to play. We need to look at the attributes of <source> and figure out what they mean in when used in the context of <model>.

Activity

  1. lukewarlow commented on Sep 1, 2026

    @lukewarlow

    As part of this it's worth being concious of the moveBefore() DOM function and the fact that the source element inside of a model element, needs to run some code if it's moved into or out of a model element. See source moving steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions