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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html

Issue 1820773002: getComputedStyle() should return used value for 'line-height' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html b/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html
index 9054dd397d0ececc001f5aff318ec25737baec1b..5e522bfd7b01a6428fe0f11bcd87bc375454bd4a 100644
--- a/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html
+++ b/third_party/WebKit/LayoutTests/fast/css/atapply/at-apply-shorthands.html
@@ -15,6 +15,7 @@
<script>
test(function(){
assert_equals(getComputedStyle(e).border, "10px solid rgb(0, 128, 0)");
- assert_equals(getComputedStyle(e).font, "normal normal normal normal 20px / normal serif");
+ assert_equals(getComputedStyle(e).fontSize, "20px");
+ assert_equals(getComputedStyle(e).fontFamily, "serif");
}, "Basic usage of @apply with shorthand properties");
</script>

Powered by Google App Engine
This is Rietveld 408576698