diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-05-08 11:46:17 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-05-13 11:52:59 +0200 |
commit | 72b5fcd0b69201bd5cda125821dd90555490b45d (patch) | |
tree | 0adae6d50cdbb3f7bb7a4d2780267525fc42e2ff /components/layout_2020/data.rs | |
parent | ab4bd2a13347819210728e48cefb1e8c194d9138 (diff) | |
download | servo-72b5fcd0b69201bd5cda125821dd90555490b45d.tar.gz servo-72b5fcd0b69201bd5cda125821dd90555490b45d.zip |
Combine DOM-related concepts in Layout 2020 into dom.rs
Diffstat (limited to 'components/layout_2020/data.rs')
-rw-r--r-- | components/layout_2020/data.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/components/layout_2020/data.rs b/components/layout_2020/data.rs deleted file mode 100644 index 6df89c80533..00000000000 --- a/components/layout_2020/data.rs +++ /dev/null @@ -1,12 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ - -use crate::element_data::LayoutDataForElement; -use atomic_refcell::AtomicRefCell; -use script_layout_interface::StyleData; - -pub struct StyleAndLayoutData<'dom> { - pub style_data: &'dom StyleData, - pub(super) layout_data: &'dom AtomicRefCell<LayoutDataForElement>, -} |