mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add a test for percentages in font-size
This commit is contained in:
parent
2c179cdce3
commit
7049f2b165
2 changed files with 14 additions and 0 deletions
|
@ -20,3 +20,4 @@
|
|||
== text_decoration_propagation_a.html text_decoration_propagation_b.html
|
||||
== inline_text_align_a.html inline_text_align_b.html
|
||||
== font_size_em.html font_size_em_ref.html
|
||||
== font_size_percentage.html font_size_em_ref.html
|
||||
|
|
13
src/test/ref/font_size_percentage.html
Normal file
13
src/test/ref/font_size_percentage.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>font-size: 200% (Bug #1435)</title>
|
||||
<style type="text/css">
|
||||
body { font-size: 20px }
|
||||
p { font-size: 200%; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This text should be 40px high.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue