mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibWeb: Apply 'min-width' and 'max-width' constraints to replaced boxes
This is definitely not 100% correct but I tried implementing the basic algorithms described in CSS 2.2. It's good enough to render the penguin on @linusg's homepage at the right size. :^)
This commit is contained in:
parent
63067ada68
commit
b60801a9ba
3 changed files with 120 additions and 37 deletions
|
@ -27,6 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
namespace Web::CSS {
|
||||
class Length;
|
||||
class Selector;
|
||||
class StyleDeclaration;
|
||||
class StyleProperties;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue