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

Side by Side Diff: LayoutTests/fast/css/cssom-modify-font-face-rule.html

Issue 131403008: Revert of Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/cssom-modify-font-face-rule-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 document.body.offsetLeft;
7 document.styleSheets[0].cssRules[0].style.fontFamily = "f2";
8 }
9 </script>
10 </head>
11 <body onload="runTest()">
12 <style id="target">
13 @font-face {
14 font-family: f1;
15 font-weight: 100;
16 src: url(../../resources/Ahem.ttf);
17 }
18 </style>
19 <!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. -->
20 <span style="font-family: f1; font-weight: 100">A</span>
21 </body>
22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/cssom-modify-font-face-rule-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698