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

Unified Diff: Source/web/tests/data/pageserializer/font/font.html

Issue 23202008: Add font support to PageSerializer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 7 years, 4 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: Source/web/tests/data/pageserializer/font/font.html
diff --git a/Source/web/tests/data/pageserializer/font/font.html b/Source/web/tests/data/pageserializer/font/font.html
new file mode 100644
index 0000000000000000000000000000000000000000..10a57ad31466dd165e257f0cb1a8d9a53ab1a5c1
--- /dev/null
+++ b/Source/web/tests/data/pageserializer/font/font.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html lang="en">
Julien - ping for review 2013/09/05 17:38:48 Do we need the lang attribute?
+ <head>
+ <meta charset="utf-8">
Julien - ping for review 2013/09/05 17:38:48 Do we need this meta tag?
+ <title>PageSerializer Font Test</title>
+ <style type="text/css">
Julien - ping for review 2013/09/05 17:38:48 Unneeded type attribute.
+ @font-face {
+ font-family: "URL Font";
+ src: url("font.ttf") format("truetype");
+ }
+ p {
+ font-family: "URL Font";
+ }
+ </style>
+</head>
+<body>
+ <div>
+ <p>PageSerializer Font Test</p>
+ </div>
+</body>
+</html>
+
« Source/core/page/PageSerializer.cpp ('K') | « Source/web/tests/PageSerializerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698