aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltableelement.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-03-29 13:41:04 +0100
committerGitHub <noreply@github.com>2025-03-29 12:41:04 +0000
commitb5c8164e9982ebd6212ad21910826ce8b2631930 (patch)
tree91359e4206965cc592f53bf8ee86f030c0e67fe0 /components/script/dom/htmltableelement.rs
parentc30ad5a30e10b9aabe5842624db24b9846c3d5d4 (diff)
downloadservo-b5c8164e9982ebd6212ad21910826ce8b2631930.tar.gz
servo-b5c8164e9982ebd6212ad21910826ce8b2631930.zip
layout: Simplify and generalize the usage of pseudo-elements (#36202)
- Remove the last remaining Servo-specific PseudoElement enum from layout. This was made to select `::before` and `::after` (both eager pseudo-elements), but now `traverse_pseudo_element` is called `traverse_eager_pseudo_element` and should work on any eager pseudo element. - Expose a single way of getting psuedo-element variants of ThreadSafeLayoutElement in the Layout DOM, which returns `None` when the pseudo-element doesn't apply (not defined for eager pseudo-elements or when trying to get `<details>` related pseudo-elements on elements that they don't apply to). - Ensure that NodeAndStyleInfo always refers to a node. This is done by making sure that anonymous boxes are all associated with their originating node. These changes are prepatory work for implementation of the `::marker` pseudo-element as well as ensuring that all anonymous boxes can be cached into the box tree eventually. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/htmltableelement.rs')
0 files changed, 0 insertions, 0 deletions