[Bug 26949] New: video: Contradiction between Shadow DOM spec and HTML 5 spec

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26949

            Bug ID: 26949
           Summary: video: Contradiction between Shadow DOM spec and HTML
                    5 spec
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: dylan@barrell.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

There is a conflict between this restriction

"Dynamically modifying a source element and its attribute when the element is
already inserted in a video or audio element will have no effect. To change
what is playing, just use the src attribute on the media element directly,
possibly making use of the canPlayType() method to pick from amongst available
resources. Generally, manipulating source elements manually after the document
has been parsed is an unnecessarily complicated approach."

and the shadow DOM distributions spec

http://w3c.github.io/webcomponents/spec/shadow/#distributions

that results in the video tag not being able to be constructively used inside a
web component

Example here: http://jsfiddle.net/n88owmop/4/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 1 October 2014 17:09:03 UTC