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

Side by Side Diff: LayoutTests/fast/css/touch-action-delay-parsing.html

Issue 723373006: Add CSS parsing support for the scroll-blocks-on property (in place of touch-action-delay) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Apply CR feedback Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <style>
6 /*
7 Give some rules below something to override in order to test
8 that they really are being parsed
9 */
10 .defscript {
11 touch-action-delay: none;
12 }
13 </style>
14 </head>
15 <body>
16 <p id="description"></p>
17 <div class="test" id="default" expected="script"></div>
18 <div class="test defscript" id="stylesheet-none" expected="none"></div>
19 <div class="test defscript" id="stylesheet-explicit-script" style="touch-act ion-delay: script;" expected="script"></div>
20 <div class="test defscript" id="stylesheet-explicit-none" style="touch-actio n-delay: none;" expected="none">
21 <div class="test" id="inherited" expected="none"></div>
22 <div class="test" id="explicit-inherit" style="touch-action-delay: inherit ;" expected="none"></div>
23 </div>
24 <div class="test defscript" id="initial" style="touch-action-delay: initial; " expected="script"></div>
25 <div class="test" id="explicit-invalid" style="touch-action-delay: bogus;" e xpected="script"></div>
26 <div class="test" id="explicit-script" style="touch-action-delay: script;" e xpected="script"></div>
27 <div id="console"></div>
28 <script>
29 description("Test the parsing and application of the touch-action-delay pr operty.");
30
31 var tests = document.querySelectorAll('.test');
32 var style;
33 for (var i = 0; i < tests.length; i++) {
34 debug('Test case: ' + tests[i].id);
35 style = window.getComputedStyle(tests[i]);
36 shouldBeEqualToString('style.touchActionDelay', tests[i].attributes.expe cted.value);
37 debug('');
38 }
39
40 successfullyParsed = true;
41 </script>
42 </body>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698