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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove.html

Issue 1406153003: CSS Font Loading: drop readonly to use Setlike functionalities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@font_face_set
Patch Set: insert <br> Created 5 years, 2 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/fontfaceset-add-remove-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/fontfaceset-add-remove.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove.html b/third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove.html
index 806b8a58937421205b50b21cef4c60444676f590..4c9ae56d60573080ffdffa1c5e28629d5592d93e 100644
--- a/third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove.html
+++ b/third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove.html
@@ -36,7 +36,8 @@ function verify() {
ahemElement = document.getElementById('ahem');
shouldBe('testElement.offsetWidth', 'arialElement.offsetWidth');
- document.fonts.add(ahemFace);
+ addResult = document.fonts.add(ahemFace);
+ shouldBeTrue('addResult === document.fonts');
shouldBe('testElement.offsetWidth', 'ahemElement.offsetWidth');
document.fonts.delete(ahemFace);
shouldBe('testElement.offsetWidth', 'arialElement.offsetWidth');
@@ -50,8 +51,8 @@ function verify() {
</script>
</head>
<body onload="runTest()">
-<span id="test">abcdefg</span>
-<span id="arial">abcdefg</span>
-<span id="ahem">abcdefg</span>
+<br><span id="test">abcdefg</span>
+<br><span id="arial">abcdefg</span>
+<br><span id="ahem">abcdefg</span>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/fontfaceset-add-remove-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698