Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1164)

Unified Diff: Source/core/html/HTMLSourceElement.idl

Issue 1031473002: Sync HTML element interfaces S-V with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: link to col element too Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLShadowElement.idl ('k') | Source/core/html/HTMLSpanElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLSourceElement.idl
diff --git a/Source/core/html/HTMLSourceElement.idl b/Source/core/html/HTMLSourceElement.idl
index 75cebb1282faeb914cbdd9ccdf907e79e92760a1..9ccee4031f5e87c0278139d869e56adad6f10ad1 100644
--- a/Source/core/html/HTMLSourceElement.idl
+++ b/Source/core/html/HTMLSourceElement.idl
@@ -23,15 +23,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#the-source-element
+
[
RuntimeEnabled=Media
] interface HTMLSourceElement : HTMLElement {
[Reflect, URL] attribute DOMString src;
attribute DOMString type;
+ // https://html.spec.whatwg.org/#the-source-element-when-used-with-the-picture-element
[Reflect, RuntimeEnabled=Picture] attribute DOMString srcset;
[Reflect, RuntimeEnabled=Picture] attribute DOMString sizes;
[Reflect, RuntimeEnabled=Picture] attribute DOMString media;
+ // Subresource Integrity
+ // https://w3c.github.io/webappsec/specs/subresourceintegrity/
+ // TODO(philipj): The spec does not extend HTMLSourceElement.
[Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
};
« no previous file with comments | « Source/core/html/HTMLShadowElement.idl ('k') | Source/core/html/HTMLSpanElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698