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

Issue 788093003: Add clear() to Element.classList. (Closed)

Created:
6 years ago by esprehn
Modified:
6 years ago
Reviewers:
rafaelw, ojan
CC:
abarth-chromium, mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Add clear() to Element.classList. We should support a fast way to remove all classes through the classList instead of having to call removeAttribute() directly. BUG=440529 R=ojan@chromium.org, rafaelw@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/1ab476bdbf6a87ec1a0c3916dc2df2267c730532

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -7 lines) Patch
M sky/engine/core/dom/DOMTokenList.h View 1 chunk +1 line, -0 lines 0 comments Download
M sky/engine/core/dom/DOMTokenList.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M sky/engine/core/dom/DOMTokenList.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/tests/lowlevel/classlist.sky View 1 chunk +8 lines, -0 lines 0 comments Download
M sky/tests/lowlevel/classlist-expected.txt View 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
esprehn
6 years ago (2014-12-10 00:15:09 UTC) #2
ojan
lgtm
6 years ago (2014-12-10 00:19:42 UTC) #3
rafaelw
lgtm
6 years ago (2014-12-10 00:25:34 UTC) #4
esprehn
6 years ago (2014-12-10 01:56:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1ab476bdbf6a87ec1a0c3916dc2df2267c730532 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698