mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
LibWeb: Replace all px Length creation with Length::make_px(CSSPixels)
This commit is contained in:
parent
13b1952929
commit
7d40e3eb0d
5 changed files with 4 additions and 16 deletions
|
@ -41,11 +41,9 @@ public:
|
|||
// this file already. To break the cyclic dependency, we must move all method definitions out.
|
||||
Length(int value, Type type);
|
||||
Length(float value, Type type);
|
||||
Length(CSSPixels value, Type type);
|
||||
~Length();
|
||||
|
||||
static Length make_auto();
|
||||
static Length make_px(float value);
|
||||
static Length make_px(CSSPixels value);
|
||||
static Length make_calculated(NonnullRefPtr<CalculatedStyleValue>);
|
||||
Length percentage_of(Percentage const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue