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

Side by Side Diff: third_party/WebKit/Source/web/WebElementTest.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "public/web/WebElement.h" 5 #include "public/web/WebElement.h"
6 6
7 #include <memory>
7 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
8 #include "core/dom/Element.h" 9 #include "core/dom/Element.h"
9 #include "core/dom/shadow/ShadowRoot.h" 10 #include "core/dom/shadow/ShadowRoot.h"
10 #include "core/testing/DummyPageHolder.h" 11 #include "core/testing/DummyPageHolder.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 static const char s_blockWithContinuations[] = 16 static const char s_blockWithContinuations[] =
17 "<head> <style> form {display: inline;} </style> </head>" 17 "<head> <style> form {display: inline;} </style> </head>"
18 "<body>" 18 "<body>"
19 " <form>" 19 " <form>"
20 " <div id='testElement'>" 20 " <div id='testElement'>"
21 " <input type='password' id='password'/>" 21 " <input type='password' id='password'/>"
22 " </div>" 22 " </div>"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 EXPECT_FALSE(testElement().isEditable()); 146 EXPECT_FALSE(testElement().isEditable());
147 147
148 insertHTML("<input id=testElement disabled>"); 148 insertHTML("<input id=testElement disabled>");
149 EXPECT_FALSE(testElement().isEditable()); 149 EXPECT_FALSE(testElement().isEditable());
150 150
151 insertHTML("<fieldset disabled><div><input id=testElement></div></fieldset>"); 151 insertHTML("<fieldset disabled><div><input id=testElement></div></fieldset>");
152 EXPECT_FALSE(testElement().isEditable()); 152 EXPECT_FALSE(testElement().isEditable());
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDocument.cpp ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698