OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 17 matching lines...) Expand all Loading... |
28 [ | 28 [ |
29 RuntimeEnabled=Media | 29 RuntimeEnabled=Media |
30 ] interface HTMLSourceElement : HTMLElement { | 30 ] interface HTMLSourceElement : HTMLElement { |
31 [Reflect, URL] attribute DOMString src; | 31 [Reflect, URL] attribute DOMString src; |
32 attribute DOMString type; | 32 attribute DOMString type; |
33 | 33 |
34 // https://html.spec.whatwg.org/#the-source-element-when-used-with-the-pictu
re-element | 34 // https://html.spec.whatwg.org/#the-source-element-when-used-with-the-pictu
re-element |
35 [Reflect] attribute DOMString srcset; | 35 [Reflect] attribute DOMString srcset; |
36 [Reflect] attribute DOMString sizes; | 36 [Reflect] attribute DOMString sizes; |
37 [Reflect] attribute DOMString media; | 37 [Reflect] attribute DOMString media; |
38 | |
39 // Subresource Integrity | |
40 // https://w3c.github.io/webappsec/specs/subresourceintegrity/ | |
41 // TODO(philipj): The spec does not extend HTMLSourceElement. | |
42 [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity
; | |
43 }; | 38 }; |
OLD | NEW |