diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-04-28 17:17:43 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-09 12:07:20 +0200 |
commit | e1675266187fa2eb8686c06724919bb7b4f8db76 (patch) | |
tree | 3a03bd46814523916049df2cfd286bc6b1193b48 /components/layout_2020/fragment_tree/mod.rs | |
parent | 4e37d07ea4f2bba124f78f17873fbb02c66d1cdb (diff) | |
download | servo-e1675266187fa2eb8686c06724919bb7b4f8db76.tar.gz servo-e1675266187fa2eb8686c06724919bb7b4f8db76.zip |
Better implement getComputedStyle() for positioned insets
The specification dictates quite quite idiosyncratic return values when
querying insets of positioned elements via getComputedStyle(). These
depend on whether or not the elements size was overconstrained. This
change adds a better implementation of that in preparation for returning
proper values for position: sticky.
Diffstat (limited to 'components/layout_2020/fragment_tree/mod.rs')
-rw-r--r-- | components/layout_2020/fragment_tree/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout_2020/fragment_tree/mod.rs b/components/layout_2020/fragment_tree/mod.rs index 1d7425655cb..96f07217ac4 100644 --- a/components/layout_2020/fragment_tree/mod.rs +++ b/components/layout_2020/fragment_tree/mod.rs @@ -3,5 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ mod base; +mod containing_block; pub(crate) use base::*; +pub(crate) use containing_block::*; |