Skip to content

Commit ebbeea5

Browse files
Swarup Ukilmoz-wptsync-bot
authored andcommitted
Update hline and vline command parsing to support <position> values.
Differential Revision: https://phabricator.services.mozilla.com/D271463 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1993311 gecko-commit: a1346e39038ab43726498e9bf2b08b1581b5f9f6 gecko-reviewers: boris, firefox-style-system-reviewers, firefox-svg-reviewers, layout-reviewers, longsonr
1 parent 28bdc88 commit ebbeea5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css/css-shapes/shape-functions/shape-function-computed.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@
2222
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, vline to 100px)");
2323
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, vline by 100%)");
2424

25+
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, hline to left, hline to center, hline to right)",
26+
"shape(from 20px 40px, move to 20px 30px, hline to 0%, hline to 50%, hline to 100%)");
27+
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, hline to x-start, vline to y-start)",
28+
"shape(from 20px 40px, move to 20px 30px, hline to 0%, vline to 0%)");
29+
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, vline to top, vline to center, vline to bottom)",
30+
"shape(from 20px 40px, move to 20px 30px, vline to 0%, vline to 50%, vline to 100%)");
31+
test_computed_value("clip-path", "shape(from 20px 40px, move to 20px 30px, vline to y-start, vline to y-end)",
32+
"shape(from 20px 40px, move to 20px 30px, vline to 0%, vline to 100%)");
33+
2534
test_computed_value("clip-path", "shape(from 20px 40px, curve by 20px 20px with 10px 30px)");
2635
test_computed_value("clip-path", "shape(from 20px 40px, curve by 20px 20px with 10px 30px / 12px 32px)");
2736

0 commit comments

Comments
 (0)