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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html

Issue 1823073003: Null check font family name in createFontFamilyValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-font-family.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html
similarity index 78%
copy from third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-font-family.html
copy to third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html
index 83bd9a2a8645d855d15ab2db9c102748fa90494d..3e0376e3e8df166078081a31728ab3fc3361e70e 100644
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-font-family.html
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family.html
@@ -15,7 +15,7 @@ function test()
document.getElementById("exposed").textContent = text;
}
</script>
-<body onload="test()" style="font-family: monospace, 'Lucida Grande', sans-serif">
-<p>Font attributes. The font-family should list three families:</p>
+<body onload="test()" style="font-family: ''">
+<p>Font attributes. The font-family should list the empty string:</p>
<p id="exposed" style="white-space: pre"></p>
</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-empty-font-family-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698