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

Side by Side Diff: LayoutTests/fast/css/font-face-insertBefore.html

Issue 157853002: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 var newStyle = document.createElement('style');
7 newStyle.innerHTML = "@font-face { font-family: f1; font-weight: 100; src: l ocal('Courier New'); }";
8 document.body.offsetLeft;
9 document.body.insertBefore(newStyle, document.getElementById('target'));
10 }
11 </script>
12 </head>
13 <body onload="runTest()">
14 <style id="target">
15 @font-face {
16 font-family: f1;
17 font-weight: 100;
18 src: url(../../resources/Ahem.ttf);
19 }
20 </style>
21 <span style="font-family: f1; font-weight: 100">A</span>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698