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

Side by Side Diff: Source/core/html/HTMLElement.idl

Issue 1007683002: Add UseCounters for Element.offset* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test expectations 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 25 matching lines...) Expand all
36 [Reflect] attribute DOMString accessKey; 36 [Reflect] attribute DOMString accessKey;
37 [CustomElementCallbacks] attribute boolean draggable; 37 [CustomElementCallbacks] attribute boolean draggable;
38 [RuntimeEnabled=ContextMenu] attribute HTMLMenuElement? contextMenu; 38 [RuntimeEnabled=ContextMenu] attribute HTMLMenuElement? contextMenu;
39 attribute boolean spellcheck; 39 attribute boolean spellcheck;
40 40
41 // HTMLElement implements ElementContentEditable 41 // HTMLElement implements ElementContentEditable
42 // https://html.spec.whatwg.org/#contenteditable 42 // https://html.spec.whatwg.org/#contenteditable
43 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable; 43 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable;
44 readonly attribute boolean isContentEditable; 44 readonly attribute boolean isContentEditable;
45 45
46 // CSSOM View Module
47 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa ce
48 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element? offsetParent;
49 readonly attribute long offsetTop;
50 readonly attribute long offsetLeft;
51 readonly attribute long offsetWidth;
52 readonly attribute long offsetHeight;
53
46 // Input Method Editor API 54 // Input Method Editor API
47 // https://dvcs.w3.org/hg/ime-api/raw-file/default/Overview.html#the-inputme thodcontext-property 55 // https://dvcs.w3.org/hg/ime-api/raw-file/default/Overview.html#the-inputme thodcontext-property
48 [RuntimeEnabled=IMEAPI] readonly attribute InputMethodContext? inputMethodCo ntext; 56 [RuntimeEnabled=IMEAPI] readonly attribute InputMethodContext? inputMethodCo ntext;
49 57
50 // Non-standard APIs 58 // Non-standard APIs
51 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementInnerText] attribute DOMString innerText; 59 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementInnerText] attribute DOMString innerText;
52 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementOuterText] attribute DOMString outerText; 60 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementOuterText] attribute DOMString outerText;
53 [Reflect, TreatNullAs=NullString, MeasureAs=PrefixedHTMLElementDropzone] att ribute DOMString webkitdropzone; 61 [Reflect, TreatNullAs=NullString, MeasureAs=PrefixedHTMLElementDropzone] att ribute DOMString webkitdropzone;
54 }; 62 };
55 63
56 HTMLElement implements GlobalEventHandlers; 64 HTMLElement implements GlobalEventHandlers;
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698