mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibHTML: Get rid of ComputedStyle::offset()
This is redundant since we already have LayoutNode::rect().
This commit is contained in:
parent
756bdb2a42
commit
a42f4c078e
Notes:
sideshowbarker
2024-07-19 11:56:45 +09:00
Author: https://github.com/bugaevc
Commit: a42f4c078e
Pull-request: https://github.com/SerenityOS/serenity/pull/609
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 0 additions and 3 deletions
|
@ -17,12 +17,10 @@ public:
|
|||
Color text_color() const { return m_text_color; }
|
||||
Color background_color() const { return m_background_color; }
|
||||
|
||||
LengthBox& offset() { return m_offset; }
|
||||
LengthBox& margin() { return m_margin; }
|
||||
LengthBox& padding() { return m_padding; }
|
||||
LengthBox& border() { return m_border; }
|
||||
|
||||
const LengthBox& offset() const { return m_offset; }
|
||||
const LengthBox& margin() const { return m_margin; }
|
||||
const LengthBox& padding() const { return m_padding; }
|
||||
const LengthBox& border() const { return m_border; }
|
||||
|
@ -36,7 +34,6 @@ private:
|
|||
Color m_text_color;
|
||||
Color m_background_color;
|
||||
|
||||
LengthBox m_offset;
|
||||
LengthBox m_margin;
|
||||
LengthBox m_padding;
|
||||
LengthBox m_border;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue