diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-12 13:42:58 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-12 13:42:58 +0200 |
commit | 92b6a7a18f062c0d17270334e9656c2adcd51544 (patch) | |
tree | 4775706feba46b0ce821793515f9122aa6817734 /Libraries/LibHTML/CSS/StyleDeclaration.cpp | |
parent | 3cef6a5cac06c273b08dde70df8625540e81d362 (diff) | |
download | serenity-92b6a7a18f062c0d17270334e9656c2adcd51544.zip |
LibHTML: Add StyleProperties::line_height()
We currently hard-code the line height to 140% of the font glyph height
and this patch doesn't fix the hard-coding, but at least moves it out
of LayoutText and into StyleProperties where it can be re-used until
the day we go and do a proper implementation of CSS line-height. :^)
Diffstat (limited to 'Libraries/LibHTML/CSS/StyleDeclaration.cpp')
0 files changed, 0 insertions, 0 deletions