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

Issue 1231533002: Deprecate Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed)

Created:
5 years, 5 months ago by tanay.c
Modified:
5 years, 5 months ago
Reviewers:
philipj_slow
CC:
Habib Virji
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Deprecate Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight Intent to Deprecate: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Hi2ni3HdXTw BUG=504578, 463116 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198857

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : Rebased #

Patch Set 5 : Adding test expectations for failure Cases #

Patch Set 6 : Rebase #

Total comments: 4

Patch Set 7 : Added tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -6 lines) Patch
A LayoutTests/fast/html/element-offset.html View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/fast/html/element-offset-expected.txt View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/dom/Element.idl View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/svg/SVGElement.idl View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
philipj_slow
https://codereview.chromium.org/1231533002/diff/20001/Source/core/dom/Element.idl File Source/core/dom/Element.idl (left): https://codereview.chromium.org/1231533002/diff/20001/Source/core/dom/Element.idl#oldcode99 Source/core/dom/Element.idl:99: // FIXME: offset* should only be on HTMLElement. Add ...
5 years, 5 months ago (2015-07-08 12:16:20 UTC) #2
tanay.c
Modified as per review comments. PTAL. https://codereview.chromium.org/1231533002/diff/20001/Source/core/dom/Element.idl File Source/core/dom/Element.idl (left): https://codereview.chromium.org/1231533002/diff/20001/Source/core/dom/Element.idl#oldcode99 Source/core/dom/Element.idl:99: // FIXME: offset* ...
5 years, 5 months ago (2015-07-10 09:07:20 UTC) #3
philipj_slow
Looks like there isn't a single test that hits the deprecation messages. Can you add ...
5 years, 5 months ago (2015-07-10 09:39:33 UTC) #4
philipj_slow
https://codereview.chromium.org/1231533002/diff/100001/Source/core/svg/SVGElement.idl File Source/core/svg/SVGElement.idl (right): https://codereview.chromium.org/1231533002/diff/100001/Source/core/svg/SVGElement.idl#newcode35 Source/core/svg/SVGElement.idl:35: [Measure, PerWorldBindings] readonly attribute Element? offsetParent; On 2015/07/10 09:39:33, ...
5 years, 5 months ago (2015-07-10 11:16:30 UTC) #5
philipj_slow
On 2015/07/10 09:39:33, philipj wrote: > Looks like there isn't a single test that hits ...
5 years, 5 months ago (2015-07-14 08:48:14 UTC) #6
tanay.c
Added the tests. Please have a look. https://codereview.chromium.org/1231533002/diff/100001/Source/core/svg/SVGElement.idl File Source/core/svg/SVGElement.idl (right): https://codereview.chromium.org/1231533002/diff/100001/Source/core/svg/SVGElement.idl#newcode35 Source/core/svg/SVGElement.idl:35: [Measure, PerWorldBindings] ...
5 years, 5 months ago (2015-07-14 11:02:46 UTC) #7
philipj_slow
lgtm
5 years, 5 months ago (2015-07-14 11:08:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1231533002/110001
5 years, 5 months ago (2015-07-14 11:08:54 UTC) #10
commit-bot: I haz the power
5 years, 5 months ago (2015-07-14 12:30:37 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198857

Powered by Google App Engine
This is Rietveld 408576698