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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: Discontiguous selection is not supported.
2 Style invalidation for ::selection
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS getComputedStyle(select[0], '::selection').backgroundColor is red
8 PASS internals.updateStyleAndReturnAffectedElementCount() is 2
9 PASS getComputedStyle(select[0], '::selection').backgroundColor is green
10 PASS [object Object] is defined.
11 PASS getComputedStyle(select[1], '::selection').backgroundColor is red
12 PASS internals.updateStyleAndReturnAffectedElementCount() is 2
13 PASS getComputedStyle(select[1], '::selection').backgroundColor is green
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17 1
18 2
19
OLDNEW
« 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