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

Side by Side Diff: LayoutTests/fast/exclusions/parsing/script-tests/parsing-wrap-flow.js

Issue 359023002: Remove CSS Exclusions leftovers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 5 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 description('Test parsing of the CSS wrap-flow property.');
2
3 if (window.internals)
4 window.internals.settings.setCSSExclusionsEnabled(true);
5
6 // The test functions and globals used here are defined parsing-test-utils.js.
7
8 applyToEachArglist(
9 testExclusionSpecifiedProperty,
10 [// [property, value, expectedValue]
11 ["-webkit-wrap-flow", "auto", "auto"],
12 ["-webkit-wrap-flow", "both", "both"],
13 ["-webkit-wrap-flow", "start", "start"],
14 ["-webkit-wrap-flow", "end", "end"],
15 ["-webkit-wrap-flow", "maximum", "maximum"],
16 ["-webkit-wrap-flow", "clear", "clear"],
17 ["-webkit-wrap-flow", ";", ""],
18 ["-webkit-wrap-flow", "5", ""],
19 ["-webkit-wrap-flow", "-1.2", ""],
20 ["-webkit-wrap-flow", "\'string\'", ""]]
21 );
22
23 applyToEachArglist(
24 testExclusionComputedProperty,
25 [// [property, value, expectedValue]
26 ["-webkit-wrap-flow", "auto", "auto"],
27 ["-webkit-wrap-flow", "5", "auto"],
28 ["-webkit-wrap-flow", "\'string\'", "auto"]]
29 );
30
31 applyToEachArglist(
32 testNotInheritedExclusionChildProperty,
33 [// [property, parentValue, childValue, expectedChildValue]
34 ["-webkit-wrap-flow", "auto", "start", "start"],
35 ["-webkit-wrap-flow", "end", "auto", "auto"],
36 ["-webkit-wrap-flow", "both", "clear", "clear"]]
37 );
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698