mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Remove now-unused Resource and ResourceClient
And deal with the fallout of transitive includes.
This commit is contained in:
parent
6057719f63
commit
ac246caa0c
Notes:
github-actions[bot]
2025-11-05 17:28:39 +00:00
Author: https://github.com/trflynn89
Commit: ac246caa0c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6708
11 changed files with 12 additions and 372 deletions
|
|
@ -92,6 +92,7 @@
|
|||
#include <LibWeb/MimeSniff/MimeType.h>
|
||||
#include <LibWeb/MimeSniff/Resource.h>
|
||||
#include <LibWeb/Namespace.h>
|
||||
#include <LibWeb/Page/Page.h>
|
||||
#include <LibWeb/Painting/PaintableBox.h>
|
||||
#include <LibWeb/Platform/FontPlugin.h>
|
||||
#include <math.h>
|
||||
|
|
@ -3097,7 +3098,7 @@ void StyleComputer::compute_custom_properties(ComputedProperties&, DOM::Abstract
|
|||
static CSSPixels line_width_keyword_to_css_pixels(Keyword keyword)
|
||||
{
|
||||
// https://drafts.csswg.org/css-backgrounds/#typedef-line-width
|
||||
// The thin, medium, and thick keywords are equivalent to 1px, 3px, and 5px, respectively.
|
||||
// The thin, medium, and thick keywords are equivalent to 1px, 3px, and 5px, respectively.
|
||||
switch (keyword) {
|
||||
case Keyword::Thin:
|
||||
return CSSPixels { 1 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue