Commit e961c3ef authored by alexclarke's avatar alexclarke Committed by Commit bot

Use the Ahem font to try and deflake DomTreeExtractorBrowserTest

BUG=546953

Review-Url: https://codereview.chromium.org/2534873002
Cr-Commit-Position: refs/heads/master@{#434725}
parent 46b4f407
/* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@font-face {
font-family: 'ahem';
src: url(Ahem.ttf);
}
* {
font-family: ahem
}
.red {
color: red;
}
.green {
color: green;
}
<html> <html>
<head> <head>
<title>Hello world!</title> <title>Hello world!</title>
<link href="dom_tree_test.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<div id="id1"> <div id="id1">
<h1 style='color: red'>Some text.</h1> <h1 class='red'>Some text.</h1>
<iframe src="/iframe.html" width="400" height="200"></iframe> <iframe src="/iframe.html" width="400" height="200"></iframe>
<div id="id2"> <div id="id2">
<div id="id3"> <div id="id3">
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
<a href="https://www.google.com">Google!</a> <a href="https://www.google.com">Google!</a>
<p>A paragraph!</p> <p>A paragraph!</p>
<br> <br>
<div style='color: green'>Some <em>green</em> text...</div> <div class='green'>Some <em>green</em> text...</div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment