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

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

Issue 14449003: Picture element initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@picture_after_rebase
Patch Set: Created 7 years, 8 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/HTMLPictureElement.cpp ('k') | Source/core/html/HTMLSourceElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPictureElement.idl
diff --git a/Source/core/html/HTMLImageElement.idl b/Source/core/html/HTMLPictureElement.idl
similarity index 85%
copy from Source/core/html/HTMLImageElement.idl
copy to Source/core/html/HTMLPictureElement.idl
index 3287fd656525e214845d752126a49c5194499f6f..68b585ee1ab25fe7da78f0a1679acfe71ca80951 100644
--- a/Source/core/html/HTMLImageElement.idl
+++ b/Source/core/html/HTMLPictureElement.idl
@@ -17,30 +17,33 @@
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
+
[
+ Conditional=PICTURE,
SkipVTableValidation
-] interface HTMLImageElement : HTMLElement {
+] interface HTMLPictureElement : HTMLElement {
[Reflect] attribute DOMString name;
[Reflect] attribute DOMString align;
- [Reflect] attribute DOMString alt;
[Reflect] attribute DOMString border;
[Reflect] attribute DOMString crossOrigin;
attribute long height;
[Reflect] attribute long hspace;
- [Reflect] attribute boolean isMap;
- [Reflect, URL] attribute DOMString longDesc;
[Reflect, URL] attribute DOMString src;
- [Reflect] attribute DOMString useMap;
[Reflect] attribute long vspace;
attribute long width;
// Extensions
readonly attribute boolean complete;
- [Reflect,URL] attribute DOMString lowsrc;
readonly attribute long naturalHeight;
readonly attribute long naturalWidth;
readonly attribute long x;
readonly attribute long y;
-};
+};
+/*
+[
+ JSGenerateToNativeObject
+] interface HTMLPictureElement : HTMLImageElement {
+};
+*/
« no previous file with comments | « Source/core/html/HTMLPictureElement.cpp ('k') | Source/core/html/HTMLSourceElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698