ladybird/Userland/Libraries/LibWeb
Sam Atkins 6038e36250 LibWeb: Add and use the "snap a length as a border width" algorithm
Previously, we always rounded border-widths up when converting them to
device pixels. However, the spec asks us to follow a specific algorithm
to "snap" these values, so that the computed value is snapped.

The difference from before, is that widths of between 0 and 1 device
pixels are rounded up to 1, and and values larger than 1 are rounded
down.
2023-07-30 22:18:26 +01:00
..
ARIA Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Bindings LibWeb: Implement the HostGetImportMetaProperties hook 2023-07-18 17:03:21 +01:00
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
CSS LibWeb: Convert BorderData::width to CSSPixels 2023-07-30 22:18:26 +01:00
DOM LibWeb: Convert BorderData::width to CSSPixels 2023-07-30 22:18:26 +01:00
DOMParsing LibWeb: Don't include DOM/NamedNodeMap.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
Encoding Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Fetch LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
FileAPI Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Geometry LibWeb: Implement DOMRect(ReadOnly)#fromRect 2023-07-07 05:27:25 +02:00
HighResolutionTime Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
HTML LibWeb: Serialize and deserialize standard built-in objects 2023-07-29 17:24:39 +02:00
Infra LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
IntersectionObserver LibWeb: Fix incorrectly offset root intersection rectangle for Document 2023-07-11 10:03:49 +02:00
Layout LibWeb: Add and use the "snap a length as a border width" algorithm 2023-07-30 22:18:26 +01:00
Loader Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
MimeSniff Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
NavigationTiming LibWeb: Specify snake case names for navigation timing entries too 2023-05-13 16:31:10 +02:00
Page LibWeb: Do not fire click event if mouseup/down elements do not match 2023-07-26 05:22:43 +02:00
Painting LibWeb: Convert BorderData::width to CSSPixels 2023-07-30 22:18:26 +01:00
PerformanceTimeline LibWeb: Introduce Performance Timeline and its Performance functions 2023-03-23 21:00:43 +00:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ReferrerPolicy LibWeb: Add ReferrerPolicy::EmptyString 2023-04-25 12:54:01 +02:00
RequestIdleCallback LibWeb/HTML: Port Window.requestIdleCallback() to IDL 2023-03-07 23:33:34 +00:00
ResizeObserver LibWeb: Make factory method of ResizeObserver::ResizeObserver fallible 2023-02-22 09:55:33 +01:00
Scripts LibWeb: Store stylesheet sources as StringViews 2023-02-19 00:51:16 +01:00
SecureContexts LibWeb: Use IPv6Address::loopback() instead of parsing "::1" 2023-06-09 19:38:14 +01:00
Selection LibWeb: Make factory method of Selection::Selection fallible 2023-02-22 09:55:33 +01:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
SVG LibWeb: Support legacy xlink:href attribute for linked gradients 2023-07-30 16:06:03 +02:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Implement KeyboardEvent.location closer to the spec 2023-07-09 06:32:20 +02:00
URL LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
UserTiming LibWeb: Implement performance.{measure,clearMeasures} 2023-05-13 16:31:10 +02:00
WebAssembly LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
WebAudio Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
WebDriver Everywhere: Remove 'clang-format off' comments that are no longer needed 2023-07-08 10:32:56 +01:00
WebGL LibWeb: Don't include Layout/Node.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
WebIDL LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
WebSockets Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
XHR LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
XML LibWeb: Detect when an XML document belongs in the SVG namespace 2023-06-09 01:12:48 +02:00
CMakeLists.txt LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Dump.cpp LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Dump.h LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
FontCache.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
FontCache.h LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
Forward.h LibWeb: Add support for "place-items" CSS property 2023-07-17 18:58:05 +02:00
idl_files.cmake LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Namespace.cpp LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
Namespace.h LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
PixelUnits.cpp LibWeb: Implement subtraction using saturated_addition in CSSPixels 2023-07-25 15:21:40 +02:00
PixelUnits.h LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
TreeNode.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00