mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
LibWeb: Remove unused InlineFormattingContext::available_width_at_line()
This commit is contained in:
parent
6ca90b8d57
commit
29589378ff
2 changed files with 0 additions and 10 deletions
|
@ -92,14 +92,6 @@ void InlineFormattingContext::run(Box&, LayoutMode layout_mode)
|
||||||
containing_block().set_height(content_height);
|
containing_block().set_height(content_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
float InlineFormattingContext::available_width_at_line(size_t line_index) const
|
|
||||||
{
|
|
||||||
// TODO: Remove this function, along with the old-style splitting functions.
|
|
||||||
VERIFY_NOT_REACHED();
|
|
||||||
auto info = available_space_for_line(line_index);
|
|
||||||
return info.right - info.left;
|
|
||||||
}
|
|
||||||
|
|
||||||
void InlineFormattingContext::dimension_box_on_line(Box& box, LayoutMode layout_mode)
|
void InlineFormattingContext::dimension_box_on_line(Box& box, LayoutMode layout_mode)
|
||||||
{
|
{
|
||||||
if (is<ReplacedBox>(box)) {
|
if (is<ReplacedBox>(box)) {
|
||||||
|
|
|
@ -23,8 +23,6 @@ public:
|
||||||
|
|
||||||
virtual void run(Box&, LayoutMode) override;
|
virtual void run(Box&, LayoutMode) override;
|
||||||
|
|
||||||
float available_width_at_line(size_t line_index) const;
|
|
||||||
|
|
||||||
void dimension_box_on_line(Box&, LayoutMode);
|
void dimension_box_on_line(Box&, LayoutMode);
|
||||||
|
|
||||||
struct AvailableSpaceForLineInfo {
|
struct AvailableSpaceForLineInfo {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue