mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:08:12 +00:00
LibWeb: Move everything into the Web namespace
This commit is contained in:
parent
6a3b12664a
commit
7a6c4a72d5
143 changed files with 593 additions and 45 deletions
|
@ -31,6 +31,8 @@
|
|||
#include <LibHTML/Layout/LineBoxFragment.h>
|
||||
#include <LibHTML/RenderingContext.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
void LineBoxFragment::render(RenderingContext& context)
|
||||
{
|
||||
for (auto* ancestor = layout_node().parent(); ancestor; ancestor = ancestor->parent()) {
|
||||
|
@ -75,3 +77,5 @@ int LineBoxFragment::text_index_at(float x) const
|
|||
}
|
||||
return m_start + m_length - 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue