servo/components/script/layout_dom
Martin Robinson f4c9b310d5
layout: Take into account display: table etc in offset* queries (#32448)
* layout: Take into account `display: table` etc in offset* queries

The specification says that for deciding whether an element should be
used for offset* queries, a browser should take into account whether the
element is a table cell or table. This change makes that happen.

Co-authored-by: Oriol Brufau <obrufau@igalia.com>

* Only tag HTML elements if they are in the HTML namespace

---------

Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2024-06-10 15:05:57 +00:00
..
document.rs script: Make layout DOM wrappers not generic on layout data (#31994) 2024-04-04 11:34:35 +00:00
element.rs layout: Take into account display: table etc in offset* queries (#32448) 2024-06-10 15:05:57 +00:00
mod.rs Eliminate duplicate Layout DOM wrappers 2023-05-05 17:16:38 +02:00
node.rs layout: Take into account display: table etc in offset* queries (#32448) 2024-06-10 15:05:57 +00:00
shadow_root.rs script: Make layout DOM wrappers not generic on layout data (#31994) 2024-04-04 11:34:35 +00:00