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

Unified Diff: Source/core/dom/Element.idl

Issue 340903002: Revert "Subpixel precision for clientWidth, offsetWidth, scrollTop et al" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 6 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.cpp ('k') | Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index 90693708d446c97c68e390d914a615538e2b7eee..b4f745d34bf38a942ab582bffe8103501002ac72 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -61,24 +61,24 @@
// Common extensions
- readonly attribute double offsetLeft;
- readonly attribute double offsetTop;
- readonly attribute double offsetWidth;
- readonly attribute double offsetHeight;
+ readonly attribute long offsetLeft;
+ readonly attribute long offsetTop;
+ readonly attribute long offsetWidth;
+ readonly attribute long offsetHeight;
[ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute Element offsetParent;
- readonly attribute double clientLeft;
- readonly attribute double clientTop;
- readonly attribute double clientWidth;
- readonly attribute double clientHeight;
+ readonly attribute long clientLeft;
+ readonly attribute long clientTop;
+ readonly attribute long clientWidth;
+ readonly attribute long clientHeight;
// FIXME: should be:
// attribute (Dictionary or double) scrollLeft;
// attribute (Dictionary or double) scrollTop;
// http://crbug.com/240176
- [Custom=Setter] attribute double scrollLeft;
- [Custom=Setter] attribute double scrollTop;
- readonly attribute double scrollWidth;
- readonly attribute double scrollHeight;
+ [Custom=Setter] attribute long scrollLeft;
+ [Custom=Setter] attribute long scrollTop;
+ readonly attribute long scrollWidth;
+ readonly attribute long scrollHeight;
void focus();
void blur();
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/HTMLBodyElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698