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

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

Issue 969303002: Move the CSSOM View offset* attributes to HTMLElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 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/dom/Element.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.idl
diff --git a/Source/core/html/HTMLElement.idl b/Source/core/html/HTMLElement.idl
index 85598835381da3affc0d2cc9ed53b4e64e96a3a2..1d20922fdf9fd812597ede6b50274cfbe1d2b776 100644
--- a/Source/core/html/HTMLElement.idl
+++ b/Source/core/html/HTMLElement.idl
@@ -43,7 +43,13 @@ interface HTMLElement : Element {
attribute boolean spellcheck;
void click();
+
+ // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interface
+ [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element? offsetParent;
+ readonly attribute long offsetTop;
+ readonly attribute long offsetLeft;
+ readonly attribute long offsetWidth;
+ readonly attribute long offsetHeight;
};
HTMLElement implements GlobalEventHandlers;
-
« no previous file with comments | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698