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

Issue 15507007: Provide cross-browser Rects for box model dimensions for Elements. (Closed)

Created:
7 years, 7 months ago by Emily Fortuna
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Provide cross-browser Rects for box model dimensions for Elements. Also added Dimensions class to reduce dealing with Strings for CSS. BUG= R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=25192

Patch Set 1 : #

Total comments: 14

Patch Set 2 : #

Total comments: 38

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1870 lines, -111 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 8 chunks +534 lines, -37 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 8 chunks +534 lines, -37 lines 0 comments Download
A tests/html/element_dimensions_test.dart View 1 2 1 chunk +263 lines, -0 lines 1 comment Download
A tools/dom/src/CssRectangle.dart View 1 2 1 chunk +259 lines, -0 lines 0 comments Download
A tools/dom/src/Dimension.dart View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
M tools/dom/src/Rectangle.dart View 1 2 2 chunks +48 lines, -32 lines 0 comments Download
M tools/dom/templates/html/dart2js/html_dart2js.darttemplate View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/dom/templates/html/dartium/html_dartium.darttemplate View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 5 chunks +147 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Emily Fortuna
7 years, 7 months ago (2013-05-22 00:56:11 UTC) #1
blois
+jacob, I'm still a bit worried about adding these measurement & adjustment APIs to our ...
7 years, 7 months ago (2013-05-22 01:18:07 UTC) #2
Jacob
https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart File tools/dom/src/CssRectangle.dart (right): https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart#newcode7 tools/dom/src/CssRectangle.dart:7: class _ContentCssRect extends CssRect { These should just be ...
7 years, 7 months ago (2013-05-22 02:09:51 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart File tools/dom/src/CssRectangle.dart (right): https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart#newcode7 tools/dom/src/CssRectangle.dart:7: class _ContentCssRect extends CssRect { On 2013/05/22 02:09:51, Jacob ...
7 years, 5 months ago (2013-07-10 21:05:55 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/15507007/diff/11001/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/15507007/diff/11001/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode279 tools/dom/templates/html/impl/impl_Element.darttemplate:279: CssRect get contentEdge => new _ContentCssListRect(_elementList); If this isn't ...
7 years, 5 months ago (2013-07-10 21:36:20 UTC) #5
Emily Fortuna
https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart File tools/dom/src/CssRectangle.dart (right): https://codereview.chromium.org/15507007/diff/5001/tools/dom/src/CssRectangle.dart#newcode7 tools/dom/src/CssRectangle.dart:7: class _ContentCssRect extends CssRect { On 2013/05/22 02:09:51, Jacob ...
7 years, 5 months ago (2013-07-10 21:40:16 UTC) #6
Emily Fortuna
jmesserly, PTAL.
7 years, 5 months ago (2013-07-16 20:08:10 UTC) #7
Jennifer Messerly
Overall this is looking great! minor comments. regardless of where this functionality ends up, I ...
7 years, 5 months ago (2013-07-16 22:03:16 UTC) #8
Emily Fortuna
ptal again https://codereview.chromium.org/15507007/diff/22001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/15507007/diff/22001/sdk/lib/html/dart2js/html_dart2js.dart#newcode8755 sdk/lib/html/dart2js/html_dart2js.dart:8755: * Important note: use of this method ...
7 years, 5 months ago (2013-07-18 22:45:02 UTC) #9
Jennifer Messerly
lgtm! https://codereview.chromium.org/15507007/diff/41001/tests/html/element_dimensions_test.dart File tests/html/element_dimensions_test.dart (right): https://codereview.chromium.org/15507007/diff/41001/tests/html/element_dimensions_test.dart#newcode104 tests/html/element_dimensions_test.dart:104: test('contentEdge.width2', () { would be good to add ...
7 years, 5 months ago (2013-07-19 00:10:37 UTC) #10
Emily Fortuna
7 years, 5 months ago (2013-07-19 00:41:03 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 manually as r25192 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698