diff options
Diffstat (limited to 'layout/reftests/writing-mode/font-inflation-1c-ref.html')
-rw-r--r-- | layout/reftests/writing-mode/font-inflation-1c-ref.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/font-inflation-1c-ref.html b/layout/reftests/writing-mode/font-inflation-1c-ref.html new file mode 100644 index 000000000..a15d0488b --- /dev/null +++ b/layout/reftests/writing-mode/font-inflation-1c-ref.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML> +<style> +body { writing-mode: vertical-lr; text-orientation: sideways-right; } +#outer { width: 0; height: 0; } +/* +In a 450px container, the minimum font size at 15em per line is 30px. +This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px. +*/ +#inner { font-size: 34px; width: 100%; height: 100%; } +</style> +<div id="outer"> +<div id="inner">Inflated? |