[Cocoa] Add SPI to disallow user-installed fonts
[WebKit-https.git] / LayoutTests / fast / text / user-installed-fonts / shadow-disable.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6     testRunner.installFakeHelvetica("Helvetica-400");
7 if (window.internals)
8     internals.settings.setShouldDisallowUserInstalledFonts(true);
9 </script>
10 </head>
11 <body>
12 <div style="font: 400 100px 'Helvetica'; width: 96px; height: 96px; overflow: hidden; position: relative;"><div style="position: relative; top: -2px; left: -2px;">e</div></div>
13 </body>
14 </html>