1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Userland/Libraries/LibWeb/Painting
Andreas Oppebøen ad25a415ae LibWeb: Return the position at end-of-line in TextCursor hit-test
When starting to drag the cursor below the text, we would start the
selection from the closest point in the line above in the last
fragment. This is not the behavior seen in other browsers, and it
causes weird behavior when the cursor is to the left of the last
fragment, for instances when trying to select with the text
`before <span>middle</span> after`.

By starting the selection from the _end_ of the last fragment,
including the line end character, selection behavior is similar to
that of other browsers.
2022-11-29 13:52:01 +00:00
..
BackgroundPainting.cpp LibWeb: Remove done TODO and fix typo 2022-08-23 13:27:02 +01:00
BackgroundPainting.h LibWeb: Follow image-rendering when painting image style values 2022-08-10 19:39:07 +02:00
BorderPainting.cpp LibWeb: Tiebreak corner color on existence of corresponding borders 2022-07-10 12:46:57 +02:00
BorderPainting.h LibWeb: Add .shrink() to BorderRadiusData and BorderRadiiData 2022-07-04 11:12:44 +02:00
BorderRadiusCornerClipper.cpp LibWeb: Add option to allocate new bitmap for BorderRadiusCornerClipper 2022-07-04 23:09:06 +02:00
BorderRadiusCornerClipper.h LibWeb: Add ScopedCornerRadiusClip 2022-07-04 23:09:06 +02:00
ButtonPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
CanvasPaintable.cpp LibWeb: Fix position: fixed canvases/images disappearing when scrolling 2022-10-13 11:16:27 +02:00
CanvasPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
CheckBoxPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
CheckBoxPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
FilterPainting.cpp LibWeb: Add missing hue-rotate() filter spec comment 2022-10-07 13:08:24 +01:00
FilterPainting.h LibWeb: Paint backdrop-filter effects! 2022-09-16 10:50:48 +01:00
GradientPainting.cpp LibWeb: Paint repeating-conic-gradient()s 2022-11-07 13:13:22 +00:00
GradientPainting.h LibWeb: Paint repeating-conic-gradient()s 2022-11-07 13:13:22 +00:00
ImagePaintable.cpp LibWeb: Fix position: fixed canvases/images disappearing when scrolling 2022-10-13 11:16:27 +02:00
ImagePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
InlinePaintable.cpp LibWeb: Follow image-rendering when painting image style values 2022-08-10 19:39:07 +02:00
InlinePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
LabelablePaintable.cpp LibWeb: Make BrowsingContext GC-allocated 2022-10-20 15:16:23 +02:00
LabelablePaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
MarkerPaintable.cpp LibWeb: Follow image-rendering when painting image style values 2022-08-10 19:39:07 +02:00
MarkerPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Don't paint non-visible frames 2022-08-05 12:46:42 +02:00
NestedBrowsingContextPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
Paintable.cpp LibWeb: Make hit testing traverse positioned descendants in right order 2022-11-04 10:38:00 +01:00
Paintable.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
PaintableBox.cpp LibWeb: Return the position at end-of-line in TextCursor hit-test 2022-11-29 13:52:01 +00:00
PaintableBox.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
PaintContext.cpp LibWeb: Don't crash on content with SVG elements outside of <svg> 2022-02-28 14:17:44 +01:00
PaintContext.h LibWeb: Use the correct painter for painting stacking contexts 2022-04-08 20:44:23 +02:00
ProgressPaintable.cpp LibWeb: Paint a frame around (system) <progress> elements 2022-07-24 13:31:01 +01:00
ProgressPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
RadioButtonPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
RadioButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ShadowPainting.cpp LibGfx+Everywhere: Make DisjointRectSet work for non-int Rects 2022-10-27 13:06:33 +02:00
ShadowPainting.h LibWeb: Pass border radii data to shadow painting 2022-06-23 19:13:24 +01:00
StackingContext.cpp LubWeb: Call before_children_paint for positioned descendants 2022-11-15 22:53:47 +01:00
StackingContext.h LibWeb: StackingContext::paint_descendants() can take const layout node 2022-10-23 23:32:42 +02:00
SVGGeometryPaintable.cpp LibWeb: Keep SVG elliptical arc shape when applying viewbox 2022-03-12 15:38:55 +01:00
SVGGeometryPaintable.h LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +01:00
SVGGraphicsPaintable.cpp LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGGraphicsPaintable.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGPaintable.cpp LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGPaintable.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGSVGPaintable.cpp LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGSVGPaintable.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
TextPaintable.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TextPaintable.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00