IlyaBobyr

Chrome @font-face leak

Aug 29th, 2012
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" class="en-us">
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>Chrome @font-face leak</title>
  7.  
  8. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
  9.  
  10. <style type="text/css">
  11. body {
  12.   font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
  13. }
  14.  
  15. @media (max-width: 767px) {
  16.   body {
  17.     padding-left: 20px;
  18.     padding-right: 20px;
  19.   }
  20. }
  21.  
  22. @media (max-width: 979px) {
  23.   body {
  24.     padding-top: 0;
  25.   }
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. Any text will do.  The amount of text does not affect the speed of the leak.<br />
  31. But if you have move @font-face sections it leaks noticeably faster.
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment