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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/cssom-modify-font-face-rule-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/cssom-modify-font-face-rule.html
diff --git a/LayoutTests/fast/css/font-face-remove.html b/LayoutTests/fast/css/cssom-modify-font-face-rule.html
similarity index 78%
copy from LayoutTests/fast/css/font-face-remove.html
copy to LayoutTests/fast/css/cssom-modify-font-face-rule.html
index 9f76e80bd388232a5943b4d7438506caa2592124..345f3e4d2be3dfddcbe467f4b126e4d9040d3ad2 100644
--- a/LayoutTests/fast/css/font-face-remove.html
+++ b/LayoutTests/fast/css/cssom-modify-font-face-rule.html
@@ -1,11 +1,10 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
<script>
function runTest() {
- var target = document.getElementById('target');
document.body.offsetLeft;
- target.parentNode.removeChild(target);
+ document.styleSheets[0].cssRules[0].style.fontFamily = "f2";
}
</script>
</head>
« 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