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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/css/css-keyword-properties.html

Issue 2131483003: Allow 'alphabetic' for alignment-baseline and dominant-baseline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TEs Created 4 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 <!DOCTYPE html>
2 <title>CSS keywords for SVG properties</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../../css-parser/resources/property-parsing-test.js"></script>
6 <script>
7 function assert_valid_keywords(property, keywords) {
8 for (var keyword of keywords)
9 assert_valid_value(property, keyword);
10 }
11
12 // alignment-baseline: auto | baseline | before-edge | text-before-edge | middle |
13 // central | after-edge | text-after-edge | ideographic | al phabetic |
14 // hanging | mathematical
15 assert_valid_keywords('alignmentBaseline', [
16 'auto', 'baseline', 'before-edge', 'text-before-edge', 'middle',
17 'central', 'after-edge', 'text-after-edge', 'ideographic', 'alphabetic',
18 'hanging', 'mathematical'
19 ]);
20
21 // dominant-baseline: auto | use-script | no-change | reset-size | ideographic |
22 // alphabetic | hanging | mathematical | central | middle |
23 // text-after-edge | text-before-edge
24 assert_valid_keywords('dominantBaseline', [
25 'auto', 'use-script', 'no-change', 'reset-size', 'ideographic',
26 'alphabetic', 'hanging', 'mathematical', 'central', 'middle',
27 'text-after-edge', 'text-before-edge'
28 ]);
29 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698