| 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/dom/StyleEngine.h" | 5 #include "core/dom/StyleEngine.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/CSSRuleList.h" | 9 #include "core/css/CSSRuleList.h" |
| 10 #include "core/css/CSSStyleRule.h" | 10 #include "core/css/CSSStyleRule.h" |
| 11 #include "core/css/CSSStyleSheet.h" | 11 #include "core/css/CSSStyleSheet.h" |
| 12 #include "core/css/StyleSheetContents.h" | 12 #include "core/css/StyleSheetContents.h" |
| 13 #include "core/css/parser/CSSParserContext.h" | 13 #include "core/css/parser/CSSParserContext.h" |
| 14 #include "core/dom/Document.h" | 14 #include "core/dom/Document.h" |
| 15 #include "core/dom/NodeComputedStyle.h" | 15 #include "core/dom/NodeComputedStyle.h" |
| 16 #include "core/dom/shadow/ShadowRootInit.h" | 16 #include "core/dom/shadow/ShadowRootInit.h" |
| 17 #include "core/frame/FrameView.h" | 17 #include "core/frame/FrameView.h" |
| 18 #include "core/html/HTMLElement.h" | 18 #include "core/html/HTMLElement.h" |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 "</style>" | 551 "</style>" |
| 552 "<div id='t1'></div>" | 552 "<div id='t1'></div>" |
| 553 "<span></span>"); | 553 "<span></span>"); |
| 554 | 554 |
| 555 GetStyleEngine().UpdateActiveStyle(); | 555 GetStyleEngine().UpdateActiveStyle(); |
| 556 EXPECT_FALSE(GetDocument().ChildNeedsStyleInvalidation()); | 556 EXPECT_FALSE(GetDocument().ChildNeedsStyleInvalidation()); |
| 557 EXPECT_FALSE(GetDocument().NeedsStyleInvalidation()); | 557 EXPECT_FALSE(GetDocument().NeedsStyleInvalidation()); |
| 558 } | 558 } |
| 559 | 559 |
| 560 } // namespace blink | 560 } // namespace blink |
| OLD | NEW |