summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
AgeCommit message (Collapse)Author
2021-10-14LibWeb: Make intrinsic width/height/ratio a Box concept and simplify itAndreas Kling
Apparently it's not only replaced elements that can have intrinsic sizes, so let's move this concept from ReplacedBox to Box. To avoid bloating Box, we make the accessors virtual.
2021-09-21LibWeb: Paint bitmaps with rounded_int_rect(), not enclosing_int_rect()Sam Atkins
This fixes the issue where an `<img>` set to its native size would sometimes still appear blurry, because it had a fractional position, causing `enclosing_int_rect()` to expand by 1px.
2021-09-20LibWeb: Enable bilinear blending for bitmapsSam Atkins
This is slower, but looks a lot nicer. :^)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-02-10LibWeb: Remove low-hanging LibGUI fruit from LibWebAndreas Kling
We'll want to remove the LibGUI dependency from the WebContent process. This is the first basic step of removing unnecessary LibGUI includes and swapping out GUI::Painter for Gfx::Painter.
2021-02-10LibWeb: Remove a whole bunch of unnecessary #includesAndreas Kling
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling