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

Unified Diff: LayoutTests/fast/css/invalidation/selection-pseudo-expected.txt

Issue 669873003: Avoid sub-tree style recalc for ::selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/invalidation/selection-pseudo.html ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/invalidation/selection-pseudo-expected.txt
diff --git a/LayoutTests/fast/css/invalidation/selection-pseudo-expected.txt b/LayoutTests/fast/css/invalidation/selection-pseudo-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27762bf2cb00af1b81920fb41c44536b7b7ea634
--- /dev/null
+++ b/LayoutTests/fast/css/invalidation/selection-pseudo-expected.txt
@@ -0,0 +1,19 @@
+CONSOLE ERROR: Discontiguous selection is not supported.
+Style invalidation for ::selection
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS getComputedStyle(select[0], '::selection').backgroundColor is red
+PASS internals.updateStyleAndReturnAffectedElementCount() is 2
+PASS getComputedStyle(select[0], '::selection').backgroundColor is green
+PASS [object Object] is defined.
+PASS getComputedStyle(select[1], '::selection').backgroundColor is red
+PASS internals.updateStyleAndReturnAffectedElementCount() is 2
+PASS getComputedStyle(select[1], '::selection').backgroundColor is green
+PASS successfullyParsed is true
+
+TEST COMPLETE
+1
+2
+
« no previous file with comments | « LayoutTests/fast/css/invalidation/selection-pseudo.html ('k') | Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698