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

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed)

Created:
6 years ago by philipj_slow
Modified:
6 years ago
CC:
blink-reviews, arv+blink, Inactive
Project:
blink
Visibility:
Public.

Description

Sync the getComputedStyle() IDL with the spec http://dev.w3.org/csswg/cssom/#extensions-to-the-window-interface Firefox and IE already throw exceptions for getComputedStyle(), getComputedStyle(null), getComputedStyle(undefined) and getComputedStyle(document); Previously, getComputedStyle() would fail the ASSERT(elt) in LocalDOMWindow::getComputedStyle(). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186258

Patch Set 1 #

Total comments: 4

Patch Set 2 : simplify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
A + LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html View 1 1 chunk +9 lines, -1 line 0 comments Download
A + LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/frame/DOMWindow.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Window.idl View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
philipj_slow
Some idle cleanup, PTAL.
6 years ago (2014-11-29 00:34:27 UTC) #2
arv (Not doing code reviews)
I'm actually worried that this will break content but lets try. https://codereview.chromium.org/765123002/diff/1/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html File LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html (right): ...
6 years ago (2014-12-01 14:20:09 UTC) #3
philipj_slow
simplify
6 years ago (2014-12-01 20:29:38 UTC) #4
philipj_slow
https://codereview.chromium.org/765123002/diff/1/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html File LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html (right): https://codereview.chromium.org/765123002/diff/1/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html#newcode13 LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html:13: ].forEach(function(expr) On 2014/12/01 14:20:09, arv wrote: > I would ...
6 years ago (2014-12-01 20:48:54 UTC) #5
arv (Not doing code reviews)
LGTM
6 years ago (2014-12-01 21:00:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/765123002/20001
6 years ago (2014-12-01 21:04:13 UTC) #8
commit-bot: I haz the power
6 years ago (2014-12-01 21:39:26 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186258

Powered by Google App Engine
This is Rietveld 408576698