LibHTML: Remove unused FontStyle enum

This commit is contained in:
Andreas Kling 2019-10-04 15:49:43 +02:00
parent 4e35bbffdd
commit b1758ae2b3

View file

@ -3,11 +3,6 @@
#include <LibDraw/Size.h>
#include <LibHTML/CSS/LengthBox.h>
enum FontStyle {
Normal,
Bold,
};
class ComputedStyle {
public:
ComputedStyle();
@ -21,8 +16,6 @@ public:
const LengthBox& padding() const { return m_padding; }
const LengthBox& border() const { return m_border; }
FontStyle font_style() const { return m_font_style; }
const Size& size() const { return m_size; }
Size& size() { return m_size; }
@ -41,6 +34,4 @@ private:
LengthBox m_border;
Size m_size;
FontStyle m_font_style { FontStyle::Normal };
};