diff options
author | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2022-11-10 01:22:36 +0000 |
---|---|---|
committer | WPT Sync Bot <josh+wptsync@joshmatthews.net> | 2022-11-10 01:27:28 +0000 |
commit | df68c4e5d155bdca6f787268bb266fd7979347f0 (patch) | |
tree | d1a2e89454b0ba282bca143acd7616fdcc86c4e3 /tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html | |
parent | ace9b32b1c18fb5a2fa3118f47aea98e9965ed67 (diff) | |
download | servo-df68c4e5d155bdca6f787268bb266fd7979347f0.tar.gz servo-df68c4e5d155bdca6f787268bb266fd7979347f0.zip |
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html')
-rw-r--r-- | tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html index f03b257246e..ec2d35c7fb9 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html @@ -7,6 +7,7 @@ <style> #divWithFontSizeSet, #parentDiv { font-size: 10px; + line-height: 20px; } </style> @@ -107,6 +108,8 @@ test_computed_value('<length>', '25.4mm', '96px'); test_computed_value('<length>', '6pc', '96px'); test_computed_value('<length>', '72pt', '96px'); +test_computed_value('<length>', '10lh', '200px'); + test_computed_value('<length-percentage>', '17em', '170px'); test_computed_value('<length-percentage>', '18%', '18%'); test_computed_value('<length-percentage>', 'calc(19em - 2%)', 'calc(-2% + 190px)'); @@ -167,4 +170,6 @@ test_computed_value('<resolution>', '1dppx', '1dppx'); test_computed_value('<resolution>', '96dpi', '1dppx'); test_computed_value('<resolution>', 'calc(1dppx + 96dpi)', '2dppx'); +test_computed_value('*', 'url(why)', 'url(why)'); + </script> |