| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "core/css/resolver/SharedStyleFinder.h" | 5 #include "core/css/resolver/SharedStyleFinder.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "bindings/core/v8/V8Binding.h" | 8 #include "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "core/css/RuleFeature.h" | 9 #include "core/css/RuleFeature.h" |
| 10 #include "core/css/RuleSet.h" | 10 #include "core/css/RuleSet.h" |
| 11 #include "core/css/parser/CSSParser.h" | 11 #include "core/css/parser/CSSParser.h" |
| 12 #include "core/css/parser/CSSParserContext.h" | 12 #include "core/css/parser/CSSParserContext.h" |
| 13 #include "core/dom/Document.h" | 13 #include "core/dom/Document.h" |
| 14 #include "core/dom/shadow/ShadowRoot.h" | 14 #include "core/dom/shadow/ShadowRoot.h" |
| 15 #include "core/dom/shadow/ShadowRootInit.h" | 15 #include "core/dom/shadow/ShadowRootInit.h" |
| 16 #include "core/frame/FrameView.h" | 16 #include "core/frame/FrameView.h" |
| 17 #include "core/html/HTMLElement.h" | 17 #include "core/html/HTMLElement.h" |
| 18 #include "core/testing/DummyPageHolder.h" | 18 #include "core/testing/DummyPageHolder.h" |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 Element* inner = root.getElementById("inner"); | 311 Element* inner = root.getElementById("inner"); |
| 312 GetDocument().UpdateDistribution(); | 312 GetDocument().UpdateDistribution(); |
| 313 | 313 |
| 314 AddSelector("div[attr] div"); | 314 AddSelector("div[attr] div"); |
| 315 FinishAddingSelectors(); | 315 FinishAddingSelectors(); |
| 316 | 316 |
| 317 EXPECT_FALSE(MatchesUncommonAttributeRuleSet(*inner)); | 317 EXPECT_FALSE(MatchesUncommonAttributeRuleSet(*inner)); |
| 318 } | 318 } |
| 319 | 319 |
| 320 } // namespace blink | 320 } // namespace blink |
| OLD | NEW |