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

Side by Side Diff: LayoutTests/fast/exclusions/parsing/script-tests/parsing-wrap-through.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-through 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-through", "wrap", "wrap"],
12 ["-webkit-wrap-through", "none", "none"],
13 ["-webkit-wrap-through", ";", ""],
14 ["-webkit-wrap-through", "5", ""],
15 ["-webkit-wrap-through", "-1.2", ""],
16 ["-webkit-wrap-through", "\'string\'", ""]]
17 );
18
19 applyToEachArglist(
20 testExclusionComputedProperty,
21 [// [property, value, expectedValue]
22 ["-webkit-wrap-through", "wrap", "wrap"],
23 ["-webkit-wrap-through", "5", "wrap"],
24 ["-webkit-wrap-through", "\'string\'", "wrap"]]
25 );
26
27 applyToEachArglist(
28 testNotInheritedExclusionChildProperty,
29 [// [property, parentValue, childValue, expectedChildValue]
30 ["-webkit-wrap-through", "wrap", "none", "none"],
31 ["-webkit-wrap-through", "none", "wrap", "wrap"]]
32 );
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698