mirror of
https://github.com/RGBCube/serenity
synced 2026-01-14 17:11:03 +00:00
This patch implements basic support for <a href="#foo"> fragment links. To figure out where we actually want to scroll to, we have to do something different based on the layout node's box type. So if it's a regular LayoutBox we can just use the LayoutBox::position(). However, if it's an inline layout node, we use the position of the first line box fragment in the containing block contributed by this layout node or one of its descendants. |
||
|---|---|---|
| .. | ||
| History.h | ||
| main.cpp | ||
| Makefile | ||