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

Unified Diff: LayoutTests/fast/text/update-sans-serif-and-recalc-style.html

Issue 335393002: Should update FontFaceCache version when updating generic font-family settings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | LayoutTests/fast/text/update-sans-serif-and-recalc-style-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/update-sans-serif-and-recalc-style.html
diff --git a/LayoutTests/fast/text/update-sans-serif-and-recalc-style.html b/LayoutTests/fast/text/update-sans-serif-and-recalc-style.html
new file mode 100644
index 0000000000000000000000000000000000000000..13b31370820ea46791c7dcaea5cb4ffe0be48150
--- /dev/null
+++ b/LayoutTests/fast/text/update-sans-serif-and-recalc-style.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+body { font-family: sans-serif; }
+</style>
+<script>
+if (window.internals)
+ window.internals.settings.setSansSerifFontFamily("Times", "zyyy");
+
+onload = function() {
+ document.body.offsetLeft;
+ if (window.internals)
+ window.internals.settings.setSansSerifFontFamily("Arial", "zyyy");
+}
+</script>
+<body>
+<div>
+<p>This is a test for checking whether style recalc is correctly triggered or not<a href="#" title="dummy">when</a> updating <a href="#" title="dummy2">sans serif</a> font-family<a href="#" title="dummy3"> settings</a>.
+</p>
+</div>
+</body>
+
« no previous file with comments | « no previous file | LayoutTests/fast/text/update-sans-serif-and-recalc-style-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698