mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-17 23:35:36 +00:00
One big assumption that our "effectively contained node traversal" made was that the common ancestor container of the range would be all the way at the root of the effectively contained nodes, but that's not the case - e.g. a common text ancestor could reside inside a `<span>` whose children are all effectively contained, causing that element to be contained as well. Walk up from the common ancestor container until we've found the top-most effectively contained ancestor. |
||
|---|---|---|
| .. | ||
| Internal | ||
| CommandNames.cpp | ||
| CommandNames.h | ||
| Commands.cpp | ||
| Commands.h | ||
| ExecCommand.cpp | ||