Skip to content

Truly independent web browser

LibWeb: Name the box and phase that recorded each display list record

Aliaksandr Kalenik467964df97e8
diff --git a/Libraries/LibWeb/DOM/Document.cpp b/Libraries/LibWeb/DOM/Document.cpp
index 74dcc42e22e..652cf25df9d 100644
--- a/Libraries/LibWeb/DOM/Document.cpp
+++ b/Libraries/LibWeb/DOM/Document.cpp
@@ -11761,7 +11761,8 @@ Utf16String Document::dump_display_list(Painting::DisplayListDumpOptions const&
if (paint_state().has_visual_context_tree(read))
schedule_full_accumulated_visual_context_rebuild(Layout::RustFFI::VisualContextUpdateScope::FreshTree);
- if (!record_display_list(read, HTML::PaintConfig { .records_whole_document = true }, Painting::PaintCommandCacheMode::ReadOnly))
+ HTML::PaintConfig config { .records_whole_document = true, .notes_record_origins = options.owners };
+ if (!record_display_list(read, config, Painting::PaintCommandCacheMode::ReadOnly))
return "No display list"_utf16;
return Painting::serialize_painting_dump(read, *this, options);
diff --git a/Libraries/LibWeb/HTML/PaintConfig.h b/Libraries/LibWeb/HTML/PaintConfig.h
index 1c12a428a1e..6ec15744486 100644
--- a/Libraries/LibWeb/HTML/PaintConfig.h
+++ b/Libraries/LibWeb/HTML/PaintConfig.h
@@ -24,6 +24,9 @@ struct PaintConfig {
// Records everything the document paints and not just what shows in a window around the viewport. A screenshot,
// which may be of more than the viewport, and a dump of the display list ask for it.
bool records_whole_document { false };
+ // Notes beside the records which box and phase recorded each and the text each glyph run draws, which only a
+ // dump of the display list reads.
+ bool notes_record_origins { false };
bool should_show_line_box_borders { false };
bool should_show_caret_hit_test_debug_overlay { false };
bool force_dark_enabled { false };
diff --git a/Libraries/LibWeb/Internals/Internals.cpp b/Libraries/LibWeb/Internals/Internals.cpp
index c605e67ae9e..8d1fcfbf917 100644
--- a/Libraries/LibWeb/Internals/Internals.cpp
+++ b/Libraries/LibWeb/Internals/Internals.cpp
@@ -1922,6 +1922,7 @@ static Utf16String dump_string_to_utf16(String const& string)
Utf16String Internals::dump_display_list(Bindings::DisplayListDumpOptions const& options)
{
return window().associated_document().dump_display_list({
+ .owners = options.owners,
.record_ids = options.record_ids,
.raw_node_indices = options.raw_node_indices,
});
diff --git a/Libraries/LibWeb/Internals/Internals.idl b/Libraries/LibWeb/Internals/Internals.idl
index f893b9faeed..2b75faf1c98 100644
--- a/Libraries/LibWeb/Internals/Internals.idl
+++ b/Libraries/LibWeb/Internals/Internals.idl
@@ -544,6 +544,7 @@ dictionary StyleRecordsDumpOptions {
};
dictionary DisplayListDumpOptions {
+ boolean owners = true;
boolean recordIds = false;
boolean rawNodeIndices = false;
};
diff --git a/Libraries/LibWeb/Painting/DisplayListDumpOptions.h b/Libraries/LibWeb/Painting/DisplayListDumpOptions.h
index 0154d1f4c81..4f8615f625e 100644
--- a/Libraries/LibWeb/Painting/DisplayListDumpOptions.h
+++ b/Libraries/LibWeb/Painting/DisplayListDumpOptions.h
@@ -9,6 +9,7 @@
namespace Web::Painting {
struct DisplayListDumpOptions {
+ bool owners { true };
bool record_ids { false };
bool raw_node_indices { false };
};
diff --git a/Libraries/LibWeb/Painting/PaintingRustBridge.cpp b/Libraries/LibWeb/Painting/PaintingRustBridge.cpp
index 69b7126e7e1..a05484b0c48 100644
--- a/Libraries/LibWeb/Painting/PaintingRustBridge.cpp
+++ b/Libraries/LibWeb/Painting/PaintingRustBridge.cpp
@@ -258,6 +258,7 @@ Utf16String serialize_painting_dump(Layout::BegunRead const& read, DOM::Document
};
Gfx::IntRect device_viewport_rect { {}, document.page().css_to_device_rect(document.viewport_rect()).size().to_type<int>() };
Layout::RustFFI::FfiDisplayListDumpOptions ffi_options {
+ .owners = options.owners,
.record_ids = options.record_ids,
.raw_node_indices = options.raw_node_indices,
};
@@ -542,6 +543,7 @@ Optional<DisplayListRecording> start_rust_display_list_recording(Layout::BegunRe
inputs.should_paint_overlay = config.paint_overlay;
inputs.records_in_finest_runs = config.records_in_finest_runs;
inputs.records_whole_document = config.records_whole_document;
+ inputs.notes_record_origins = config.notes_record_origins;
inputs.has_blocking_wheel_event_region_covering_viewport = wheel_event_region_state.has_blocking_wheel_event_region_covering_viewport;
inputs.wheel_event_listener_state_generation = document.page().wheel_event_listener_state_generation();
inputs.chrome_metrics = document.page().chrome_metrics();
diff --git a/Libraries/LibWeb/Rust/src/painting/display_list/dump.rs b/Libraries/LibWeb/Rust/src/painting/display_list/dump.rs
index 0f1939173ef..b48c00fa9b6 100644
--- a/Libraries/LibWeb/Rust/src/painting/display_list/dump.rs
+++ b/Libraries/LibWeb/Rust/src/painting/display_list/dump.rs
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-use super::builder::{HEADER_SIZE, for_each_command, inline_transform_of, read_command};
+use super::builder::{HEADER_SIZE, RecordedDisplayList, for_each_command, inline_transform_of, read_command};
use super::commands::*;
use super::dump_format::{
DumpNames, DumpValue, dumped_record_field, path_description, push_clip_radii, push_fields, push_value,
@@ -15,6 +15,7 @@ use super::nested_records::{
NestedRecordsRole, for_each_command_including_nested, for_each_nested_record_span, span_bytes,
};
use super::record_fields::visit_command_fields;
+use super::recorder::{RecordNotes, RecordOrigin};
use super::storage::DisplayListStorage;
use super::summary::{LiveContent, summarize};
use crate::layout::LayoutNodeArena;
@@ -40,6 +41,8 @@ crate::stage::main_thread_ffi_entries!();
#[derive(Clone, Copy)]
#[repr(C)]
pub struct FfiDisplayListDumpOptions {
+ /// Names, on each record, the box and the paint phase that recorded it.
+ pub owners: bool,
/// Numbers every record, nested ones too, in tape order, and names the records of each layer by those numbers.
pub record_ids: bool,
/// Names visual context nodes by their indices in the tree rather than by the order the dump first prints them in.
@@ -225,6 +228,14 @@ pub unsafe extern "C" fn painting_dump(
owners
})
};
+ let record_origins = options.owners.then(|| {
+ let record_notes = recording.record_notes.clone().unwrap_or_default();
+ record_origins_in_tape_order(&recording.display_list, &record_notes)
+ });
+ let owner_labels = record_origins
+ .as_ref()
+ .map(|origins| owner_labels(host, read, &main_thread, &callbacks, origins))
+ .unwrap_or_default();
let mut names = if options.raw_node_indices {
DumpNames::default()
} else {
@@ -252,6 +263,11 @@ pub unsafe extern "C" fn painting_dump(
output: &mut output,
names: &mut names,
next_record_id: options.record_ids.then_some(1),
+ record_origins: record_origins.map(|origins| RecordOriginsInDumpOrder {
+ origins,
+ next_index: 0,
+ owner_labels,
+ }),
};
match layer_plan {
Some(layer_plan) => records.dump_top_level_commands_with_their_layers(&display_list, &layer_plan),
@@ -474,12 +490,83 @@ impl RecordIdsOfTopLevelRecords {
}
}
+/// The origin of each record of a tape in tape order, nested records after the one they are nested in. A nested record
+/// whose recording noted no origin, such as a record of a pattern tile, which is recorded once and copied wherever it
+/// is drawn, has the origin of the record it is nested in.
+fn record_origins_in_tape_order(display_list: &RecordedDisplayList, notes: &RecordNotes) -> Vec<Option<RecordOrigin>> {
+ fn collect(
+ bytes: &[u8],
+ base_offset: u32,
+ enclosing_origin: Option<RecordOrigin>,
+ notes: &RecordNotes,
+ origins: &mut Vec<Option<RecordOrigin>>,
+ ) {
+ for_each_command(bytes, |header, record_offset, payload| {
+ let record_offset = base_offset + record_offset as u32;
+ let origin = notes.origin_at(record_offset).or(enclosing_origin);
+ origins.push(origin);
+ let payload_offset = record_offset + HEADER_SIZE as u32;
+ for_each_nested_record_span(header.command_type, payload, |_, span| {
+ collect(
+ span_bytes(payload, span),
+ payload_offset + span.offset,
+ origin,
+ notes,
+ origins,
+ );
+ });
+ });
+ }
+ let mut origins = Vec::new();
+ for run in &display_list.command_runs {
+ let run_bytes = &display_list.bytes[run.offset as usize..(run.offset + run.size) as usize];
+ collect(run_bytes, run.offset, None, notes, &mut origins);
+ }
+ origins
+}
+
+/// The labels of the live boxes that recorded the records.
+fn owner_labels(
+ host: &crate::render_state::DocumentHost,
+ read: &crate::render_state::BegunRead,
+ main_thread: &MainThread,
+ callbacks: &FfiPaintingDumpCallbacks,
+ origins: &[Option<RecordOrigin>],
+) -> HashMap<NodeSlotId, String> {
+ let owners: Vec<NodeSlotId> = origins
+ .iter()
+ .flatten()
+ .map(|origin| origin.owner)
+ .collect::<std::collections::HashSet<_>>()
+ .into_iter()
+ .collect();
+ let live_owners = crate::painting::ffi::read_arena(host, read, owners, |arena, owners| {
+ owners
+ .into_iter()
+ .filter(|&owner| owner != NodeSlotId::INVALID && arena.slot_is_live(owner))
+ .collect::<Vec<_>>()
+ });
+ live_owners
+ .into_iter()
+ .map(|owner| (owner, callbacks.debug_description(main_thread, owner)))
+ .collect()
+}
+
+/// The origins of the records the DisplayList section prints, which it takes in turn. The records of an SVG image,
+/// which the recording names by the image's id only, are not among them.
+struct RecordOriginsInDumpOrder {
+ origins: Vec<Option<RecordOrigin>>,
+ next_index: usize,
+ owner_labels: HashMap<NodeSlotId, String>,
+}
+
/// Where the DisplayList section is written, with the names it gives what the records name.
struct RecordDump<'a> {
output: &'a mut String,
names: &'a mut DumpNames,
// The number the next record is printed with, while records are numbered.
next_record_id: Option<u32>,
+ record_origins: Option<RecordOriginsInDumpOrder>,
}
impl RecordDump<'_> {
@@ -487,7 +574,7 @@ impl RecordDump<'_> {
let (bytes, command_runs) = (display_list.bytes(), display_list.command_runs());
for run in command_runs {
let run_bytes = &bytes[run.offset as usize..(run.offset + run.size) as usize];
- self.dump_command_bytes(run_bytes, run.context, 0);
+ self.dump_command_bytes(run_bytes, run.context, 0, None);
}
}
@@ -500,7 +587,7 @@ impl RecordDump<'_> {
let layer_label = format!("L{} ", layer_plan.layer_of_record(run.offset + offset_in_run as u32));
let record_bytes = &run_bytes[offset_in_run..offset_in_run + HEADER_SIZE + payload.len()];
let record_dump_start = self.output.len();
- self.dump_command_bytes(record_bytes, run.context, 0);
+ self.dump_command_bytes(record_bytes, run.context, 0, None);
let record_dump = self.output.split_off(record_dump_start);
for (line_index, line) in record_dump.split_inclusive('\n').enumerate() {
if line_index == 0 {
@@ -514,8 +601,22 @@ impl RecordDump<'_> {
}
}
- fn dump_command_bytes(&mut self, command_bytes: &[u8], context: ContextRef, base_indent: usize) {
+ // The records of an SVG image take the origin of the record that draws the image.
+ fn dump_command_bytes(
+ &mut self,
+ command_bytes: &[u8],
+ context: ContextRef,
+ base_indent: usize,
+ origin_of_enclosing_vector_image: Option<Option<RecordOrigin>>,
+ ) {
for_each_command(command_bytes, |header, _, payload| {
+ let origin = match origin_of_enclosing_vector_image {
+ Some(origin) => origin,
+ None => self
+ .record_origins
+ .as_mut()
+ .and_then(RecordOriginsInDumpOrder::take_next),
+ };
push_indent(self.output, base_indent);
if let Some(record_id) = &mut self.next_record_id {
write!(self.output, "#{record_id} ").unwrap();
@@ -532,9 +633,19 @@ impl RecordDump<'_> {
self.output.push_str(" inline_transform=");
push_affine_transform(self.output, transform);
}
+ if let Some(origin) = origin {
+ self.push_origin(origin);
+ }
self.output.push('\n');
- self.dump_records_inside(header.command_type, payload, context, base_indent + 1);
+ self.dump_records_inside(
+ header.command_type,
+ payload,
+ context,
+ base_indent + 1,
+ origin_of_enclosing_vector_image,
+ origin,
+ );
});
}
@@ -544,6 +655,8 @@ impl RecordDump<'_> {
payload: &[u8],
context: ContextRef,
indent: usize,
+ origin_of_enclosing_vector_image: Option<Option<RecordOrigin>>,
+ origin: Option<RecordOrigin>,
) {
for_each_nested_record_span(command_type, payload, |role, span| {
let label = match role {
@@ -560,9 +673,37 @@ impl RecordDump<'_> {
self.output.push_str(label);
nested_indent += 1;
}
- self.dump_command_bytes(span_bytes(payload, span), context, nested_indent);
+ let origin_of_enclosing_vector_image = match role {
+ NestedRecordsRole::VectorImage => origin_of_enclosing_vector_image.or(Some(origin)),
+ _ => origin_of_enclosing_vector_image,
+ };
+ self.dump_command_bytes(
+ span_bytes(payload, span),
+ context,
+ nested_indent,
+ origin_of_enclosing_vector_image,
+ );
});
}
+
+ fn push_origin(&mut self, origin: RecordOrigin) {
+ let owner_label = self
+ .record_origins
+ .as_ref()
+ .and_then(|origins| origins.owner_labels.get(&origin.owner));
+ if let Some(owner_label) = owner_label {
+ write!(self.output, " owner={owner_label}").unwrap();
+ }
+ write!(self.output, " phase={}", origin.phase).unwrap();
+ }
+}
+
+impl RecordOriginsInDumpOrder {
+ fn take_next(&mut self) -> Option<RecordOrigin> {
+ let origin = self.origins.get(self.next_index).copied().flatten();
+ self.next_index += 1;
+ origin
+ }
}
fn command_fields(command_type: DisplayListCommandType, payload: &[u8]) -> Vec<(&'static str, DumpValue)> {
diff --git a/Libraries/LibWeb/Rust/src/painting/display_list/recorder.rs b/Libraries/LibWeb/Rust/src/painting/display_list/recorder.rs
index 4a0c77d1228..04b85f4f4ce 100644
--- a/Libraries/LibWeb/Rust/src/painting/display_list/recorder.rs
+++ b/Libraries/LibWeb/Rust/src/painting/display_list/recorder.rs
@@ -7,6 +7,7 @@
use super::builder::{DisplayListBuilder, HEADER_SIZE, OpenGroup, PendingInlineClip};
use super::chunks::Chunk;
use super::commands::*;
+use crate::layout::node_data::NodeSlotId;
use crate::painting::display_list::ffi_bytes::FfiBytes;
use crate::painting::force_dark::{ForceDarkResolver, ForceDarkRole, ForceDarkSettings};
use libgfx_rust::*;
@@ -259,8 +260,50 @@ pub struct IsolatedGroupEffects {
pub mask_kind: MaskKind,
}
+/// The box and the part of its painting that recorded a record. What is recorded outside the boxes, such as the canvas
+/// and the inspector's overlays, names no box.
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub(crate) struct RecordOrigin {
+ pub(crate) owner: NodeSlotId,
+ pub(crate) phase: &'static str,
+}
+
+/// What a recording notes beside its records for the display list dump, by the offsets the records start at, in
+/// increasing order.
+#[derive(Default)]
+pub(crate) struct RecordNotes {
+ pub(crate) origins: Vec<(u32, RecordOrigin)>,
+}
+
+impl RecordNotes {
+ pub(crate) fn append_shifted_by(&mut self, other: RecordNotes, shift: u32) {
+ self.origins.extend(
+ other
+ .origins
+ .into_iter()
+ .map(|(offset, origin)| (offset + shift, origin)),
+ );
+ }
+
+ pub(crate) fn origin_at(&self, record_offset: u32) -> Option<RecordOrigin> {
+ let index = self
+ .origins
+ .binary_search_by_key(&record_offset, |(offset, _)| *offset)
+ .ok()?;
+ Some(self.origins[index].1)
+ }
+}
+
+#[derive(Default)]
+struct RecordNoting {
+ open_origins: Vec<RecordOrigin>,
+ notes: RecordNotes,
+}
+
pub struct DetachedRecords {
outer_builder: DisplayListBuilder,
+ // The notes of the outer records. The detached records are copied wherever they are drawn, and note nothing.
+ outer_record_notes: Option<RecordNotes>,
outer_ambient_inline_clips: Vec<PendingInlineClip>,
outer_ambient_inline_transform: Option<AffineTransform>,
}
@@ -282,9 +325,49 @@ pub struct DisplayListRecorder {
context: ContextRef,
ambient_inline_clips: Vec<PendingInlineClip>,
ambient_inline_transform: Option<AffineTransform>,
+ // Present only while a recording for the display list dump notes where its records come from.
+ record_noting: Option<Box<RecordNoting>>,
}
impl DisplayListRecorder {
+ /// Notes, for each record from now on, the box and phase that recorded it.
+ pub(crate) fn note_record_origins(&mut self) {
+ self.record_noting = Some(Box::default());
+ }
+
+ pub(crate) fn notes_record_origins(&self) -> bool {
+ self.record_noting.is_some()
+ }
+
+ pub(crate) fn begin_record_origin(&mut self, owner: NodeSlotId, phase: &'static str) {
+ if let Some(noting) = &mut self.record_noting {
+ noting.open_origins.push(RecordOrigin { owner, phase });
+ }
+ }
+
+ pub(crate) fn end_record_origin(&mut self) {
+ if let Some(noting) = &mut self.record_noting {
+ noting.open_origins.pop();
+ }
+ }
+
+ /// The notes of the records recorded since the last chunk was taken, with offsets from where that chunk ended.
+ pub(crate) fn take_record_notes(&mut self) -> Option<RecordNotes> {
+ self.record_noting
+ .as_mut()
+ .map(|noting| std::mem::take(&mut noting.notes))
+ }
+
+ fn note_record_start(&mut self) {
+ let Some(noting) = &mut self.record_noting else {
+ return;
+ };
+ let offset = u32::try_from(self.builder.byte_size()).expect("display list exceeds u32");
+ if let Some(origin) = noting.open_origins.last() {
+ noting.notes.origins.push((offset, *origin));
+ }
+ }
+
pub fn new(force_dark_settings: Option<ForceDarkSettings>) -> Self {
Self {
force_dark: force_dark_settings.map(ForceDarkResolver::new),
@@ -466,6 +549,7 @@ impl DisplayListRecorder {
}
fn append_command<C: DisplayListCommand>(&mut self, command: &C, inline_data: &[u8]) {
+ self.note_record_start();
self.builder.append_with_inline_state(
command,
inline_data,
@@ -887,6 +971,7 @@ impl DisplayListRecorder {
pub fn begin_detached_records(&mut self) -> DetachedRecords {
DetachedRecords {
outer_builder: std::mem::take(&mut self.builder),
+ outer_record_notes: self.take_record_notes(),
outer_ambient_inline_clips: std::mem::take(&mut self.ambient_inline_clips),
outer_ambient_inline_transform: self.ambient_inline_transform.take(),
}
@@ -896,6 +981,9 @@ impl DisplayListRecorder {
debug_assert!(self.ambient_inline_clips.is_empty());
self.ambient_inline_transform = detached.outer_ambient_inline_transform;
self.ambient_inline_clips = detached.outer_ambient_inline_clips;
+ if let (Some(noting), Some(outer_record_notes)) = (&mut self.record_noting, detached.outer_record_notes) {
+ noting.notes = outer_record_notes;
+ }
std::mem::replace(&mut self.builder, detached.outer_builder)
.finish()
.bytes
@@ -919,6 +1007,7 @@ impl DisplayListRecorder {
}
fn begin_group<C: DisplayListCommand>(&mut self) -> OpenRecorderGroup {
+ self.note_record_start();
let suspended_ambient_inline_clips = std::mem::take(&mut self.ambient_inline_clips);
OpenRecorderGroup {
group: self.builder.begin_group::<C>(suspended_ambient_inline_clips.clone()),
@@ -1368,3 +1457,48 @@ impl DisplayListRecorder {
self.append_command(&region, &[]);
}
}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn noted_origins_name_the_innermost_open_origin_and_skip_detached_records() {
+ let mut recorder = DisplayListRecorder::new(None);
+ recorder.note_record_origins();
+ let (outer, inner) = (NodeSlotId::new(1, 1), NodeSlotId::new(2, 1));
+ let rect = IntRect::new(0, 0, 10, 10);
+ recorder.begin_record_origin(outer, "background");
+ recorder.fill_rect(rect, Color::from_rgb(1, 2, 3), ForceDarkRole::Background);
+ let group = recorder.begin_isolated_group();
+ recorder.begin_record_origin(inner, "foreground");
+ recorder.fill_rect(rect, Color::from_rgb(4, 5, 6), ForceDarkRole::Background);
+ recorder.end_record_origin();
+ recorder.finish_isolated_group(
+ group,
+ rect.to_float(),
+ CompositingAndBlendingOperator::Normal,
+ MaskKind::Alpha,
+ );
+ let detached = recorder.begin_detached_records();
+ recorder.fill_rect(rect, Color::from_rgb(7, 8, 9), ForceDarkRole::Background);
+ let _ = recorder.finish_detached_records(detached);
+ recorder.end_record_origin();
+
+ let notes = recorder.take_record_notes().unwrap();
+ let origin = |owner, phase| RecordOrigin { owner, phase };
+ let mut record_offsets = Vec::new();
+ crate::painting::display_list::nested_records::for_each_command_including_nested(
+ recorder.bytes(),
+ &mut |_, payload_offset, _| record_offsets.push((payload_offset - HEADER_SIZE) as u32),
+ );
+ assert_eq!(
+ notes.origins,
+ [
+ (record_offsets[0], origin(outer, "background")),
+ (record_offsets[1], origin(outer, "background")),
+ (record_offsets[2], origin(inner, "foreground")),
+ ]
+ );
+ }
+}
diff --git a/Libraries/LibWeb/Rust/src/painting/host/paint.rs b/Libraries/LibWeb/Rust/src/painting/host/paint.rs
index f223256c025..f8bff738bed 100644
--- a/Libraries/LibWeb/Rust/src/painting/host/paint.rs
+++ b/Libraries/LibWeb/Rust/src/painting/host/paint.rs
@@ -24,6 +24,7 @@ pub struct FfiRecordingInputs {
pub should_paint_overlay: bool,
pub records_in_finest_runs: bool,
pub records_whole_document: bool,
+ pub notes_record_origins: bool,
pub has_blocking_wheel_event_region_covering_viewport: bool,
pub has_navigable_container_with_composited_context: bool,
pub wheel_event_listener_state_generation: u64,
@@ -181,6 +182,7 @@ impl FfiRecordingInputs {
should_paint_overlay: self.should_paint_overlay,
records_in_finest_runs: self.records_in_finest_runs,
records_whole_document: self.records_whole_document,
+ notes_record_origins: self.notes_record_origins,
canvas_fill_rect: self.canvas_fill_rect.has_value.then_some(self.canvas_fill_rect.value),
opaque_canvas: self.opaque_canvas,
bitmap_rect: self.bitmap_rect,
diff --git a/Libraries/LibWeb/Rust/src/painting/record/inputs.rs b/Libraries/LibWeb/Rust/src/painting/record/inputs.rs
index 3b5cc173ae8..f83cf9f7214 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/inputs.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/inputs.rs
@@ -72,6 +72,9 @@ pub(crate) struct RecordingInputs {
/// Records everything the document paints, wherever it is, and not just what shows in a window around the
/// viewport: what a screenshot of more than the viewport and a dump of the display list read.
pub records_whole_document: bool,
+ /// Notes beside the records which box and phase recorded each and the text each glyph run draws, for the display
+ /// list dump.
+ pub notes_record_origins: bool,
pub canvas_fill_rect: Option<IntRect>,
pub opaque_canvas: bool,
pub bitmap_rect: IntRect,
diff --git a/Libraries/LibWeb/Rust/src/painting/record/mod.rs b/Libraries/LibWeb/Rust/src/painting/record/mod.rs
index a0217764c2f..ef22743e8c4 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/mod.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/mod.rs
@@ -86,6 +86,8 @@ pub struct RecordingOutput {
/// What the display list is stamped with for async scrolling, but for the keyboard scroll state, which each frame
/// sets.
pub async_scrolling_metadata: Option<libcompositing_rust::ipc_types::Compositing_AsyncScrollingMetadata>,
+ /// Where the records of the tape come from, by their offsets in it, for a recording that notes it.
+ pub(crate) record_notes: Option<Arc<crate::painting::display_list::recorder::RecordNotes>>,
}
pub(crate) struct RecordingResult {
@@ -146,6 +148,11 @@ pub struct PaintRecorder<'a, O: Observer> {
// The spaces of the frame's tree against the window of the recording, for one that does not hold the whole
// document.
pub(crate) window_spaces: Option<window::WindowSpaces<'a>>,
+ // The notes of the records of each chunk taken, where the recording notes them.
+ pub(crate) record_notes_of_chunks: Vec<(
+ Arc<order_tree::RecordedChunk>,
+ crate::painting::display_list::recorder::RecordNotes,
+ )>,
}
#[derive(Clone, Copy, Default)]
diff --git a/Libraries/LibWeb/Rust/src/painting/record/paint/mod.rs b/Libraries/LibWeb/Rust/src/painting/record/paint/mod.rs
index 41391ce8fc8..2b978db34c3 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/paint/mod.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/paint/mod.rs
@@ -94,6 +94,14 @@ pub(crate) fn paint_phase_mask<O: Observer>(
}
pub(crate) fn paint<O: Observer>(recorder: &mut PaintRecorder<'_, O>, paintable: NodeSlotId, phase: PaintPhase) {
+ recorder
+ .recorder
+ .begin_record_origin(paintable, crate::painting::record::trace::paint_phase_name(phase));
+ paint_box_phase(recorder, paintable, phase);
+ recorder.recorder.end_record_origin();
+}
+
+fn paint_box_phase<O: Observer>(recorder: &mut PaintRecorder<'_, O>, paintable: NodeSlotId, phase: PaintPhase) {
let Some(kind) = recorder.source.node_kind_if_live(paintable) else {
return;
};
diff --git a/Libraries/LibWeb/Rust/src/painting/record/producers.rs b/Libraries/LibWeb/Rust/src/painting/record/producers.rs
index 5e386e22104..f48b3d9ec3d 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/producers.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/producers.rs
@@ -187,6 +187,8 @@ impl<O: Observer> AssemblyHost for PaintRecorder<'_, O> {
}
self.live_producer = false;
self.producer_reads_window_focus.set(false);
+ self.recorder
+ .begin_record_origin(owner, super::trace::producer_name(kind));
let start = self.recorder.byte_size();
let blocking_wheel_event_regions_before = self.blocking_wheel_event_region_count;
self.observer
@@ -217,6 +219,7 @@ impl<O: Observer> AssemblyHost for PaintRecorder<'_, O> {
}
}
let end = self.recorder.byte_size();
+ self.recorder.end_record_origin();
if self.ink_bounds_audit.enabled {
self.verify_producer_ink(owner, kind, start..end);
self.verify_producer_against_open_scopes(owner, kind, start..end);
@@ -235,8 +238,16 @@ impl<O: Observer> AssemblyHost for PaintRecorder<'_, O> {
fn take_run_chunk(&mut self) -> Option<Arc<RecordedChunk>> {
let chunk = self.recorder.take_chunk();
+ let record_notes = self.recorder.take_record_notes();
let draws_vector_image_placeholders = std::mem::take(&mut self.run_draws_vector_image_placeholders);
- (!chunk.records.is_empty()).then(|| RecordedChunk::new(chunk, draws_vector_image_placeholders))
+ if chunk.records.is_empty() {
+ return None;
+ }
+ let chunk = RecordedChunk::new(chunk, draws_vector_image_placeholders);
+ if let Some(record_notes) = record_notes {
+ self.record_notes_of_chunks.push((Arc::clone(&chunk), record_notes));
+ }
+ Some(chunk)
}
fn changes_of_row(&mut self, row: NodeSlotId) -> RowChanges {
diff --git a/Libraries/LibWeb/Rust/src/painting/record/trace.rs b/Libraries/LibWeb/Rust/src/painting/record/trace.rs
index c114e86df5c..46d7119dbc6 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/trace.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/trace.rs
@@ -102,7 +102,17 @@ impl<O: Observer> super::PaintRecorder<'_, O> {
pub(crate) fn trace_paint(&mut self, operation: Operation, body: impl FnOnce(&mut Self)) {
self.observer.observe(|log| log.begin(operation, Action::Record));
let before = if O::ENABLED { self.recorder.byte_size() } else { 0 };
+ let outside_the_boxes = match operation {
+ Operation::Named(None, name) => Some(name),
+ _ => None,
+ };
+ if let Some(name) = outside_the_boxes {
+ self.recorder.begin_record_origin(NodeSlotId::INVALID, name);
+ }
body(self);
+ if outside_the_boxes.is_some() {
+ self.recorder.end_record_origin();
+ }
self.observer
.observe(|log| log.end(self.recorder.byte_size() == before));
}
@@ -168,7 +178,7 @@ impl CaptureLog {
}
}
-fn producer_name(kind: ProducerKind) -> &'static str {
+pub(crate) fn producer_name(kind: ProducerKind) -> &'static str {
match kind {
ProducerKind::DrawBackground => "background",
ProducerKind::DrawBorder => "border",
@@ -184,6 +194,18 @@ fn producer_name(kind: ProducerKind) -> &'static str {
}
}
+pub(crate) fn paint_phase_name(phase: super::PaintPhase) -> &'static str {
+ use super::PaintPhase::*;
+ match phase {
+ Background => "background",
+ Border => "border",
+ TableCollapsedBorder => "table-collapsed-border",
+ Foreground => "foreground",
+ Outline => "outline",
+ Overlay => "overlay",
+ }
+}
+
fn phase_name(phase: StackingContextPaintPhase) -> &'static str {
use StackingContextPaintPhase::*;
match phase {
diff --git a/Libraries/LibWeb/Rust/src/painting/record/traversal.rs b/Libraries/LibWeb/Rust/src/painting/record/traversal.rs
index e9368216474..47ae6372cc1 100644
--- a/Libraries/LibWeb/Rust/src/painting/record/traversal.rs
+++ b/Libraries/LibWeb/Rust/src/painting/record/traversal.rs
@@ -11,7 +11,7 @@ use crate::layout::node_data::NodeSlotId;
use crate::painting::display_list::builder::RecordedDisplayList;
use crate::painting::display_list::commands::ContextRef;
use crate::painting::display_list::device_pixels::DevicePixelConverter;
-use crate::painting::display_list::recorder::DisplayListRecorder;
+use crate::painting::display_list::recorder::{DisplayListRecorder, RecordNotes};
use crate::painting::node_painting;
use crate::painting::paint_order_plan::PaintScope;
use crate::painting::paint_read::{GeometryRead, PaintSource};
@@ -132,7 +132,11 @@ fn record_display_list_impl<O: Observer>(
scratch,
resources: RecordingResourceManifest::default(),
window_spaces,
+ record_notes_of_chunks: Vec::new(),
};
+ if inputs.notes_record_origins {
+ recorder.recorder.note_record_origins();
+ }
let root_group_color = recorder.record_canvas();
let prologue = recorder.take_run_chunk();
let prologue_id = prologue.as_ref().map(|chunk| chunk.recorded().id);
@@ -205,6 +209,10 @@ fn record_display_list_impl<O: Observer>(
Some(root) => root.facts.blocking_wheel_event_regions > 0,
None => recorder.blocking_wheel_event_region_count > 0,
};
+ let record_notes = recorder
+ .recorder
+ .notes_record_origins()
+ .then(|| Arc::new(record_notes_of_tape(&chunks, &mut recorder.record_notes_of_chunks)));
let output = RecordingOutput {
recorded_structural_epoch: structural_epoch,
recorded_as_of: source.frame().paint_generation(),
@@ -228,6 +236,7 @@ fn record_display_list_impl<O: Observer>(
display_list_id: 0,
surface_clear_color: None,
async_scrolling_metadata: None,
+ record_notes,
};
let resources = recorder.resources;
let mut record_from_scratch = |window: Option<Arc<RecordedWindow>>| {
@@ -255,6 +264,33 @@ fn record_display_list_impl<O: Observer>(
RecordingResult { output, resources }
}
+/// The notes of the chunks of a tape, by the offsets of their records in it. A chunk the recording copied has none.
+fn record_notes_of_tape(
+ chunks: &[Arc<RecordedChunk>],
+ record_notes_of_chunks: &mut Vec<(Arc<RecordedChunk>, RecordNotes)>,
+) -> RecordNotes {
+ let mut notes = RecordNotes::default();
+ let mut chunk_start = 0;
+ for chunk in chunks {
+ let chunk_size = chunk.latest().records.len();
+ if chunk_size == 0 {
+ continue;
+ }
+ if let Some(index) = record_notes_of_chunks
+ .iter()
+ .position(|(noted_chunk, _)| Arc::ptr_eq(noted_chunk, chunk))
+ {
+ let (_, chunk_notes) = record_notes_of_chunks.swap_remove(index);
+ notes.append_shifted_by(
+ chunk_notes,
+ u32::try_from(chunk_start).expect("display list exceeds u32"),
+ );
+ }
+ chunk_start += chunk_size;
+ }
+ notes
+}
+
fn left_out_content_is_verified() -> bool {
static VERIFIED: std::sync::OnceLock<bool> = std::sync::OnceLock::new();
*VERIFIED.get_or_init(|| cfg!(debug_assertions) || std::env::var_os("LIBWEB_VERIFY_PAINT_WINDOW").is_some())
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-region-hit-testing.txt b/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-region-hit-testing.txt
index a6a47606f0d..9c8395c232a 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-region-hit-testing.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-region-hit-testing.txt
@@ -19,6 +19,6 @@ ScrollNodes:
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s0 scrollport_rect=[20,160 100x100] min_scroll_offset=[0,0] max_scroll_offset=[100,0] is_viewport=false
DisplayList:
-CompositorBlockingWheelEventRegion@s2/e0 rect=[20,20 100x100]
-CompositorBlockingWheelEventRegion@s3/c0/e0 rect=[20,160 200x100]
+CompositorBlockingWheelEventRegion@s2/e0 rect=[20,20 100x100] owner=BlockContainer<DIV>#transformed phase=scroll-metadata
+CompositorBlockingWheelEventRegion@s3/c0/e0 rect=[20,160 200x100] owner=BlockContainer<DIV>#clipped-target phase=scroll-metadata
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-regions.txt b/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-regions.txt
index 841c52b9f1e..412bec0f389 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-regions.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/blocking-wheel-event-regions.txt
@@ -37,15 +37,15 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[0,0 200x200] min_scroll_offset=[0,0] max_scroll_offset=[800,900] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x200]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorBlockingWheelEventRegion@s2/c0/e0 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,100 1000x1000]
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] expanded_thumb_rect=[187,2 11x36] scroll_size=0.17819444444444443 expanded_scroll_size=0.17819444444444443 max_scroll_offset=900 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] scroll_size=0.17819444444444443 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] expanded_thumb_rect=[2,187 36x11] scroll_size=0.181015625 expanded_scroll_size=0.181015625 max_scroll_offset=800 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] scroll_size=0.181015625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x200] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#target phase=scroll-metadata
+CompositorBlockingWheelEventRegion@s2/c0/e0 rect=[0,0 100x100] owner=BlockContainer<DIV>#target phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,100 1000x1000] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] expanded_thumb_rect=[187,2 11x36] scroll_size=0.17819444444444443 expanded_scroll_size=0.17819444444444443 max_scroll_offset=900 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] scroll_size=0.17819444444444443 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] expanded_thumb_rect=[2,187 36x11] scroll_size=0.181015625 expanded_scroll_size=0.181015625 max_scroll_offset=800 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] scroll_size=0.181015625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/nested-navigable-wheel-admission.txt b/Tests/LibWeb/Text/expected/async-scrolling/nested-navigable-wheel-admission.txt
index e5fe6939a3c..044e3b1c679 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/nested-navigable-wheel-admission.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/nested-navigable-wheel-admission.txt
@@ -18,11 +18,11 @@ Layers:
[L1] composited context rect=[37,37 166x126]
DisplayList:
-L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2013]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2000]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2000]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[40,40 160x120]
-L1 DrawCompositedContext@s1/e0 dst_rect=[40,40 160x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[40,40 160x120]]
-L0 CompositorNestedContextWheelRegion@s1/e0 rect=[40,40 160x120] child_context_id=context1
+L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2013] owner=BlockContainer<HTML> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2000] owner=BlockContainer<BODY> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2000] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[40,40 160x120] owner=NavigableContainerViewport<IFRAME> phase=scroll-metadata
+L1 DrawCompositedContext@s1/e0 dst_rect=[40,40 160x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[40,40 160x120]] owner=NavigableContainerViewport<IFRAME> phase=foreground
+L0 CompositorNestedContextWheelRegion@s1/e0 rect=[40,40 160x120] child_context_id=context1 owner=NavigableContainerViewport<IFRAME> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/nested-scroller-keeps-sync-wheel.txt b/Tests/LibWeb/Text/expected/async-scrolling/nested-scroller-keeps-sync-wheel.txt
index 68d32360d37..e20c48fc22e 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/nested-scroller-keeps-sync-wheel.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/nested-scroller-keeps-sync-wheel.txt
@@ -16,12 +16,12 @@ ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s1 scrollport_rect=[0,0 100x100] min_scroll_offset=[0,0] max_scroll_offset=[0,400] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x500]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000]
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x500] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000] owner=BlockContainer<DIV>#page-spacer phase=scroll-metadata
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-parent-nodes.txt b/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-parent-nodes.txt
index 8b90898b1e8..11696b5a676 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-parent-nodes.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-parent-nodes.txt
@@ -19,15 +19,15 @@ ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s1 scrollport_rect=[0,0 100x100] min_scroll_offset=[0,0] max_scroll_offset=[400,400] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000]
-CompositorWheelHitTestTarget@s2/e0 target_scroll_node_index=s1 rect=[0,0 800x100]
-CompositorWheelHitTestTarget@s2/e0 target_scroll_node_index=s3 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s3/c0/e0 target_scroll_node_index=s3 rect=[0,0 500x500]
-CompositorScrollbar@s2/e0 scroll_node_index=s3 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s2/e0 scroll_node_index=s3 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s2/e0 scroll_node_index=s3 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] expanded_thumb_rect=[2,87 24x11] scroll_size=0.1425 expanded_scroll_size=0.1425 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s2/e0 scroll_node_index=s3 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] scroll_size=0.1425 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000] owner=BlockContainer<DIV> phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/e0 target_scroll_node_index=s1 rect=[0,0 800x100] owner=BlockContainer<DIV>#sticky phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/e0 target_scroll_node_index=s3 rect=[0,0 100x100] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s3/c0/e0 target_scroll_node_index=s3 rect=[0,0 500x500] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+CompositorScrollbar@s2/e0 scroll_node_index=s3 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s2/e0 scroll_node_index=s3 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+CompositorScrollbar@s2/e0 scroll_node_index=s3 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] expanded_thumb_rect=[2,87 24x11] scroll_size=0.1425 expanded_scroll_size=0.1425 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s2/e0 scroll_node_index=s3 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] scroll_size=0.1425 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-shape.txt b/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-shape.txt
index 507b5d1d35d..a38852cdccb 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-shape.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/scroll-tree-shape.txt
@@ -20,14 +20,14 @@ ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s1 scrollport_rect=[0,0 100x100] min_scroll_offset=[0,0] max_scroll_offset=[400,400] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 500x500]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000]
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] expanded_thumb_rect=[2,87 24x11] scroll_size=0.1425 expanded_scroll_size=0.1425 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] scroll_size=0.1425 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 500x500] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000] owner=BlockContainer<DIV> phase=scroll-metadata
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] expanded_thumb_rect=[2,87 24x11] scroll_size=0.1425 expanded_scroll_size=0.1425 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,91 24x7] track_rect=[0,91 85x9] expanded_gutter_rect=[0,85 85x15] scroll_size=0.1425 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/sticky-areas.txt b/Tests/LibWeb/Text/expected/async-scrolling/sticky-areas.txt
index 737c96606ac..6180ef742b8 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/sticky-areas.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/sticky-areas.txt
@@ -19,5 +19,5 @@ ScrollNodes:
ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[0,1429] is_viewport=true
DisplayList:
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=6 rect=[0,0 45x16] glyph_bounding_rect=[0,0 51x15] translation=[0,13] color=rgb(0, 0, 0)
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=6 rect=[0,0 45x16] glyph_bounding_rect=[0,0 51x15] translation=[0,13] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#inner phase=foreground
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/viewport-wheel-with-nested-scroller.txt b/Tests/LibWeb/Text/expected/async-scrolling/viewport-wheel-with-nested-scroller.txt
index c67d8e3723e..90fb9e8cb9b 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/viewport-wheel-with-nested-scroller.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/viewport-wheel-with-nested-scroller.txt
@@ -18,12 +18,12 @@ ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s1 scrollport_rect=[0,0 100x100] min_scroll_offset=[0,0] max_scroll_offset=[0,400] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x500]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000]
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s1 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2113] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,0 800x2100] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x500] owner=BlockContainer<DIV>#scroller-spacer phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s1 rect=[0,100 800x2000] owner=BlockContainer<DIV>#page-spacer phase=scroll-metadata
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] expanded_thumb_rect=[87,2 11x24] scroll_size=0.18 expanded_scroll_size=0.18 max_scroll_offset=400 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[91,2 7x24] track_rect=[91,0 9x100] expanded_gutter_rect=[85,0 15x100] scroll_size=0.18 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/async-scrolling/wheel-scroll-admission.txt b/Tests/LibWeb/Text/expected/async-scrolling/wheel-scroll-admission.txt
index fe88c2df658..09b2e9eca09 100644
--- a/Tests/LibWeb/Text/expected/async-scrolling/wheel-scroll-admission.txt
+++ b/Tests/LibWeb/Text/expected/async-scrolling/wheel-scroll-admission.txt
@@ -24,16 +24,16 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[0,0 200x200] min_scroll_offset=[0,0] max_scroll_offset=[800,900] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x200]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorBlockingWheelEventRegion@s2/c0/e0 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,100 1000x1000]
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] expanded_thumb_rect=[187,2 11x36] scroll_size=0.17819444444444443 expanded_scroll_size=0.17819444444444443 max_scroll_offset=900 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] scroll_size=0.17819444444444443 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] expanded_thumb_rect=[2,187 36x11] scroll_size=0.181015625 expanded_scroll_size=0.181015625 max_scroll_offset=800 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] scroll_size=0.181015625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[250,0 100x100]
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x200] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#target phase=scroll-metadata
+CompositorBlockingWheelEventRegion@s2/c0/e0 rect=[0,0 100x100] owner=BlockContainer<DIV>#target phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,100 1000x1000] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] expanded_thumb_rect=[187,2 11x36] scroll_size=0.17819444444444443 expanded_scroll_size=0.17819444444444443 max_scroll_offset=900 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,2 7x36] track_rect=[191,0 9x200] expanded_gutter_rect=[185,0 15x200] scroll_size=0.17819444444444443 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] expanded_thumb_rect=[2,187 36x11] scroll_size=0.181015625 expanded_scroll_size=0.181015625 max_scroll_offset=800 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[2,191 36x7] track_rect=[0,191 185x9] expanded_gutter_rect=[0,185 185x15] scroll_size=0.181015625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[250,0 100x100] owner=BlockContainer<DIV>#not-scrollable phase=scroll-metadata
diff --git a/Tests/LibWeb/Text/expected/css/text-underline-position.txt b/Tests/LibWeb/Text/expected/css/text-underline-position.txt
index 2a50cb01d2f..5e2735eac1d 100644
--- a/Tests/LibWeb/Text/expected/css/text-underline-position.txt
+++ b/Tests/LibWeb/Text/expected/css/text-underline-position.txt
@@ -6,9 +6,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,8 28x16] glyph_bounding_rect=[8,8 30x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,23 27x2] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[35,8 9x16] glyph_bounding_rect=[35,8 13x15] translation=[35.15625,21] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[43,8 28x16] glyph_bounding_rect=[43,8 32x15] translation=[43.15625,21] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[43,26 28x2] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,8 28x16] glyph_bounding_rect=[8,8 30x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,23 27x2] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[35,8 9x16] glyph_bounding_rect=[35,8 13x15] translation=[35.15625,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[43,8 28x16] glyph_bounding_rect=[43,8 32x15] translation=[43.15625,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[43,26 28x2] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/abspos-escaping-overflow-clip-inside-opacity.txt b/Tests/LibWeb/Text/expected/display_list/abspos-escaping-overflow-clip-inside-opacity.txt
index 4cc6e6dfd75..188f4c3f137 100644
--- a/Tests/LibWeb/Text/expected/display_list/abspos-escaping-overflow-clip-inside-opacity.txt
+++ b/Tests/LibWeb/Text/expected/display_list/abspos-escaping-overflow-clip-inside-opacity.txt
@@ -7,6 +7,6 @@ AccumulatedVisualContext Tree:
[e1 in s1] effects=[opacity=0.5] (BlockContainer<DIV>#group)
DisplayList:
-FillRect@s1/e1 rect=[0,0 200x200] color=rgb(255, 0, 0)
-FillRect@s1/e1 rect=[50,50 100x100] color=rgb(0, 0, 255)
+FillRect@s1/e1 rect=[0,0 200x200] color=rgb(255, 0, 0) owner=BlockContainer<DIV>#group phase=background
+FillRect@s1/e1 rect=[50,50 100x100] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#escaping phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/abspos-inside-nested-opacity-inside-relpos.txt b/Tests/LibWeb/Text/expected/display_list/abspos-inside-nested-opacity-inside-relpos.txt
index b3157a5aae6..63af18e6418 100644
--- a/Tests/LibWeb/Text/expected/display_list/abspos-inside-nested-opacity-inside-relpos.txt
+++ b/Tests/LibWeb/Text/expected/display_list/abspos-inside-nested-opacity-inside-relpos.txt
@@ -10,5 +10,5 @@ AccumulatedVisualContext Tree:
[e2 in s1 out=c0] effects=[opacity=0.3] (BlockContainer<DIV>.inner-opacity)
DisplayList:
-FillRect@s1/c0/e2 rect=[8,8 100x100] color=rgb(0, 0, 0)
+FillRect@s1/c0/e2 rect=[8,8 100x100] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.abspos phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/abspos-inside-opacity-inside-relpos.txt b/Tests/LibWeb/Text/expected/display_list/abspos-inside-opacity-inside-relpos.txt
index 435543ac507..9d1b4b7aded 100644
--- a/Tests/LibWeb/Text/expected/display_list/abspos-inside-opacity-inside-relpos.txt
+++ b/Tests/LibWeb/Text/expected/display_list/abspos-inside-opacity-inside-relpos.txt
@@ -9,5 +9,5 @@ AccumulatedVisualContext Tree:
[e1 in s1 out=c0] effects=[opacity=0.5] (BlockContainer<DIV>.opacity)
DisplayList:
-FillRect@s1/c0/e1 rect=[8,8 100x100] color=rgb(0, 0, 0)
+FillRect@s1/c0/e1 rect=[8,8 100x100] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.abspos phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/abspos-under-clipped-transformed-opacity.txt b/Tests/LibWeb/Text/expected/display_list/abspos-under-clipped-transformed-opacity.txt
index 58aaeaa550a..dd407ffcacb 100644
--- a/Tests/LibWeb/Text/expected/display_list/abspos-under-clipped-transformed-opacity.txt
+++ b/Tests/LibWeb/Text/expected/display_list/abspos-under-clipped-transformed-opacity.txt
@@ -8,5 +8,5 @@ AccumulatedVisualContext Tree:
[e1 in s2] effects=[opacity=0.5] (BlockContainer<DIV>#clipped)
DisplayList:
-FillRect@s2/e1 rect=[160,160 50x50] color=rgb(0, 128, 0)
+FillRect@s2/e1 rect=[160,160 50x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#escaping phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/animated-clip-path-visual-context-update.txt b/Tests/LibWeb/Text/expected/display_list/animated-clip-path-visual-context-update.txt
index b7f78082e92..ee1c287ed1f 100644
--- a/Tests/LibWeb/Text/expected/display_list/animated-clip-path-visual-context-update.txt
+++ b/Tests/LibWeb/Text/expected/display_list/animated-clip-path-visual-context-update.txt
@@ -11,5 +11,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/animated-transform-visual-context-update.txt b/Tests/LibWeb/Text/expected/display_list/animated-transform-visual-context-update.txt
index 22c8a8fa46f..6968897d5a9 100644
--- a/Tests/LibWeb/Text/expected/display_list/animated-transform-visual-context-update.txt
+++ b/Tests/LibWeb/Text/expected/display_list/animated-transform-visual-context-update.txt
@@ -8,7 +8,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
After animation update:
AccumulatedVisualContext Tree:
@@ -20,5 +20,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/backdrop-filter-effect-node.txt b/Tests/LibWeb/Text/expected/display_list/backdrop-filter-effect-node.txt
index c8a0ab40b5f..7da95c2aae4 100644
--- a/Tests/LibWeb/Text/expected/display_list/backdrop-filter-effect-node.txt
+++ b/Tests/LibWeb/Text/expected/display_list/backdrop-filter-effect-node.txt
@@ -13,7 +13,7 @@ AccumulatedVisualContext Tree:
[e3 in s1] effects=[backdrop-filter=[region=[400,20 50x50] filter=[blur(2,2)]]] (BlockContainer<DIV>#empty)
DisplayList:
-BackdropFilterRegion@s2/c0/e1 rect=[20,20 100x100]
-FillRect@s3/e2 rect=[200,20 100x100] color=rgb(0, 128, 0)
-BackdropFilterRegion@s1/e3 rect=[400,20 50x50]
+BackdropFilterRegion@s2/c0/e1 rect=[20,20 100x100] owner=BlockContainer<DIV>#transformed phase=background
+FillRect@s3/e2 rect=[200,20 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#plain phase=background
+BackdropFilterRegion@s1/e3 rect=[400,20 50x50] owner=BlockContainer<DIV>#empty phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/background-attachment-change-repaints.txt b/Tests/LibWeb/Text/expected/display_list/background-attachment-change-repaints.txt
index 02d36b02411..de9dd57699f 100644
--- a/Tests/LibWeb/Text/expected/display_list/background-attachment-change-repaints.txt
+++ b/Tests/LibWeb/Text/expected/display_list/background-attachment-change-repaints.txt
@@ -7,7 +7,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintLinearGradient@s1/e0 gradient_rect=[0,0 200x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 200x200]]
+PaintLinearGradient@s1/e0 gradient_rect=[0,0 200x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 200x200]] owner=BlockContainer<DIV>#box phase=background
After background-attachment change:
AccumulatedVisualContext Tree:
@@ -17,5 +17,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintLinearGradient@s0/e0 gradient_rect=[0,0 800x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 200x200] in s1]
+PaintLinearGradient@s0/e0 gradient_rect=[0,0 800x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 200x200] in s1] owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/background-attachment-fixed.txt b/Tests/LibWeb/Text/expected/display_list/background-attachment-fixed.txt
index 42b4f6ac0ad..380c37fab85 100644
--- a/Tests/LibWeb/Text/expected/display_list/background-attachment-fixed.txt
+++ b/Tests/LibWeb/Text/expected/display_list/background-attachment-fixed.txt
@@ -8,5 +8,5 @@ ScrollNodes:
ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[0,613] is_viewport=true
DisplayList:
-PaintLinearGradient@s0/e0 gradient_rect=[0,0 800x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 800x1213] in s1]
+PaintLinearGradient@s0/e0 gradient_rect=[0,0 800x600] gradient_angle=180 color_stops=[rgb(0, 128, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[0,0 800x1213] in s1] owner=BlockContainer<HTML> phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/background-blend-mode-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/background-blend-mode-invalidation.txt
index d7e40cf334f..4436e292d3d 100644
--- a/Tests/LibWeb/Text/expected/display_list/background-blend-mode-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/background-blend-mode-invalidation.txt
@@ -7,9 +7,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230)
-PaintLinearGradient@s1/e0 gradient_rect=[8,13 100x100] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,13 100x100]]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+PaintLinearGradient@s1/e0 gradient_rect=[8,13 100x100] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,13 100x100]] owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After background-blend-mode change:
AccumulatedVisualContext Tree:
@@ -20,7 +20,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230)
-PaintLinearGradient@s1/e0 gradient_rect=[8,13 100x100] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[8,13 100x100]]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+PaintLinearGradient@s1/e0 gradient_rect=[8,13 100x100] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[8,13 100x100]] owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/background-blend-mode-isolated-group.txt b/Tests/LibWeb/Text/expected/display_list/background-blend-mode-isolated-group.txt
index 4d08e0da5bd..207e8d86d55 100644
--- a/Tests/LibWeb/Text/expected/display_list/background-blend-mode-isolated-group.txt
+++ b/Tests/LibWeb/Text/expected/display_list/background-blend-mode-isolated-group.txt
@@ -6,7 +6,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawIsolatedGroup@s1/e0 clip_rect=[8,8 100x50]
- PaintLinearGradient@s1/e0 gradient_rect=[8,8 100x50] gradient_angle=180 color_stops=[rgb(0, 0, 255) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x50]]
- PaintLinearGradient@s1/e0 gradient_rect=[8,8 100x50] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[8,8 100x50]]
+DrawIsolatedGroup@s1/e0 clip_rect=[8,8 100x50] owner=BlockContainer<DIV>#box phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[8,8 100x50] gradient_angle=180 color_stops=[rgb(0, 0, 255) 0, rgb(0, 0, 255) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x50]] owner=BlockContainer<DIV>#box phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[8,8 100x50] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[8,8 100x50]] owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/background-clip-text-color-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/background-clip-text-color-invalidation.txt
index 51dfa21856c..ca110b7c00c 100644
--- a/Tests/LibWeb/Text/expected/display_list/background-clip-text-color-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/background-clip-text-color-invalidation.txt
@@ -7,7 +7,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After background-color change:
AccumulatedVisualContext Tree:
@@ -18,9 +18,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawIsolatedGroup@s1/e0 clip_rect=[8,13 100x50]
- FillRect@s1/e0 rect=[8,13 100x50] color=rgb(0, 0, 255)
+DrawIsolatedGroup@s1/e0 clip_rect=[8,13 100x50] owner=BlockContainer<DIV>#box.box phase=background
+ FillRect@s1/e0 rect=[8,13 100x50] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#box.box phase=background
Mask:
- DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0)
+ DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,13 71x30] glyph_bounding_rect=[8,14 83x27] translation=[8,37] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/block-in-inline-no-border-for-phantom-inline-box.txt b/Tests/LibWeb/Text/expected/display_list/block-in-inline-no-border-for-phantom-inline-box.txt
index ecd48a93e43..aeb84b3786a 100644
--- a/Tests/LibWeb/Text/expected/display_list/block-in-inline-no-border-for-phantom-inline-box.txt
+++ b/Tests/LibWeb/Text/expected/display_list/block-in-inline-no-border-for-phantom-inline-box.txt
@@ -6,9 +6,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[0,3 8x14] top_width=2 bottom_width=2 left_width=2 color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[2,5 6x10] glyph_bounding_rect=[2,5 8x9] translation=[2,13] color=rgb(0, 0, 0)
-FillRoundedRectRing@s1/e0 rect=[0,63 8x14] top_width=2 right_width=2 bottom_width=2 color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[0,65 6x10] glyph_bounding_rect=[0,65 8x9] translation=[0,73] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[100,55 7x10] glyph_bounding_rect=[100,55 8x9] translation=[100,63] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[0,3 8x14] top_width=2 bottom_width=2 left_width=2 color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[2,5 6x10] glyph_bounding_rect=[2,5 8x9] translation=[2,13] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRoundedRectRing@s1/e0 rect=[0,63 8x14] top_width=2 right_width=2 bottom_width=2 color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[0,65 6x10] glyph_bounding_rect=[0,65 8x9] translation=[0,73] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[100,55 7x10] glyph_bounding_rect=[100,55 8x9] translation=[100,63] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/blocking-wheel-listener-cache-replay.txt b/Tests/LibWeb/Text/expected/display_list/blocking-wheel-listener-cache-replay.txt
index 81f1da2fc23..67824925773 100644
--- a/Tests/LibWeb/Text/expected/display_list/blocking-wheel-listener-cache-replay.txt
+++ b/Tests/LibWeb/Text/expected/display_list/blocking-wheel-listener-cache-replay.txt
@@ -1 +1 @@
-CompositorBlockingWheelEventRegion@s1/e0 rect=[8,8 100x100]
+CompositorBlockingWheelEventRegion@s1/e0 rect=[8,8 100x100] owner=BlockContainer<DIV>#target phase=scroll-metadata
diff --git a/Tests/LibWeb/Text/expected/display_list/border-inner-corner-right-angle-all-edges.txt b/Tests/LibWeb/Text/expected/display_list/border-inner-corner-right-angle-all-edges.txt
index daa683739b4..4add807bcee 100644
--- a/Tests/LibWeb/Text/expected/display_list/border-inner-corner-right-angle-all-edges.txt
+++ b/Tests/LibWeb/Text/expected/display_list/border-inner-corner-right-angle-all-edges.txt
@@ -6,12 +6,12 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s1/e0 path_bounding_rect=[166,12.651531 20x110.696945] path_data=[curved path: 20 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[11.232849,113 168.56511x15] path_data=[curved path: 52 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[7.999998,14.061594 8.000002x107.876816] path_data=[curved path: 12 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[11.232849,8 168.56511x15] path_data=[curved path: 52 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[173,134.20204 15x117.59592] path_data=[curved path: 36 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[12.651531,238 170.69693x20] path_data=[curved path: 20 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,134.20204 15x117.59592] path_data=[curved path: 36 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[12.651531,128 170.69693x20] path_data=[curved path: 20 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd
+FillPath@s1/e0 path_bounding_rect=[166,12.651531 20x110.696945] path_data=[curved path: 20 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV>.wide-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[11.232849,113 168.56511x15] path_data=[curved path: 52 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.wide-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[7.999998,14.061594 8.000002x107.876816] path_data=[curved path: 12 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.wide-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[11.232849,8 168.56511x15] path_data=[curved path: 52 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.wide-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[173,134.20204 15x117.59592] path_data=[curved path: 36 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV>.tall-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[12.651531,238 170.69693x20] path_data=[curved path: 20 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.tall-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[8,134.20204 15x117.59592] path_data=[curved path: 36 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.tall-corners phase=border
+FillPath@s1/e0 path_bounding_rect=[12.651531,128 170.69693x20] path_data=[curved path: 20 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.tall-corners phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/border-radius-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/border-radius-invalidation.txt
index 19c2ceee987..1759f455c34 100644
--- a/Tests/LibWeb/Text/expected/display_list/border-radius-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/border-radius-invalidation.txt
@@ -9,8 +9,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After border-radius change:
AccumulatedVisualContext Tree:
@@ -23,6 +23,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) corner_radii=[20x20,20x20,20x20,20x20]
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) corner_radii=[20x20,20x20,20x20,20x20] owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt b/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt
index 0364dbf172d..12227668877 100644
--- a/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt
+++ b/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 98x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[8,8 98x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=11 rect=[17,11 80x14] glyph_bounding_rect=[17,12 83x12] translation=[17,22] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[17,24 80x1] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 98x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<BUTTON> phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 98x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=11 rect=[17,11 80x14] glyph_bounding_rect=[17,12 83x12] translation=[17,22] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRect@s1/e0 rect=[17,24 80x1] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/canvas-compositor-surface.txt b/Tests/LibWeb/Text/expected/display_list/canvas-compositor-surface.txt
index 4980f5c1379..7e983319dda 100644
--- a/Tests/LibWeb/Text/expected/display_list/canvas-compositor-surface.txt
+++ b/Tests/LibWeb/Text/expected/display_list/canvas-compositor-surface.txt
@@ -10,5 +10,5 @@ Layers:
[L1] canvas rect=[5,5 38x38] shown by the window server: clip=[0,0 800x600]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[8,8 32x32] canvas_id=canvas1 scaling_mode=Bilinear
+L1 DrawCanvas@s1/e0 dst_rect=[8,8 32x32] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/canvas-drawn-on-after-layout-reached-it.txt b/Tests/LibWeb/Text/expected/display_list/canvas-drawn-on-after-layout-reached-it.txt
index 40e4dd43e3c..30429717baf 100644
--- a/Tests/LibWeb/Text/expected/display_list/canvas-drawn-on-after-layout-reached-it.txt
+++ b/Tests/LibWeb/Text/expected/display_list/canvas-drawn-on-after-layout-reached-it.txt
@@ -10,5 +10,5 @@ Layers:
[L1] canvas rect=[5,5 206x126] shown by the window server: clip=[0,0 800x600]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear
+L1 DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/clip-auto-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/clip-auto-invalidation.txt
index fae746d442c..4ab28a36eaf 100644
--- a/Tests/LibWeb/Text/expected/display_list/clip-auto-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/clip-auto-invalidation.txt
@@ -7,7 +7,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,13 100x100] color=rgb(0, 128, 0)
+FillRect@s1/e0 rect=[8,13 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
After clip change:
AccumulatedVisualContext Tree:
@@ -20,5 +20,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(0, 128, 0)
+FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/clip-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/clip-invalidation.txt
index 2aee54b97d3..a1e59b1241a 100644
--- a/Tests/LibWeb/Text/expected/display_list/clip-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/clip-invalidation.txt
@@ -9,8 +9,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After clip change:
AccumulatedVisualContext Tree:
@@ -23,6 +23,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,13 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,13 30x16] glyph_bounding_rect=[8,14 33x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/clip-path-empty-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/clip-path-empty-invalidation.txt
index 901058278b9..50f2a2d67c7 100644
--- a/Tests/LibWeb/Text/expected/display_list/clip-path-empty-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/clip-path-empty-invalidation.txt
@@ -9,7 +9,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
After clip-path change:
AccumulatedVisualContext Tree:
@@ -22,5 +22,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/clip-path-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/clip-path-invalidation.txt
index 3137225d611..a94e5b98543 100644
--- a/Tests/LibWeb/Text/expected/display_list/clip-path-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/clip-path-invalidation.txt
@@ -9,8 +9,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After clip-path change:
AccumulatedVisualContext Tree:
@@ -23,6 +23,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,8 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/clip-positioned-descendants.txt b/Tests/LibWeb/Text/expected/display_list/clip-positioned-descendants.txt
index 5a9f11ba272..1af71a1e0c1 100644
--- a/Tests/LibWeb/Text/expected/display_list/clip-positioned-descendants.txt
+++ b/Tests/LibWeb/Text/expected/display_list/clip-positioned-descendants.txt
@@ -9,6 +9,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[0,0 200x200] color=rgb(255, 0, 0)
-FillRect@s0/c1/e0 rect=[220,0 200x200] color=rgb(0, 128, 0)
+FillRect@s1/c0/e0 rect=[0,0 200x200] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.abspos phase=background
+FillRect@s0/c1/e0 rect=[220,0 200x200] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.fixed phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/color-and-file-input-appearance.txt b/Tests/LibWeb/Text/expected/display_list/color-and-file-input-appearance.txt
index c77dd0a3403..ba803d9b9f5 100644
--- a/Tests/LibWeb/Text/expected/display_list/color-and-file-input-appearance.txt
+++ b/Tests/LibWeb/Text/expected/display_list/color-and-file-input-appearance.txt
@@ -9,13 +9,13 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 50x27] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[8,8 50x27] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-FillRect@s1/c0/e0 rect=[13,14 40x15] color=rgb(68, 136, 255)
-FillRoundedRectRing@s1/c0/e0 rect=[13,14 40x15] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(119, 119, 119)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[58,16 8x16] glyph_bounding_rect=[58,16 13x15] translation=[58,29] color=rgb(0, 0, 0)
-FillRectWithRoundedCorners@s1/c1/e0 rect=[66,15 97x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/c1/e0 rect=[66,15 97x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c1/e0 font_id=font2 glyphs=14 rect=[75,18 79x14] glyph_bounding_rect=[75,19 86x12] translation=[75,29] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/c1/e0 font_id=font2 glyphs=17 rect=[166,18 108x14] glyph_bounding_rect=[167,19 114x12] translation=[166.65625,29] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 50x27] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<INPUT> phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 50x27] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<INPUT> phase=border
+FillRect@s1/c0/e0 rect=[13,14 40x15] color=rgb(68, 136, 255) owner=BlockContainer<DIV> phase=background
+FillRoundedRectRing@s1/c0/e0 rect=[13,14 40x15] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(119, 119, 119) owner=BlockContainer<DIV> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=1 rect=[58,16 8x16] glyph_bounding_rect=[58,16 13x15] translation=[58,29] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+FillRectWithRoundedCorners@s1/c1/e0 rect=[66,15 97x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<BUTTON> phase=background
+FillRoundedRectRing@s1/c1/e0 rect=[66,15 97x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/c1/e0 font_id=font2 glyphs=14 rect=[75,18 79x14] glyph_bounding_rect=[75,19 86x12] translation=[75,29] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+DrawGlyphRun@s1/c1/e0 font_id=font2 glyphs=17 rect=[166,18 108x14] glyph_bounding_rect=[167,19 114x12] translation=[166.65625,29] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-3d-sorting-context.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-3d-sorting-context.txt
index bb489ed95f3..105cd4eaa1e 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-3d-sorting-context.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-3d-sorting-context.txt
@@ -11,6 +11,6 @@ AccumulatedVisualContext Tree:
Layers: none (3D sorting context)
DisplayList:
-DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-FillRect@s4/e0 rect=[8,131 100x100] color=rgb(255, 165, 0)
+DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+FillRect@s4/e0 rect=[8,131 100x100] color=rgb(255, 165, 0) owner=BlockContainer<DIV>#card phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-in-opacity-group-over-canvas.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-in-opacity-group-over-canvas.txt
index 9b5991dd7ed..3030e264f66 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-in-opacity-group-over-canvas.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-in-opacity-group-over-canvas.txt
@@ -13,6 +13,6 @@ Layers:
[L2] painted rect=[57,57 106x46]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L2 BackdropFilterRegion@s1/e2 rect=[60,60 100x40]
+L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+L2 BackdropFilterRegion@s1/e2 rect=[60,60 100x40] owner=BlockContainer<DIV>#frosted phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-canvas.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-canvas.txt
index cc9dd25c719..cfd8dfc6fb4 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-canvas.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-canvas.txt
@@ -9,6 +9,6 @@ AccumulatedVisualContext Tree:
Layers: none (canvas under a backdrop filter that reads the root group)
DisplayList:
-DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-BackdropFilterRegion@s1/e1 rect=[60,60 100x40]
+DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+BackdropFilterRegion@s1/e1 rect=[60,60 100x40] owner=BlockContainer<DIV>#frosted phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-content-over-canvas.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-content-over-canvas.txt
index 2fd5d52c831..7875cc51539 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-content-over-canvas.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filter-over-content-over-canvas.txt
@@ -9,7 +9,7 @@ AccumulatedVisualContext Tree:
Layers: none (canvas under a backdrop filter that reads the root group)
DisplayList:
-DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-FillRect@s1/e0 rect=[180,100 200x40] color=rgba(255, 255, 255, 0.5)
-BackdropFilterRegion@s1/e1 rect=[300,120 60x40]
+DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+FillRect@s1/e0 rect=[180,100 200x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over-canvas phase=background
+BackdropFilterRegion@s1/e1 rect=[300,120 60x40] owner=BlockContainer<DIV>#frosted phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filters-beside-canvases.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filters-beside-canvases.txt
index 481994758c9..cafa91f875c 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filters-beside-canvases.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-backdrop-filters-beside-canvases.txt
@@ -12,8 +12,8 @@ Layers:
[L1] canvas rect=[17,17 206x126] shown by the window server: clip=[0,0 800x600]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L0 DrawCanvas@s1/e0 dst_rect=[400,20 200x120] canvas_id=canvas2 scaling_mode=Bilinear
-L0 BackdropFilterRegion@s1/e1 rect=[240,60 100x40]
-L0 BackdropFilterRegion@s1/e2 rect=[610,60 100x40]
+L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#left phase=foreground
+L0 DrawCanvas@s1/e0 dst_rect=[400,20 200x120] canvas_id=canvas2 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#right phase=foreground
+L0 BackdropFilterRegion@s1/e1 rect=[240,60 100x40] owner=BlockContainer<DIV>#grayscale-beside-left.frosted phase=background
+L0 BackdropFilterRegion@s1/e2 rect=[610,60 100x40] owner=BlockContainer<DIV>#blur-reaching-into-right.frosted phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-in-opacity-group.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-in-opacity-group.txt
index 8e936b7e754..d9aa4a0ec4d 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-in-opacity-group.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-in-opacity-group.txt
@@ -9,5 +9,5 @@ AccumulatedVisualContext Tree:
Layers: none (canvas inside a group effect)
DisplayList:
-DrawCanvas@s1/e1 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear
+DrawCanvas@s1/e1 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-outside-viewport.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-outside-viewport.txt
index 67861dc16e7..2d694701fb3 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-outside-viewport.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-outside-viewport.txt
@@ -8,5 +8,5 @@ AccumulatedVisualContext Tree:
Layers: none (canvas draws nothing visible)
DisplayList:
-DrawCanvas@s1/e0 dst_rect=[-1000,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
+DrawCanvas@s1/e0 dst_rect=[-1000,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-clip-path.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-clip-path.txt
index d6c87ed742c..23c41619a52 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-clip-path.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-clip-path.txt
@@ -12,5 +12,5 @@ Layers:
[L1] canvas rect=[67,27 106x106] replayed: clipped by a path
DisplayList:
-L1 DrawCanvas@s1/c0/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
+L1 DrawCanvas@s1/c0/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-perspective-transform.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-perspective-transform.txt
index ff4b6f6bd54..5af8a9e5cc4 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-perspective-transform.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-perspective-transform.txt
@@ -9,5 +9,5 @@ AccumulatedVisualContext Tree:
Layers: none (canvas under a transform that is not 2D affine)
DisplayList:
-DrawCanvas@s2/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear
+DrawCanvas@s2/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-translucent-box.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-translucent-box.txt
index a32a1735559..70f38d4d408 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-translucent-box.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-canvas-under-translucent-box.txt
@@ -11,9 +11,9 @@ Layers:
[L2] painted rect=[57,57 106x46]
DisplayList:
-L0 DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x13] clip_rect=[0,0 800x600] tile_size=[800x13] tile_step=[800x13] scaling_mode=Bilinear repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]]
- PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x13] gradient_angle=90 color_stops=[rgb(238, 238, 255) 0, rgb(255, 238, 238) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb}
-L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear inline_clips=[clip=[20,20 200x120] radii=(12,12,12,12)]
-L2 FillRect@s1/e0 rect=[60,60 100x40] color=rgba(255, 255, 255, 0.5)
-L0 FillRect@s1/e0 rect=[300,300 50x50] color=rgb(0, 128, 0)
+L0 DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x13] clip_rect=[0,0 800x600] tile_size=[800x13] tile_step=[800x13] scaling_mode=Bilinear repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]] owner=BlockContainer<HTML> phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x13] gradient_angle=90 color_stops=[rgb(238, 238, 255) 0, rgb(255, 238, 238) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} owner=BlockContainer<HTML> phase=background
+L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear inline_clips=[clip=[20,20 200x120] radii=(12,12,12,12)] owner=CanvasBox<CANVAS>#canvas phase=foreground
+L2 FillRect@s1/e0 rect=[60,60 100x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over phase=background
+L0 FillRect@s1/e0 rect=[300,300 50x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#elsewhere phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-and-canvas.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-and-canvas.txt
index d775419fd62..c6f87a53246 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-and-canvas.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-and-canvas.txt
@@ -12,13 +12,13 @@ Layers:
[L3] painted rect=[97,57 306x46]
DisplayList:
-L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[20,20 200x120]
-L1 DrawCompositedContext@s1/e0 dst_rect=[20,20 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[20,20 200x120]]
-L0 CompositorNestedContextWheelRegion@s1/e0 rect=[20,20 200x120] child_context_id=context1
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[300,20 200x120]
-L2 DrawCanvas@s1/e0 dst_rect=[300,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[100,60 300x40]
-L3 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5)
+L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13] owner=BlockContainer<HTML> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[20,20 200x120] owner=NavigableContainerViewport<IFRAME>#frame phase=scroll-metadata
+L1 DrawCompositedContext@s1/e0 dst_rect=[20,20 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[20,20 200x120]] owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+L0 CompositorNestedContextWheelRegion@s1/e0 rect=[20,20 200x120] child_context_id=context1 owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[300,20 200x120] owner=CanvasBox<CANVAS>#canvas phase=scroll-metadata
+L2 DrawCanvas@s1/e0 dst_rect=[300,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[100,60 300x40] owner=BlockContainer<DIV>#over-both phase=scroll-metadata
+L3 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over-both phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-in-opacity-group.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-in-opacity-group.txt
index d09773269aa..96c93300c9f 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-in-opacity-group.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-in-opacity-group.txt
@@ -9,11 +9,11 @@ AccumulatedVisualContext Tree:
Layers: none (composited context inside a group effect)
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x136]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x123]
-CompositorWheelHitTestTarget@s1/e1 target_scroll_node_index=s0 rect=[0,0 800x123]
-CompositorWheelHitTestTarget@s1/e1 target_scroll_node_index=s0 rect=[0,0 200x120]
-DrawCompositedContext@s1/e1 dst_rect=[0,0 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[0,0 200x120]]
-CompositorNestedContextWheelRegion@s1/e1 rect=[0,0 200x120] child_context_id=context1
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x136] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x123] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e1 target_scroll_node_index=s0 rect=[0,0 800x123] owner=BlockContainer<DIV>#group phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e1 target_scroll_node_index=s0 rect=[0,0 200x120] owner=NavigableContainerViewport<IFRAME>#frame phase=scroll-metadata
+DrawCompositedContext@s1/e1 dst_rect=[0,0 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[0,0 200x120]] owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+CompositorNestedContextWheelRegion@s1/e1 rect=[0,0 200x120] child_context_id=context1 owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-under-content.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-under-content.txt
index 907a466b27b..d8514366d0a 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-under-content.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-iframe-under-content.txt
@@ -11,13 +11,13 @@ Layers:
[L2] painted rect=[97,57 206x46]
DisplayList:
-L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[20,20 200x120]
-L1 DrawCompositedContext@s1/e0 dst_rect=[20,20 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[20,20 200x120]]
-L0 CompositorNestedContextWheelRegion@s1/e0 rect=[20,20 200x120] child_context_id=context1
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[100,60 200x40]
-L2 FillRect@s1/e0 rect=[100,60 200x40] color=rgba(255, 255, 255, 0.5)
-L2 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[400,300 50x20]
-L0 FillRect@s1/e0 rect=[400,300 50x20] color=rgb(0, 128, 0)
+L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13] owner=BlockContainer<HTML> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[20,20 200x120] owner=NavigableContainerViewport<IFRAME>#frame phase=scroll-metadata
+L1 DrawCompositedContext@s1/e0 dst_rect=[20,20 200x120] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[20,20 200x120]] owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+L0 CompositorNestedContextWheelRegion@s1/e0 rect=[20,20 200x120] child_context_id=context1 owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[100,60 200x40] owner=BlockContainer<DIV>#over-iframe phase=scroll-metadata
+L2 FillRect@s1/e0 rect=[100,60 200x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over-iframe phase=background
+L2 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[400,300 50x20] owner=BlockContainer<DIV>#elsewhere phase=scroll-metadata
+L0 FillRect@s1/e0 rect=[400,300 50x20] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#elsewhere phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-root-blend-mode.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-root-blend-mode.txt
index f3d59653582..ff2bc05c1c8 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-root-blend-mode.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-root-blend-mode.txt
@@ -9,6 +9,6 @@ AccumulatedVisualContext Tree:
Layers: none (blend mode reads the root group)
DisplayList:
-DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-FillRect@s1/e1 rect=[8,131 50x50] color=rgb(255, 165, 0)
+DrawCanvas@s1/e0 dst_rect=[8,8 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+FillRect@s1/e1 rect=[8,131 50x50] color=rgb(255, 165, 0) owner=BlockContainer<DIV> phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-rotated-video.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-rotated-video.txt
index 2bfffc53e90..5123714051a 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-rotated-video.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-rotated-video.txt
@@ -11,5 +11,5 @@ Layers:
[L1] video rect=[167,27 186x326] shown by the window server: transform=[0,1,-1,0,450,-70] clip=[0,0 800x600]
DisplayList:
-L1 DrawVideoFrame@s2/e0 dst_rect=[100,100 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[100,100 320x180]]
+L1 DrawVideoFrame@s2/e0 dst_rect=[100,100 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[100,100 320x180]] owner=VideoBox<VIDEO>#video phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-rounded-canvas-in-rounded-scroller.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-rounded-canvas-in-rounded-scroller.txt
index a565f2a7f16..58643ae8ac6 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-rounded-canvas-in-rounded-scroller.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-rounded-canvas-in-rounded-scroller.txt
@@ -17,14 +17,14 @@ Layers:
[L2] painted rect=[17,17 186x106]
DisplayList:
-L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13]
-L0 CompositorWheelHitTestTargetWithCornerRadii@s1/e0 target_scroll_node_index=s2 rect=[20,20 180x100] corner_radii=[20x20,20x20,20x20,20x20]
-L0 CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[20,140 180x300]
-L0 CompositorWheelHitTestTargetWithCornerRadii@s2/c0/e0 target_scroll_node_index=s2 rect=[20,20 200x120] corner_radii=[8x8,8x8,8x8,8x8]
-L1 DrawCanvas@s2/c0/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear inline_clips=[clip=[20,20 200x120] radii=(8,8,8,8)]
-L0 CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,22 7x24] track_rect=[191,20 9x100] expanded_gutter_rect=[185,20 15x100] expanded_thumb_rect=[187,22 11x24] scroll_size=0.225 expanded_scroll_size=0.225 max_scroll_offset=320 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-L2 PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,22 7x24] track_rect=[191,20 9x100] expanded_gutter_rect=[185,20 15x100] scroll_size=0.225 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-L2 CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[22,111 145x7] track_rect=[20,111 165x9] expanded_gutter_rect=[20,105 165x15] expanded_thumb_rect=[22,107 145x11] scroll_size=0.80546875 expanded_scroll_size=0.80546875 max_scroll_offset=20 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-L2 PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[22,111 145x7] track_rect=[20,111 165x9] expanded_gutter_rect=[20,105 165x15] scroll_size=0.80546875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13] owner=BlockContainer<HTML> phase=scroll-metadata
+L0 CompositorWheelHitTestTargetWithCornerRadii@s1/e0 target_scroll_node_index=s2 rect=[20,20 180x100] corner_radii=[20x20,20x20,20x20,20x20] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[20,140 180x300] owner=BlockContainer<DIV>#spacer phase=scroll-metadata
+L0 CompositorWheelHitTestTargetWithCornerRadii@s2/c0/e0 target_scroll_node_index=s2 rect=[20,20 200x120] corner_radii=[8x8,8x8,8x8,8x8] owner=CanvasBox<CANVAS>#canvas phase=scroll-metadata
+L1 DrawCanvas@s2/c0/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear inline_clips=[clip=[20,20 200x120] radii=(8,8,8,8)] owner=CanvasBox<CANVAS>#canvas phase=foreground
+L0 CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[191,22 7x24] track_rect=[191,20 9x100] expanded_gutter_rect=[185,20 15x100] expanded_thumb_rect=[187,22 11x24] scroll_size=0.225 expanded_scroll_size=0.225 max_scroll_offset=320 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+L2 PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[191,22 7x24] track_rect=[191,20 9x100] expanded_gutter_rect=[185,20 15x100] scroll_size=0.225 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+L2 CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[22,111 145x7] track_rect=[20,111 165x9] expanded_gutter_rect=[20,105 165x15] expanded_thumb_rect=[22,107 145x11] scroll_size=0.80546875 expanded_scroll_size=0.80546875 max_scroll_offset=20 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
+L2 PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[22,111 145x7] track_rect=[20,111 165x9] expanded_gutter_rect=[20,105 165x15] scroll_size=0.80546875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-transformed-boxes-beside-canvas.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-transformed-boxes-beside-canvas.txt
index 333348c91f8..47bf5c187d5 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-transformed-boxes-beside-canvas.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-transformed-boxes-beside-canvas.txt
@@ -15,9 +15,9 @@ Layers:
[L2] painted rect=[207,17 126x204]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L2 FillRect@s2/e0 rect=[225,145 60x60] color=rgb(0, 128, 0)
-L2 FillRect@s3/e0 rect=[250,60 40x40] color=rgb(0, 128, 0)
-L0 FillRect@s4/e0 rect=[600,400 60x60] color=rgb(0, 128, 0)
-L0 FillRect@s5/e0 rect=[100,450 40x40] color=rgb(0, 128, 0)
+L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+L2 FillRect@s2/e0 rect=[225,145 60x60] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#rotated-with-only-bounding-box-on-canvas phase=background
+L2 FillRect@s3/e0 rect=[250,60 40x40] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#scaled-onto-canvas phase=background
+L0 FillRect@s4/e0 rect=[600,400 60x60] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#rotated-clear-of-canvas phase=background
+L0 FillRect@s5/e0 rect=[100,450 40x40] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#scaled-clear-of-canvas phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-two-canvases.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-two-canvases.txt
index 68a5a948eff..a5635e526d8 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-two-canvases.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-two-canvases.txt
@@ -12,8 +12,8 @@ Layers:
[L3] painted rect=[97,57 356x66]
DisplayList:
-L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L2 DrawCanvas@s1/e0 dst_rect=[300,20 200x120] canvas_id=canvas2 scaling_mode=Bilinear
-L3 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5)
-L3 FillRect@s1/e0 rect=[400,100 50x20] color=rgb(0, 128, 0)
+L1 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#left phase=foreground
+L2 DrawCanvas@s1/e0 dst_rect=[300,20 200x120] canvas_id=canvas2 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#right phase=foreground
+L3 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over-both phase=background
+L3 FillRect@s1/e0 rect=[400,100 50x20] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#over-right phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-in-rotated-overflow-box.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-in-rotated-overflow-box.txt
index 52b6bec5c9b..b6c7aada544 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-in-rotated-overflow-box.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-in-rotated-overflow-box.txt
@@ -17,5 +17,5 @@ Layers:
[L1] video rect=[85,80 230x190] replayed: clipped in a rotated or skewed space
DisplayList:
-L1 DrawVideoFrame@s3/c0/e0 dst_rect=[100,100 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[100,100 320x180]]
+L1 DrawVideoFrame@s3/c0/e0 dst_rect=[100,100 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[100,100 320x180]] owner=VideoBox<VIDEO>#video phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-under-captions.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-under-captions.txt
index 3b1eff6f73a..533714701f1 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-under-captions.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-under-captions.txt
@@ -11,7 +11,7 @@ Layers:
[L2] painted rect=[27,197 209x30]
DisplayList:
-L1 DrawVideoFrame@s1/e0 dst_rect=[10,40 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[10,10 320x240], clip=[10,10 320x240] radii=(16,16,16,16)]
-L2 FillRect@s1/e0 rect=[30,200 203x24] color=rgba(0, 0, 0, 0.6)
-L2 DrawGlyphRun@s1/e0 font_id=font1 glyphs=23 rect=[34,204 195x16] glyph_bounding_rect=[34,204 197x15] translation=[34,217] color=rgb(255, 255, 255)
+L1 DrawVideoFrame@s1/e0 dst_rect=[10,40 320x180] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[10,10 320x240], clip=[10,10 320x240] radii=(16,16,16,16)] owner=VideoBox<VIDEO>#video phase=foreground
+L2 FillRect@s1/e0 rect=[30,200 203x24] color=rgba(0, 0, 0, 0.6) owner=BlockContainer<DIV>#captions phase=background
+L2 DrawGlyphRun@s1/e0 font_id=font1 glyphs=23 rect=[34,204 195x16] glyph_bounding_rect=[34,204 197x15] translation=[34,217] color=rgb(255, 255, 255) owner=BlockContainer<DIV>#captions phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-with-differing-corner-radii.txt b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-with-differing-corner-radii.txt
index 276126751ab..34ed0c76a14 100644
--- a/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-with-differing-corner-radii.txt
+++ b/Tests/LibWeb/Text/expected/display_list/compositing-layers-video-with-differing-corner-radii.txt
@@ -10,5 +10,5 @@ Layers:
[L1] video rect=[7,7 326x246] replayed: rounded corners of differing radii
DisplayList:
-L1 DrawVideoFrame@s1/e0 dst_rect=[10,10 320x240] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[10,10 320x240], clip=[10,10 320x240] radii=(4,16,4,16)]
+L1 DrawVideoFrame@s1/e0 dst_rect=[10,10 320x240] video_sink_handle=video1 scaling_mode=BilinearMipmap inline_clips=[clip=[10,10 320x240], clip=[10,10 320x240] radii=(4,16,4,16)] owner=VideoBox<VIDEO>#video phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/contenteditable-caret.txt b/Tests/LibWeb/Text/expected/display_list/contenteditable-caret.txt
index 6d0528699d2..c78967fb4c8 100644
--- a/Tests/LibWeb/Text/expected/display_list/contenteditable-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/contenteditable-caret.txt
@@ -6,6 +6,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintCaret@s1/e0 rect=[8,8 1x16] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[6,6 104x24] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
+PaintCaret@s1/e0 rect=[8,8 1x16] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[6,6 104x24] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=BlockContainer<DIV> phase=outline
diff --git a/Tests/LibWeb/Text/expected/display_list/css-clip-property.txt b/Tests/LibWeb/Text/expected/display_list/css-clip-property.txt
index 79c91c5ff0a..860d83c388e 100644
--- a/Tests/LibWeb/Text/expected/display_list/css-clip-property.txt
+++ b/Tests/LibWeb/Text/expected/display_list/css-clip-property.txt
@@ -8,7 +8,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,13 150x150] color=rgb(128, 0, 128)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=8 rect=[8,13 71x16] glyph_bounding_rect=[8,14 75x15] translation=[8,26] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=8 rect=[8,29 72x16] glyph_bounding_rect=[8,30 78x15] translation=[8,42] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,13 150x150] color=rgb(128, 0, 128) owner=BlockContainer<DIV>.clipped phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=8 rect=[8,13 71x16] glyph_bounding_rect=[8,14 75x15] translation=[8,26] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.clipped phase=foreground
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=8 rect=[8,29 72x16] glyph_bounding_rect=[8,30 78x15] translation=[8,42] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.clipped phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/dashed-border-with-border-radius.txt b/Tests/LibWeb/Text/expected/display_list/dashed-border-with-border-radius.txt
index 5f46edbf49c..c05c0c9e3fe 100644
--- a/Tests/LibWeb/Text/expected/display_list/dashed-border-with-border-radius.txt
+++ b/Tests/LibWeb/Text/expected/display_list/dashed-border-with-border-radius.txt
@@ -6,16 +6,16 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-StrokePath@s1/e0 dash_array=[19.817476, 19.817476] dash_offset=29.726215 path_bounding_rect=[8,8 120x80] path_data=[curved path: 135 commands] color=rgb(255, 0, 0) thickness=10
-StrokePath@s1/e0 dash_array=[29.634956, 29.634956] dash_offset=14.817478 path_bounding_rect=[110.677666,95.322334 17.322334x65.35534] path_data=[curved path: 34 commands] color=rgb(0, 0, 255) thickness=10 inline_clips=[clip_path=[bounds: [112,96 16x64], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[24.817474, 24.817474] dash_offset=12.408737 path_bounding_rect=[15.322332,150.67767 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,152 104x16], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[29.634954, 29.634954] dash_offset=14.817477 path_bounding_rect=[7.999999,95.322334 17.322334x65.35534] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,96 16x64], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[24.817476, 24.817476] dash_offset=12.408738 path_bounding_rect=[15.322332,88 105.35533x17.322334] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,88 104x16], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[20.622234, 20.622234] dash_offset=30.933352 path_bounding_rect=[8,168 120x80] path_data=[curved path: 39 commands] color=rgb(255, 0, 0) thickness=10
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.817476] dash_offset=9.908738 path_bounding_rect=[8,248 120x80] path_data=[curved path: 135 commands] color=rgb(255, 0, 0) thickness=10
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.75664] dash_offset=9.87832 path_bounding_rect=[110.677666,335.32233 17.322334x65.35535] path_data=[curved path: 34 commands] color=rgb(0, 0, 255) thickness=10 inline_clips=[clip_path=[bounds: [112,336 16x64], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.85398] dash_offset=9.92699 path_bounding_rect=[15.322332,390.67767 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,392 104x16], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.75664] dash_offset=9.87832 path_bounding_rect=[7.999999,335.32233 17.322334x65.35535] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,336 16x64], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.85398] dash_offset=9.92699 path_bounding_rect=[15.322332,328 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,328 104x16], curved path: 68 commands] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 20.622234] dash_offset=10.311117 path_bounding_rect=[8,408 120x80] path_data=[curved path: 39 commands] color=rgb(255, 0, 0) thickness=10
+StrokePath@s1/e0 dash_array=[19.817476, 19.817476] dash_offset=29.726215 path_bounding_rect=[8,8 120x80] path_data=[curved path: 135 commands] color=rgb(255, 0, 0) thickness=10 owner=BlockContainer<DIV> phase=border
+StrokePath@s1/e0 dash_array=[29.634956, 29.634956] dash_offset=14.817478 path_bounding_rect=[110.677666,95.322334 17.322334x65.35534] path_data=[curved path: 34 commands] color=rgb(0, 0, 255) thickness=10 inline_clips=[clip_path=[bounds: [112,96 16x64], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[24.817474, 24.817474] dash_offset=12.408737 path_bounding_rect=[15.322332,150.67767 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,152 104x16], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[29.634954, 29.634954] dash_offset=14.817477 path_bounding_rect=[7.999999,95.322334 17.322334x65.35534] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,96 16x64], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[24.817476, 24.817476] dash_offset=12.408738 path_bounding_rect=[15.322332,88 105.35533x17.322334] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,88 104x16], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[20.622234, 20.622234] dash_offset=30.933352 path_bounding_rect=[8,168 120x80] path_data=[curved path: 39 commands] color=rgb(255, 0, 0) thickness=10 owner=BlockContainer<DIV>.touching-corners phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.817476] dash_offset=9.908738 path_bounding_rect=[8,248 120x80] path_data=[curved path: 135 commands] color=rgb(255, 0, 0) thickness=10 owner=BlockContainer<DIV>.dotted phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.75664] dash_offset=9.87832 path_bounding_rect=[110.677666,335.32233 17.322334x65.35535] path_data=[curved path: 34 commands] color=rgb(0, 0, 255) thickness=10 inline_clips=[clip_path=[bounds: [112,336 16x64], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.dotted.mixed-colors phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.85398] dash_offset=9.92699 path_bounding_rect=[15.322332,390.67767 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,392 104x16], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.dotted.mixed-colors phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.75664] dash_offset=9.87832 path_bounding_rect=[7.999999,335.32233 17.322334x65.35535] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,336 16x64], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.dotted.mixed-colors phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 19.85398] dash_offset=9.92699 path_bounding_rect=[15.322332,328 105.35533x17.322327] path_data=[curved path: 34 commands] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [16,328 104x16], curved path: 68 commands] winding_rule=EvenOdd] owner=BlockContainer<DIV>.dotted.mixed-colors phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 20.622234] dash_offset=10.311117 path_bounding_rect=[8,408 120x80] path_data=[curved path: 39 commands] color=rgb(255, 0, 0) thickness=10 owner=BlockContainer<DIV>.dotted.touching-corners phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/deep-branching-tree.txt b/Tests/LibWeb/Text/expected/display_list/deep-branching-tree.txt
index a832e354d0a..afe1b330548 100644
--- a/Tests/LibWeb/Text/expected/display_list/deep-branching-tree.txt
+++ b/Tests/LibWeb/Text/expected/display_list/deep-branching-tree.txt
@@ -14,15 +14,15 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 404x204] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-FillRoundedRectRing@s1/c0/e0 rect=[10,10 195x200] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128)
-FillRoundedRectRing@s1/c0/e0 rect=[215,10 195x200] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128)
-FillRect@s2/c1/e0 rect=[16,16 150x80] color=rgb(255, 0, 0)
-DrawGlyphRun@s2/c1/e0 font_id=font1 glyphs=1 rect=[16,16 15x16] glyph_bounding_rect=[16,16 13x15] translation=[16,29] color=rgb(0, 0, 0)
-FillRect@s3/c1/e0 rect=[16,101 150x80] color=rgb(0, 128, 0)
-DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=1 rect=[16,101 10x16] glyph_bounding_rect=[16,102 13x15] translation=[16,114] color=rgb(0, 0, 0)
-FillRect@s4/c2/e0 rect=[221,16 150x80] color=rgb(0, 0, 255)
-DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=1 rect=[221,16 11x16] glyph_bounding_rect=[221,16 13x15] translation=[221,29] color=rgb(0, 0, 0)
-FillRect@s5/c2/e0 rect=[221,101 150x80] color=rgb(255, 165, 0)
-DrawGlyphRun@s5/c2/e0 font_id=font1 glyphs=1 rect=[221,101 12x16] glyph_bounding_rect=[221,102 13x15] translation=[221,114] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[8,8 404x204] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=Box<DIV>.root phase=border
+FillRoundedRectRing@s1/c0/e0 rect=[10,10 195x200] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128) owner=BlockContainer<DIV>.branch phase=border
+FillRoundedRectRing@s1/c0/e0 rect=[215,10 195x200] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128) owner=BlockContainer<DIV>.branch phase=border
+FillRect@s2/c1/e0 rect=[16,16 150x80] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.leaf.leaf-a phase=background
+DrawGlyphRun@s2/c1/e0 font_id=font1 glyphs=1 rect=[16,16 15x16] glyph_bounding_rect=[16,16 13x15] translation=[16,29] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.leaf.leaf-a phase=foreground
+FillRect@s3/c1/e0 rect=[16,101 150x80] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.leaf.leaf-b phase=background
+DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=1 rect=[16,101 10x16] glyph_bounding_rect=[16,102 13x15] translation=[16,114] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.leaf.leaf-b phase=foreground
+FillRect@s4/c2/e0 rect=[221,16 150x80] color=rgb(0, 0, 255) owner=BlockContainer<DIV>.leaf.leaf-c phase=background
+DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=1 rect=[221,16 11x16] glyph_bounding_rect=[221,16 13x15] translation=[221,29] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.leaf.leaf-c phase=foreground
+FillRect@s5/c2/e0 rect=[221,101 150x80] color=rgb(255, 165, 0) owner=BlockContainer<DIV>.leaf.leaf-d phase=background
+DrawGlyphRun@s5/c2/e0 font_id=font1 glyphs=1 rect=[221,101 12x16] glyph_bounding_rect=[221,102 13x15] translation=[221,114] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.leaf.leaf-d phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/double-border-with-asymmetric-radii.txt b/Tests/LibWeb/Text/expected/display_list/double-border-with-asymmetric-radii.txt
index 9cd4364ad53..6430a178291 100644
--- a/Tests/LibWeb/Text/expected/display_list/double-border-with-asymmetric-radii.txt
+++ b/Tests/LibWeb/Text/expected/display_list/double-border-with-asymmetric-radii.txt
@@ -6,12 +6,12 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s1/e0 path_bounding_rect=[192.04163,10.928932 15.958374x135.35535] path_data=[curved path: 48 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[182.14214,22 11.857864x114.38478] path_data=[curved path: 37 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[10.928932,142.04163 185.35535x15.958374] path_data=[curved path: 48 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[22,132.14214 164.38478x11.857864] path_data=[curved path: 37 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[7.9999967,19.715729 15.958374x135.35535] path_data=[curved path: 48 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[22,29.615223 11.857864x114.38478] path_data=[curved path: 37 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[19.715729,7.9999967 185.35535x15.958374] path_data=[curved path: 48 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[29.615223,22 164.38478x11.857864] path_data=[curved path: 37 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd
+FillPath@s1/e0 path_bounding_rect=[192.04163,10.928932 15.958374x135.35535] path_data=[curved path: 48 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[182.14214,22 11.857864x114.38478] path_data=[curved path: 37 commands] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[10.928932,142.04163 185.35535x15.958374] path_data=[curved path: 48 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[22,132.14214 164.38478x11.857864] path_data=[curved path: 37 commands] color=rgb(0, 128, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[7.9999967,19.715729 15.958374x135.35535] path_data=[curved path: 48 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[22,29.615223 11.857864x114.38478] path_data=[curved path: 37 commands] color=rgb(255, 165, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[19.715729,7.9999967 185.35535x15.958374] path_data=[curved path: 48 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[29.615223,22 164.38478x11.857864] path_data=[curved path: 37 commands] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/fieldset-background-with-legend.txt b/Tests/LibWeb/Text/expected/display_list/fieldset-background-with-legend.txt
index db71d8cd4b7..8932da3a99c 100644
--- a/Tests/LibWeb/Text/expected/display_list/fieldset-background-with-legend.txt
+++ b/Tests/LibWeb/Text/expected/display_list/fieldset-background-with-legend.txt
@@ -6,15 +6,15 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[10,8 780x50] color=rgb(0, 0, 255) inline_clips=[clip=[10,15 780x43]]
-FillPath@s1/e0 path_bounding_rect=[10,15 780x1] path_data=[path: M10 15L10 15L11 16L789 16L790 15L790 15] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[11,16 778x1] path_data=[path: M11 16L11 16L12 17L788 17L789 16L789 16] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[789,15 1x43] path_data=[path: M790 15L790 15L789 16L789 57L790 58L790 58] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[788,16 1x41] path_data=[path: M789 16L789 16L788 17L788 56L789 57L789 57] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[10,57 780x1] path_data=[path: M790 58L790 58L789 57L11 57L10 58L10 58] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[11,56 778x1] path_data=[path: M789 57L789 57L788 56L12 56L11 57L11 57] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[10,15 1x43] path_data=[path: M10 58L10 58L11 57L11 16L10 15L10 15] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-FillPath@s1/e0 path_bounding_rect=[11,16 1x41] path_data=[path: M11 57L11 57L12 56L12 17L11 16L11 16] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[26,8 54x16] glyph_bounding_rect=[26,8 59x15] translation=[26,21] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[24,29 63x17] glyph_bounding_rect=[24,30 69x15] translation=[24,42.59375] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[10,8 780x50] color=rgb(0, 0, 255) inline_clips=[clip=[10,15 780x43]] owner=FieldSetBox<FIELDSET> phase=background
+FillPath@s1/e0 path_bounding_rect=[10,15 780x1] path_data=[path: M10 15L10 15L11 16L789 16L790 15L790 15] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[11,16 778x1] path_data=[path: M11 16L11 16L12 17L788 17L789 16L789 16] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[789,15 1x43] path_data=[path: M790 15L790 15L789 16L789 57L790 58L790 58] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[788,16 1x41] path_data=[path: M789 16L789 16L788 17L788 56L789 57L789 57] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[10,57 780x1] path_data=[path: M790 58L790 58L789 57L11 57L10 58L10 58] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[11,56 778x1] path_data=[path: M789 57L789 57L788 56L12 56L11 57L11 57] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[10,15 1x43] path_data=[path: M10 58L10 58L11 57L11 16L10 15L10 15] color=rgb(154, 154, 154) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+FillPath@s1/e0 path_bounding_rect=[11,16 1x41] path_data=[path: M11 57L11 57L12 56L12 17L11 16L11 16] color=rgb(239, 239, 239) winding_rule=EvenOdd inline_clips=[clip=[24,15 57x2] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[26,8 54x16] glyph_bounding_rect=[26,8 59x15] translation=[26,21] color=rgb(0, 0, 0) owner=LegendBox<LEGEND> phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[24,29 63x17] glyph_bounding_rect=[24,30 69x15] translation=[24,42.59375] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/fieldset-legend-rounded-dashed-border.txt b/Tests/LibWeb/Text/expected/display_list/fieldset-legend-rounded-dashed-border.txt
index c8287ca82c4..f8753aa6027 100644
--- a/Tests/LibWeb/Text/expected/display_list/fieldset-legend-rounded-dashed-border.txt
+++ b/Tests/LibWeb/Text/expected/display_list/fieldset-legend-rounded-dashed-border.txt
@@ -6,7 +6,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-StrokePath@s1/e0 dash_array=[6.0229473, 6.0229473] dash_offset=9.034421 path_bounding_rect=[10,15 230x44] path_data=[curved path: 135 commands] color=rgb(0, 0, 255) thickness=3 inline_clips=[clip=[25,15 57x3] mode=difference]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[27,8 54x16] glyph_bounding_rect=[27,8 59x15] translation=[27,21] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[25,29 63x17] glyph_bounding_rect=[25,30 69x15] translation=[25,42.59375] color=rgb(0, 0, 0)
+StrokePath@s1/e0 dash_array=[6.0229473, 6.0229473] dash_offset=9.034421 path_bounding_rect=[10,15 230x44] path_data=[curved path: 135 commands] color=rgb(0, 0, 255) thickness=3 inline_clips=[clip=[25,15 57x3] mode=difference] owner=FieldSetBox<FIELDSET> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[27,8 54x16] glyph_bounding_rect=[27,8 59x15] translation=[27,21] color=rgb(0, 0, 0) owner=LegendBox<LEGEND> phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[25,29 63x17] glyph_bounding_rect=[25,30 69x15] translation=[25,42.59375] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/fixed-position.txt b/Tests/LibWeb/Text/expected/display_list/fixed-position.txt
index caf70ac90f6..435c1750fdf 100644
--- a/Tests/LibWeb/Text/expected/display_list/fixed-position.txt
+++ b/Tests/LibWeb/Text/expected/display_list/fixed-position.txt
@@ -8,8 +8,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c0/e0 rect=[8,8 150x50] color=rgb(0, 128, 0)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=6 rect=[8,8 56x16] glyph_bounding_rect=[8,8 64x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s0/e0 rect=[10,10 80x40] color=rgb(255, 0, 0)
-DrawGlyphRun@s0/e0 font_id=font1 glyphs=5 rect=[10,10 44x16] glyph_bounding_rect=[10,10 49x15] translation=[10,23] color=rgb(0, 0, 0)
+FillRect@s1/c0/e0 rect=[8,8 150x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.normal phase=background
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=6 rect=[8,8 56x16] glyph_bounding_rect=[8,8 64x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.normal phase=foreground
+FillRect@s0/e0 rect=[10,10 80x40] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.fixed phase=background
+DrawGlyphRun@s0/e0 font_id=font1 glyphs=5 rect=[10,10 44x16] glyph_bounding_rect=[10,10 49x15] translation=[10,23] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.fixed phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/form-control-devolved-borders.txt b/Tests/LibWeb/Text/expected/display_list/form-control-devolved-borders.txt
index 6887d1a9ac7..c75ee5383f3 100644
--- a/Tests/LibWeb/Text/expected/display_list/form-control-devolved-borders.txt
+++ b/Tests/LibWeb/Text/expected/display_list/form-control-devolved-borders.txt
@@ -1,6 +1,6 @@
-FillRoundedRectRing@s1/e0 rect=[0,0 58x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-FillRoundedRectRing@s1/e0 rect=[66,0 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-FillPath@s1/e0 path_bounding_rect=[0,20 74x20] path_data=[path: M74 20L74 20L72 22L72 38L74 40L74 40M74 40L74 40L72 38L2 38L0 40L0 40] color=rgb(33, 33, 33) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[0,20 74x20] path_data=[path: M0 40L0 40L2 38L2 22L0 20L0 20M0 20L0 20L2 22L72 22L74 20L74 20] color=rgb(118, 118, 118) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[82,20 170x20] path_data=[path: M252 20L252 20L250 22L250 38L252 40L252 40M252 40L252 40L250 38L84 38L82 40L82 40] color=rgb(118, 118, 118) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[82,20 170x20] path_data=[path: M82 40L82 40L84 38L84 22L82 20L82 20M82 20L82 20L84 22L250 22L252 20L252 20] color=rgb(33, 33, 33) winding_rule=EvenOdd
+FillRoundedRectRing@s1/e0 rect=[0,0 58x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON> phase=border
+FillRoundedRectRing@s1/e0 rect=[66,0 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextInputBox<INPUT> phase=border
+FillPath@s1/e0 path_bounding_rect=[0,20 74x20] path_data=[path: M74 20L74 20L72 22L72 38L74 40L74 40M74 40L74 40L72 38L2 38L0 40L0 40] color=rgb(33, 33, 33) winding_rule=EvenOdd owner=BlockContainer<BUTTON>.none phase=border
+FillPath@s1/e0 path_bounding_rect=[0,20 74x20] path_data=[path: M0 40L0 40L2 38L2 22L0 20L0 20M0 20L0 20L2 22L72 22L74 20L74 20] color=rgb(118, 118, 118) winding_rule=EvenOdd owner=BlockContainer<BUTTON>.none phase=border
+FillPath@s1/e0 path_bounding_rect=[82,20 170x20] path_data=[path: M252 20L252 20L250 22L250 38L252 40L252 40M252 40L252 40L250 38L84 38L82 40L82 40] color=rgb(118, 118, 118) winding_rule=EvenOdd owner=BlockContainer<INPUT>.none phase=border
+FillPath@s1/e0 path_bounding_rect=[82,20 170x20] path_data=[path: M82 40L82 40L84 38L84 22L82 20L82 20M82 20L82 20L84 22L250 22L252 20L252 20] color=rgb(33, 33, 33) winding_rule=EvenOdd owner=BlockContainer<INPUT>.none phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt b/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt
index 78e4c2d23d5..078269909eb 100644
--- a/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt
+++ b/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt
@@ -11,32 +11,32 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 58x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 58x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[9,3 40x14] glyph_bounding_rect=[9,4 44x12] translation=[9,14] color=rgb(0, 0, 0)
-FillRectWithRoundedCorners@s1/e0 rect=[0,30 130x24] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,30 130x24] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=17 rect=[5,35 120x14] glyph_bounding_rect=[5,36 124x12] translation=[5,46] color=rgb(0, 128, 0)
-FillRectWithRoundedCorners@s1/e0 rect=[0,60 129x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,60 129x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=15 rect=[9,63 112x14] glyph_bounding_rect=[9,64 115x12] translation=[9,74] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[0,90 92x20] color=rgb(0, 255, 0)
-FillPath@s1/e0 path_bounding_rect=[0,90 92x20] path_data=[path: M92 90L92 90L90 92L90 108L92 110L92 110M92 110L92 110L90 108L2 108L0 110L0 110] color=rgb(33, 33, 33) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[0,90 92x20] path_data=[path: M0 110L0 110L2 108L2 92L0 90L0 90M0 90L0 90L2 92L90 92L92 90L92 90] color=rgb(118, 118, 118) winding_rule=EvenOdd
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[9,93 75x14] glyph_bounding_rect=[9,94 79x12] translation=[9,104] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[0,120 63x20] color=rgb(239, 239, 239)
-FillPath@s1/e0 path_bounding_rect=[0,120 63x20] path_data=[path: M63 120L63 120L61 122L61 138L63 140L63 140M63 140L63 140L61 138L2 138L0 140L0 140] color=rgb(170, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[0,120 63x20] path_data=[path: M0 140L0 140L2 138L2 122L0 120L0 120M0 120L0 120L2 122L61 122L63 120L63 120] color=rgb(255, 0, 0) winding_rule=EvenOdd
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[9,123 45x14] glyph_bounding_rect=[9,124 49x12] translation=[9,134] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[0,150 137x20] color=rgb(239, 239, 239)
-FillPath@s1/e0 path_bounding_rect=[0,150 137x20] path_data=[path: M137 150L137 150L135 152L135 168L137 170L137 170M137 170L137 170L135 168L2 168L0 170L0 170] color=rgb(33, 33, 33) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[0,150 137x20] path_data=[path: M0 170L0 170L2 168L2 152L0 150L0 150M0 150L0 150L2 152L135 152L137 150L137 150] color=rgb(118, 118, 118) winding_rule=EvenOdd
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=15 rect=[9,153 119x14] glyph_bounding_rect=[9,154 123x12] translation=[9,164] color=rgb(0, 0, 0)
-FillRectWithRoundedCorners@s1/e0 rect=[0,180 170x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,180 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=4 rect=[5,183 32x14] glyph_bounding_rect=[5,184 37x12] translation=[5,194] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[0,210 172x22] color=rgb(255, 255, 255)
-FillPath@s1/e0 path_bounding_rect=[0,210 172x22] path_data=[path: M172 210L172 210L169 213L169 229L172 232L172 232M172 232L172 232L169 229L3 229L0 232L0 232] color=rgb(118, 118, 118) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[0,210 172x22] path_data=[path: M0 232L0 232L3 229L3 213L0 210L0 210M0 210L0 210L3 213L169 213L172 210L172 210] color=rgb(33, 33, 33) winding_rule=EvenOdd
-DrawGlyphRun@s1/c3/e0 font_id=font1 glyphs=8 rect=[6,214 59x14] glyph_bounding_rect=[6,215 63x12] translation=[6,225] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 58x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<BUTTON>#native phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 58x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON>#native phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[9,3 40x14] glyph_bounding_rect=[9,4 44x12] translation=[9,14] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRectWithRoundedCorners@s1/e0 rect=[0,30 130x24] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<BUTTON> phase=background
+FillRoundedRectRing@s1/e0 rect=[0,30 130x24] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=17 rect=[5,35 120x14] glyph_bounding_rect=[5,36 124x12] translation=[5,46] color=rgb(0, 128, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRectWithRoundedCorners@s1/e0 rect=[0,60 129x20] color=rgb(239, 239, 239) corner_radii=[4x4,4x4,4x4,4x4] owner=BlockContainer<BUTTON>#revert phase=background
+FillRoundedRectRing@s1/e0 rect=[0,60 129x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=BlockContainer<BUTTON>#revert phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=15 rect=[9,63 112x14] glyph_bounding_rect=[9,64 115x12] translation=[9,74] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRect@s1/e0 rect=[0,90 92x20] color=rgb(0, 255, 0) owner=BlockContainer<BUTTON> phase=background
+FillPath@s1/e0 path_bounding_rect=[0,90 92x20] path_data=[path: M92 90L92 90L90 92L90 108L92 110L92 110M92 110L92 110L90 108L2 108L0 110L0 110] color=rgb(33, 33, 33) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+FillPath@s1/e0 path_bounding_rect=[0,90 92x20] path_data=[path: M0 110L0 110L2 108L2 92L0 90L0 90M0 90L0 90L2 92L90 92L92 90L92 90] color=rgb(118, 118, 118) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[9,93 75x14] glyph_bounding_rect=[9,94 79x12] translation=[9,104] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRect@s1/e0 rect=[0,120 63x20] color=rgb(239, 239, 239) owner=BlockContainer<BUTTON> phase=background
+FillPath@s1/e0 path_bounding_rect=[0,120 63x20] path_data=[path: M63 120L63 120L61 122L61 138L63 140L63 140M63 140L63 140L61 138L2 138L0 140L0 140] color=rgb(170, 0, 0) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+FillPath@s1/e0 path_bounding_rect=[0,120 63x20] path_data=[path: M0 140L0 140L2 138L2 122L0 120L0 120M0 120L0 120L2 122L61 122L63 120L63 120] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[9,123 45x14] glyph_bounding_rect=[9,124 49x12] translation=[9,134] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRect@s1/e0 rect=[0,150 137x20] color=rgb(239, 239, 239) owner=BlockContainer<BUTTON> phase=background
+FillPath@s1/e0 path_bounding_rect=[0,150 137x20] path_data=[path: M137 150L137 150L135 152L135 168L137 170L137 170M137 170L137 170L135 168L2 168L0 170L0 170] color=rgb(33, 33, 33) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+FillPath@s1/e0 path_bounding_rect=[0,150 137x20] path_data=[path: M0 170L0 170L2 168L2 152L0 150L0 150M0 150L0 150L2 152L135 152L137 150L137 150] color=rgb(118, 118, 118) winding_rule=EvenOdd owner=BlockContainer<BUTTON> phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=15 rect=[9,153 119x14] glyph_bounding_rect=[9,154 123x12] translation=[9,164] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=foreground
+FillRectWithRoundedCorners@s1/e0 rect=[0,180 170x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextInputBox<INPUT> phase=background
+FillRoundedRectRing@s1/e0 rect=[0,180 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextInputBox<INPUT> phase=border
+DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=4 rect=[5,183 32x14] glyph_bounding_rect=[5,184 37x12] translation=[5,194] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+FillRect@s1/e0 rect=[0,210 172x22] color=rgb(255, 255, 255) owner=TextInputBox<INPUT> phase=background
+FillPath@s1/e0 path_bounding_rect=[0,210 172x22] path_data=[path: M172 210L172 210L169 213L169 229L172 232L172 232M172 232L172 232L169 229L3 229L0 232L0 232] color=rgb(118, 118, 118) winding_rule=EvenOdd owner=TextInputBox<INPUT> phase=border
+FillPath@s1/e0 path_bounding_rect=[0,210 172x22] path_data=[path: M0 232L0 232L3 229L3 213L0 210L0 210M0 210L0 210L3 213L169 213L172 210L172 210] color=rgb(33, 33, 33) winding_rule=EvenOdd owner=TextInputBox<INPUT> phase=border
+DrawGlyphRun@s1/c3/e0 font_id=font1 glyphs=8 rect=[6,214 59x14] glyph_bounding_rect=[6,215 63x12] translation=[6,225] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/grid-gap-rounding.txt b/Tests/LibWeb/Text/expected/display_list/grid-gap-rounding.txt
index 682e575fa29..4fefc417be7 100644
--- a/Tests/LibWeb/Text/expected/display_list/grid-gap-rounding.txt
+++ b/Tests/LibWeb/Text/expected/display_list/grid-gap-rounding.txt
@@ -6,9 +6,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 29x30] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[38,8 28x30] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[67,8 29x30] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[97,8 28x30] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[126,8 29x30] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,8 29x30] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.b phase=background
+FillRect@s1/e0 rect=[38,8 28x30] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.b phase=background
+FillRect@s1/e0 rect=[67,8 29x30] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.b phase=background
+FillRect@s1/e0 rect=[97,8 28x30] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.b phase=background
+FillRect@s1/e0 rect=[126,8 29x30] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.b phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/iframe-compositor-surface.txt b/Tests/LibWeb/Text/expected/display_list/iframe-compositor-surface.txt
index 9fd455a9e6c..472fbd2f8ce 100644
--- a/Tests/LibWeb/Text/expected/display_list/iframe-compositor-surface.txt
+++ b/Tests/LibWeb/Text/expected/display_list/iframe-compositor-surface.txt
@@ -10,11 +10,11 @@ Layers:
[L1] composited context rect=[0,0 123x83]
DisplayList:
-L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x96]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x83]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x83]
-L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 120x80]
-L1 DrawCompositedContext@s1/e0 dst_rect=[0,0 120x80] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[0,0 120x80]]
-L0 CompositorNestedContextWheelRegion@s1/e0 rect=[0,0 120x80] child_context_id=context1
+L0 CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x96] owner=BlockContainer<HTML> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x83] owner=BlockContainer<BODY> phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x83] owner=BlockContainer(anonymous) phase=scroll-metadata
+L0 CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 120x80] owner=NavigableContainerViewport<IFRAME>#frame phase=scroll-metadata
+L1 DrawCompositedContext@s1/e0 dst_rect=[0,0 120x80] child_context_id=context1 scaling_mode=NearestNeighbor spatial_node_index=s1 snap_origin_if_untransformed=true inline_clips=[clip=[0,0 120x80]] owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
+L0 CompositorNestedContextWheelRegion@s1/e0 rect=[0,0 120x80] child_context_id=context1 owner=NavigableContainerViewport<IFRAME>#frame phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/iframe-in-svg-mask-and-pattern.txt b/Tests/LibWeb/Text/expected/display_list/iframe-in-svg-mask-and-pattern.txt
index d429e8de06a..b9757c3f1bf 100644
--- a/Tests/LibWeb/Text/expected/display_list/iframe-in-svg-mask-and-pattern.txt
+++ b/Tests/LibWeb/Text/expected/display_list/iframe-in-svg-mask-and-pattern.txt
@@ -11,10 +11,10 @@ AccumulatedVisualContext Tree:
[e2 in s2 out=c0] mask=[200,0 100x100] kind=luminance origin=svg-mask (SVGGeometryBox<rect>)
DisplayList:
-DeclareMaskContent@s2/c0/e1 rect=[0,0 100x100] effect=e1
-FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0)
-FillPath@s2/c0/e0 path_bounding_rect=[100,0 100x100] path_data=[path: M100 0L200 0L200 100L100 100L100 0Z] paint_kind=PaintStyle color=rgba(0, 0, 0, 0) paint_style={paint_style_type=Pattern pattern_tile_rect=[0,0 50x50]}
+DeclareMaskContent@s2/c0/e1 rect=[0,0 100x100] effect=e1 owner=SVGSVGBox<svg> phase=svg
+FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect> phase=foreground
+FillPath@s2/c0/e0 path_bounding_rect=[100,0 100x100] path_data=[path: M100 0L200 0L200 100L100 100L100 0Z] paint_kind=PaintStyle color=rgba(0, 0, 0, 0) paint_style={paint_style_type=Pattern pattern_tile_rect=[0,0 50x50]} owner=SVGGeometryBox<rect> phase=foreground
PatternTile:
-DeclareMaskContent@s2/c0/e2 rect=[200,0 100x100] effect=e2
-FillPath@s2/c0/e2 path_bounding_rect=[200,0 100x100] path_data=[path: M200 0L300 0L300 100L200 100L200 0Z] color=rgb(0, 128, 0)
+DeclareMaskContent@s2/c0/e2 rect=[200,0 100x100] effect=e2 owner=SVGSVGBox<svg> phase=svg
+FillPath@s2/c0/e2 path_bounding_rect=[200,0 100x100] path_data=[path: M200 0L300 0L300 100L200 100L200 0Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/image-object-fit-cover-clip.txt b/Tests/LibWeb/Text/expected/display_list/image-object-fit-cover-clip.txt
index 23c3d5d28f1..b6b240438bc 100644
--- a/Tests/LibWeb/Text/expected/display_list/image-object-fit-cover-clip.txt
+++ b/Tests/LibWeb/Text/expected/display_list/image-object-fit-cover-clip.txt
@@ -6,5 +6,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawScaledDecodedImageFrame@s1/e0 dst_rect=[0,-20 40x80] frame_id=image1 scaling_mode=BilinearMipmap inline_clips=[clip=[0,0 40x40]]
+DrawScaledDecodedImageFrame@s1/e0 dst_rect=[0,-20 40x80] frame_id=image1 scaling_mode=BilinearMipmap inline_clips=[clip=[0,0 40x40]] owner=ImageBox<IMG> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/input-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-caret.txt
index 602da1b8970..5b761a7fa0f 100644
--- a/Tests/LibWeb/Text/expected/display_list/input-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/input-caret.txt
@@ -9,9 +9,9 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 110x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[8,8 110x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=5 rect=[13,11 31x14] glyph_bounding_rect=[13,12 33x12] translation=[13,22] color=rgb(0, 0, 0)
-PaintCaret@s1/c1/e0 rect=[13,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[6,6 114x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 110x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextInputBox<INPUT> phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 110x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextInputBox<INPUT> phase=border
+DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=5 rect=[13,11 31x14] glyph_bounding_rect=[13,12 33x12] translation=[13,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+PaintCaret@s1/c1/e0 rect=[13,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[6,6 114x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextInputBox<INPUT> phase=outline
diff --git a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
index a9d7c6111b7..f0918e13996 100644
--- a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
@@ -11,13 +11,13 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 170x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[8,8 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=3 rect=[13,11 23x14] glyph_bounding_rect=[13,12 25x12] translation=[13,22] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=1 rect=[177,9 9x16] glyph_bounding_rect=[178,10 13x15] translation=[177.6875,22] color=rgb(0, 0, 0)
-FillRectWithRoundedCorners@s1/e0 rect=[186,8 169x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[186,8 169x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c3/e0 font_id=font1 glyphs=3 rect=[190,11 24x14] glyph_bounding_rect=[191,12 27x12] translation=[190.6875,22] color=rgb(0, 0, 0)
-PaintCaret@s1/c3/e0 rect=[191,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[184,6 173x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 170x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextInputBox<INPUT>#foo phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 170x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextInputBox<INPUT>#foo phase=border
+DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=3 rect=[13,11 23x14] glyph_bounding_rect=[13,12 25x12] translation=[13,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=1 rect=[177,9 9x16] glyph_bounding_rect=[178,10 13x15] translation=[177.6875,22] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+FillRectWithRoundedCorners@s1/e0 rect=[186,8 169x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextInputBox<INPUT>#bar phase=background
+FillRoundedRectRing@s1/e0 rect=[186,8 169x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextInputBox<INPUT>#bar phase=border
+DrawGlyphRun@s1/c3/e0 font_id=font1 glyphs=3 rect=[190,11 24x14] glyph_bounding_rect=[191,12 27x12] translation=[190.6875,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+PaintCaret@s1/c3/e0 rect=[191,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[184,6 173x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextInputBox<INPUT>#bar phase=outline
diff --git a/Tests/LibWeb/Text/expected/display_list/mask-image-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/mask-image-invalidation.txt
index e1c0665ceba..b4e90c03688 100644
--- a/Tests/LibWeb/Text/expected/display_list/mask-image-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/mask-image-invalidation.txt
@@ -8,10 +8,10 @@ AccumulatedVisualContext Tree:
[e1 in s1] mask=[8,8 100x100] kind=alpha origin=css-mask-layers (BlockContainer<DIV>#box.box)
DisplayList:
-DeclareMaskContent@s1/e1 rect=[8,8 100x100] effect=e1
- PaintLinearGradient@s1/e1 gradient_rect=[8,8 100x100] gradient_angle=180 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x100]]
-FillRect@s1/e1 rect=[8,8 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/e1 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0)
+DeclareMaskContent@s1/e1 rect=[8,8 100x100] effect=e1 owner=BlockContainer<DIV>#box.box phase=preamble
+ PaintLinearGradient@s1/e1 gradient_rect=[8,8 100x100] gradient_angle=180 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x100]] owner=BlockContainer<DIV>#box.box phase=preamble
+FillRect@s1/e1 rect=[8,8 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e1 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After mask-image removal:
AccumulatedVisualContext Tree:
@@ -22,8 +22,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,8 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
After mask-image reinstatement:
AccumulatedVisualContext Tree:
@@ -35,8 +35,8 @@ AccumulatedVisualContext Tree:
[e1 in s1] mask=[8,8 100x100] kind=alpha origin=css-mask-layers (BlockContainer<DIV>#box.box)
DisplayList:
-DeclareMaskContent@s1/e1 rect=[8,8 100x100] effect=e1
- PaintLinearGradient@s1/e1 gradient_rect=[8,8 100x100] gradient_angle=90 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x100]]
-FillRect@s1/e1 rect=[8,8 100x100] color=rgb(173, 216, 230)
-DrawGlyphRun@s1/e1 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0)
+DeclareMaskContent@s1/e1 rect=[8,8 100x100] effect=e1 owner=BlockContainer<DIV>#box.box phase=preamble
+ PaintLinearGradient@s1/e1 gradient_rect=[8,8 100x100] gradient_angle=90 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[8,8 100x100]] owner=BlockContainer<DIV>#box.box phase=preamble
+FillRect@s1/e1 rect=[8,8 100x100] color=rgb(173, 216, 230) owner=BlockContainer<DIV>#box.box phase=background
+DrawGlyphRun@s1/e1 font_id=font1 glyphs=3 rect=[8,8 30x16] glyph_bounding_rect=[8,8 33x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/mask-type-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/mask-type-invalidation.txt
index 36fdb2123e3..5ae00d63da1 100644
--- a/Tests/LibWeb/Text/expected/display_list/mask-type-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/mask-type-invalidation.txt
@@ -11,9 +11,9 @@ AccumulatedVisualContext Tree:
[e1 in s2 out=c0] mask=[-10,-10 120x120] kind=alpha origin=svg-mask (SVGGeometryBox<rect>)
DisplayList:
-DeclareMaskContent@s2/c0/e1 rect=[-10,-10 120x120] effect=e1
- FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x50] path_data=[path: M0 0L100 0L100 50L0 50L0 0Z] color=rgb(255, 255, 255)
-FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0)
+DeclareMaskContent@s2/c0/e1 rect=[-10,-10 120x120] effect=e1 owner=SVGSVGBox<svg> phase=svg
+ FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x50] path_data=[path: M0 0L100 0L100 50L0 50L0 0Z] color=rgb(255, 255, 255) owner=SVGGeometryBox<rect> phase=foreground
+FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect> phase=foreground
After switching to mask-type luminance:
AccumulatedVisualContext Tree:
@@ -28,7 +28,7 @@ AccumulatedVisualContext Tree:
[e1 in s2 out=c0] mask=[-10,-10 120x120] kind=luminance origin=svg-mask (SVGGeometryBox<rect>)
DisplayList:
-DeclareMaskContent@s2/c0/e1 rect=[-10,-10 120x120] effect=e1
- FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x50] path_data=[path: M0 0L100 0L100 50L0 50L0 0Z] color=rgb(255, 255, 255)
-FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0)
+DeclareMaskContent@s2/c0/e1 rect=[-10,-10 120x120] effect=e1 owner=SVGSVGBox<svg> phase=svg
+ FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x50] path_data=[path: M0 0L100 0L100 50L0 50L0 0Z] color=rgb(255, 255, 255) owner=SVGGeometryBox<rect> phase=foreground
+FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/mix-blend-mode-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/mix-blend-mode-invalidation.txt
index d7af008aa6f..0a65ad5c10b 100644
--- a/Tests/LibWeb/Text/expected/display_list/mix-blend-mode-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/mix-blend-mode-invalidation.txt
@@ -7,7 +7,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s1/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
After mix-blend-mode change:
AccumulatedVisualContext Tree:
@@ -19,5 +19,5 @@ AccumulatedVisualContext Tree:
[e1 in s1] effects=[blend_mode=Multiply] (BlockContainer<DIV>#box)
DisplayList:
-FillRect@s1/e1 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s1/e1 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/mixed-sibling-contexts.txt b/Tests/LibWeb/Text/expected/display_list/mixed-sibling-contexts.txt
index 279dcdc6312..40cac95a4a0 100644
--- a/Tests/LibWeb/Text/expected/display_list/mixed-sibling-contexts.txt
+++ b/Tests/LibWeb/Text/expected/display_list/mixed-sibling-contexts.txt
@@ -13,9 +13,9 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[119,9 100x100] min_scroll_offset=[0,0] max_scroll_offset=[50,50] is_viewport=false
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[118,8 102x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255)
-FillRect@s2/c0/e0 rect=[119,9 150x150] color=rgb(173, 216, 230)
-DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=7 rect=[119,9 55x16] glyph_bounding_rect=[119,10 60x15] translation=[119,22] color=rgb(0, 0, 0)
-FillRect@s3/e0 rect=[8,8 100x100] color=rgb(255, 127, 80)
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=9 rect=[8,8 88x16] glyph_bounding_rect=[8,8 88x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[118,8 102x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.clipped phase=border
+FillRect@s2/c0/e0 rect=[119,9 150x150] color=rgb(173, 216, 230) owner=BlockContainer<DIV>.inner phase=background
+DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=7 rect=[119,9 55x16] glyph_bounding_rect=[119,10 60x15] translation=[119,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.inner phase=foreground
+FillRect@s3/e0 rect=[8,8 100x100] color=rgb(255, 127, 80) owner=BlockContainer<DIV>.transformed phase=background
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=9 rect=[8,8 88x16] glyph_bounding_rect=[8,8 88x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.transformed phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/multiline-inline-color-change-inside-opacity.txt b/Tests/LibWeb/Text/expected/display_list/multiline-inline-color-change-inside-opacity.txt
index 6510b91de6c..099260bb4af 100644
--- a/Tests/LibWeb/Text/expected/display_list/multiline-inline-color-change-inside-opacity.txt
+++ b/Tests/LibWeb/Text/expected/display_list/multiline-inline-color-change-inside-opacity.txt
@@ -8,11 +8,11 @@ AccumulatedVisualContext Tree:
[e1 in s1] effects=[opacity=0.5] (InlineNode<SPAN>#outer)
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[8,85 46x13] glyph_bounding_rect=[8,85 53x12] translation=[8,95] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 255)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[8,85 46x13] glyph_bounding_rect=[8,85 53x12] translation=[8,95] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 255) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 255) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 255) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 255) owner=InlineNode<SPAN>#outer phase=text-fragment
After:
AccumulatedVisualContext Tree:
@@ -24,26 +24,26 @@ AccumulatedVisualContext Tree:
[e1 in s1] effects=[opacity=0.5] (InlineNode<SPAN>#outer)
ScrollNodes:
-ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[89.34375,0] is_viewport=true
+ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[441.23438,0] is_viewport=true
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[8,85 46x13] glyph_bounding_rect=[8,85 53x12] translation=[8,95] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=30 rect=[8,98 214x13] glyph_bounding_rect=[8,98 221x12] translation=[8,108] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[8,111 60x13] glyph_bounding_rect=[8,111 67x12] translation=[8,121] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=67 rect=[8,124 440x13] glyph_bounding_rect=[8,124 446x12] translation=[8,134] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=39 rect=[8,137 264x13] glyph_bounding_rect=[8,137 271x12] translation=[8,147] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[8,150 62x13] glyph_bounding_rect=[8,150 69x12] translation=[8,160] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=25 rect=[8,163 162x13] glyph_bounding_rect=[8,163 166x12] translation=[8,173] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=63 rect=[8,176 417x13] glyph_bounding_rect=[8,176 423x12] translation=[8,186] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=12 rect=[8,202 74x13] glyph_bounding_rect=[8,202 81x12] translation=[8,212] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=130 rect=[8,215 869x13] glyph_bounding_rect=[8,215 875x12] translation=[8,225] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=130 rect=[8,228 867x13] glyph_bounding_rect=[8,228 874x12] translation=[8,238] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=132 rect=[8,241 877x13] glyph_bounding_rect=[8,241 884x12] translation=[8,251] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=132 rect=[8,254 882x13] glyph_bounding_rect=[8,254 888x12] translation=[8,264] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=132 rect=[8,267 880x13] glyph_bounding_rect=[8,267 887x12] translation=[8,277] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,293 40x13] glyph_bounding_rect=[8,293 47x12] translation=[8,303] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(255, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[8,85 46x13] glyph_bounding_rect=[8,85 53x12] translation=[8,95] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=30 rect=[8,98 214x13] glyph_bounding_rect=[8,98 221x12] translation=[8,108] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[8,111 60x13] glyph_bounding_rect=[8,111 67x12] translation=[8,121] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=67 rect=[8,124 440x13] glyph_bounding_rect=[8,124 446x12] translation=[8,134] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=39 rect=[8,137 264x13] glyph_bounding_rect=[8,137 271x12] translation=[8,147] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=10 rect=[8,150 62x13] glyph_bounding_rect=[8,150 69x12] translation=[8,160] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=25 rect=[8,163 162x13] glyph_bounding_rect=[8,163 166x12] translation=[8,173] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=63 rect=[8,176 417x13] glyph_bounding_rect=[8,176 423x12] translation=[8,186] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=12 rect=[8,202 74x13] glyph_bounding_rect=[8,202 81x12] translation=[8,212] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=177 rect=[8,215 1214x13] glyph_bounding_rect=[8,215 1218x12] translation=[8,225] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=179 rect=[8,228 1219x13] glyph_bounding_rect=[8,228 1224x12] translation=[8,238] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=181 rect=[8,241 1229x13] glyph_bounding_rect=[8,241 1234x12] translation=[8,251] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=181 rect=[8,254 1234x13] glyph_bounding_rect=[8,254 1238x12] translation=[8,264] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=181 rect=[8,267 1232x13] glyph_bounding_rect=[8,267 1237x12] translation=[8,277] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,293 40x13] glyph_bounding_rect=[8,293 47x12] translation=[8,303] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(255, 0, 0) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(255, 0, 0) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(255, 0, 0) owner=InlineNode<SPAN>#outer phase=text-fragment
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(255, 0, 0) owner=InlineNode<SPAN>#outer phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/multiline-inline-opacity.txt b/Tests/LibWeb/Text/expected/display_list/multiline-inline-opacity.txt
index 062c242460c..26318765a95 100644
--- a/Tests/LibWeb/Text/expected/display_list/multiline-inline-opacity.txt
+++ b/Tests/LibWeb/Text/expected/display_list/multiline-inline-opacity.txt
@@ -8,15 +8,15 @@ AccumulatedVisualContext Tree:
[e1 in s1] effects=[opacity=0.5] (InlineNode<SPAN>#target)
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=13 rect=[8,85 83x13] glyph_bounding_rect=[8,85 91x12] translation=[8,95] color=rgb(0, 0, 0)
-FillRect@s1/e1 rect=[8,8 81x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s1/e1 rect=[8,24 47x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 0)
-FillRect@s1/e1 rect=[8,40 60x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 0)
-FillRect@s1/e1 rect=[8,56 36x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=13 rect=[8,85 83x13] glyph_bounding_rect=[8,85 91x12] translation=[8,95] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+FillRect@s1/e1 rect=[8,8 81x16] color=rgb(255, 165, 0) owner=InlineNode<SPAN>#target phase=inline-piece
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 0) owner=InlineNode<SPAN>#target phase=text-fragment
+FillRect@s1/e1 rect=[8,24 47x16] color=rgb(255, 165, 0) owner=InlineNode<SPAN>#target phase=inline-piece
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 0) owner=InlineNode<SPAN>#target phase=text-fragment
+FillRect@s1/e1 rect=[8,40 60x16] color=rgb(255, 165, 0) owner=InlineNode<SPAN>#target phase=inline-piece
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 0) owner=InlineNode<SPAN>#target phase=text-fragment
+FillRect@s1/e1 rect=[8,56 36x16] color=rgb(255, 165, 0) owner=InlineNode<SPAN>#target phase=inline-piece
+DrawGlyphRun@s1/e1 font_id=font2 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 0) owner=InlineNode<SPAN>#target phase=text-fragment
Without opacity:
AccumulatedVisualContext Tree:
@@ -27,34 +27,34 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
ScrollNodes:
-ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[81.609375,0] is_viewport=true
+ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[431.07812,0] is_viewport=true
DisplayList:
-FillRect@s1/e0 rect=[8,8 81x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,24 47x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,40 60x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,56 36x16] color=rgb(255, 165, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=13 rect=[8,85 83x13] glyph_bounding_rect=[8,85 91x12] translation=[8,95] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=30 rect=[8,98 214x13] glyph_bounding_rect=[8,98 221x12] translation=[8,108] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=10 rect=[8,111 60x13] glyph_bounding_rect=[8,111 67x12] translation=[8,121] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=67 rect=[8,124 440x13] glyph_bounding_rect=[8,124 446x12] translation=[8,134] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=39 rect=[8,137 264x13] glyph_bounding_rect=[8,137 271x12] translation=[8,147] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=10 rect=[8,150 62x13] glyph_bounding_rect=[8,150 69x12] translation=[8,160] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=25 rect=[8,163 162x13] glyph_bounding_rect=[8,163 166x12] translation=[8,173] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=64 rect=[8,176 419x13] glyph_bounding_rect=[8,176 426x12] translation=[8,186] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=12 rect=[8,202 74x13] glyph_bounding_rect=[8,202 81x12] translation=[8,212] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=131 rect=[8,215 874x13] glyph_bounding_rect=[8,215 881x12] translation=[8,225] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=54 rect=[8,228 348x13] glyph_bounding_rect=[8,228 354x12] translation=[8,238] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=128 rect=[8,241 854x13] glyph_bounding_rect=[8,241 860x12] translation=[8,251] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=55 rect=[8,254 354x13] glyph_bounding_rect=[8,254 361x12] translation=[8,264] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=130 rect=[8,267 864x13] glyph_bounding_rect=[8,267 870x12] translation=[8,277] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=55 rect=[8,280 356x13] glyph_bounding_rect=[8,280 363x12] translation=[8,290] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=130 rect=[8,293 869x13] glyph_bounding_rect=[8,293 875x12] translation=[8,303] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=55 rect=[8,306 356x13] glyph_bounding_rect=[8,306 362x12] translation=[8,316] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=130 rect=[8,319 867x13] glyph_bounding_rect=[8,319 874x12] translation=[8,329] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=16 rect=[8,345 105x13] glyph_bounding_rect=[8,345 113x12] translation=[8,355] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,8 81x16] color=rgb(255, 165, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 82x16] glyph_bounding_rect=[8,8 85x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,24 47x16] color=rgb(255, 165, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,40 60x16] color=rgb(255, 165, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,56 36x16] color=rgb(255, 165, 0) owner=BlockContainer<DIV> phase=inline-piece
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=13 rect=[8,85 83x13] glyph_bounding_rect=[8,85 91x12] translation=[8,95] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=30 rect=[8,98 214x13] glyph_bounding_rect=[8,98 221x12] translation=[8,108] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=10 rect=[8,111 60x13] glyph_bounding_rect=[8,111 67x12] translation=[8,121] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=67 rect=[8,124 440x13] glyph_bounding_rect=[8,124 446x12] translation=[8,134] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=39 rect=[8,137 264x13] glyph_bounding_rect=[8,137 271x12] translation=[8,147] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=10 rect=[8,150 62x13] glyph_bounding_rect=[8,150 69x12] translation=[8,160] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=25 rect=[8,163 162x13] glyph_bounding_rect=[8,163 166x12] translation=[8,173] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=64 rect=[8,176 419x13] glyph_bounding_rect=[8,176 426x12] translation=[8,186] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=12 rect=[8,202 74x13] glyph_bounding_rect=[8,202 81x12] translation=[8,212] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=178 rect=[8,215 1219x13] glyph_bounding_rect=[8,215 1223x12] translation=[8,225] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=103 rect=[8,228 686x13] glyph_bounding_rect=[8,228 690x12] translation=[8,238] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=178 rect=[8,241 1209x13] glyph_bounding_rect=[8,241 1214x12] translation=[8,251] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=104 rect=[8,254 693x13] glyph_bounding_rect=[8,254 696x12] translation=[8,264] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=180 rect=[8,267 1219x13] glyph_bounding_rect=[8,267 1224x12] translation=[8,277] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=104 rect=[8,280 695x13] glyph_bounding_rect=[8,280 698x12] translation=[8,290] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=180 rect=[8,293 1224x13] glyph_bounding_rect=[8,293 1228x12] translation=[8,303] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=104 rect=[8,306 694x13] glyph_bounding_rect=[8,306 698x12] translation=[8,316] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=180 rect=[8,319 1222x13] glyph_bounding_rect=[8,319 1227x12] translation=[8,329] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=16 rect=[8,345 105x13] glyph_bounding_rect=[8,345 113x12] translation=[8,355] color=rgb(0, 0, 0) owner=BlockContainer<PRE>#out phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/multiline-inline-paint-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/multiline-inline-paint-invalidation.txt
index 7e8c49de8c6..456f0bc623f 100644
--- a/Tests/LibWeb/Text/expected/display_list/multiline-inline-paint-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/multiline-inline-paint-invalidation.txt
@@ -7,14 +7,14 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 70x16] glyph_bounding_rect=[8,8 75x15] translation=[8,21] color=rgb(0, 0, 255)
-FillRect@s1/e0 rect=[8,23 70x2] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 255)
-FillRect@s1/e0 rect=[8,39 47x2] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 255)
-FillRect@s1/e0 rect=[8,55 60x2] color=rgb(0, 0, 255)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 255)
-FillRect@s1/e0 rect=[8,71 36x2] color=rgb(0, 0, 255)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 70x16] glyph_bounding_rect=[8,8 75x15] translation=[8,21] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,23 70x2] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,39 47x2] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,55 60x2] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,71 36x2] color=rgb(0, 0, 255) owner=BlockContainer<DIV> phase=text-fragment
After:
AccumulatedVisualContext Tree:
@@ -25,12 +25,12 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 70x16] glyph_bounding_rect=[8,8 75x15] translation=[8,21] color=rgb(255, 0, 0)
-FillRect@s1/e0 rect=[8,23 70x2] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(255, 0, 0)
-FillRect@s1/e0 rect=[8,39 47x2] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(255, 0, 0)
-FillRect@s1/e0 rect=[8,55 60x2] color=rgb(255, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(255, 0, 0)
-FillRect@s1/e0 rect=[8,71 36x2] color=rgb(255, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,8 70x16] glyph_bounding_rect=[8,8 75x15] translation=[8,21] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,23 70x2] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,24 48x16] glyph_bounding_rect=[8,24 51x15] translation=[8,37] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,39 47x2] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[8,40 60x16] glyph_bounding_rect=[8,40 65x15] translation=[8,53] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,55 60x2] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,56 37x16] glyph_bounding_rect=[8,56 40x15] translation=[8,69] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
+FillRect@s1/e0 rect=[8,71 36x2] color=rgb(255, 0, 0) owner=BlockContainer<DIV> phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/nested-branches.txt b/Tests/LibWeb/Text/expected/display_list/nested-branches.txt
index 587758352b1..04c43d86416 100644
--- a/Tests/LibWeb/Text/expected/display_list/nested-branches.txt
+++ b/Tests/LibWeb/Text/expected/display_list/nested-branches.txt
@@ -14,15 +14,15 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 324x274] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-FillRoundedRectRing@s1/c0/e0 rect=[20,20 145x250] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128)
-FillRoundedRectRing@s1/c0/e0 rect=[175,20 145x250] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128)
-FillRect@s2/c1/e0 rect=[26,26 133x40] color=rgb(255, 136, 136)
-DrawGlyphRun@s2/c1/e0 font_id=font1 glyphs=3 rect=[26,26 20x16] glyph_bounding_rect=[26,26 26x15] translation=[26,39] color=rgb(0, 0, 0)
-FillRect@s3/c1/e0 rect=[26,71 133x40] color=rgb(136, 255, 136)
-DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=3 rect=[26,71 22x16] glyph_bounding_rect=[26,72 26x15] translation=[26,84] color=rgb(0, 0, 0)
-FillRect@s4/c2/e0 rect=[181,26 133x40] color=rgb(136, 136, 255)
-DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=3 rect=[181,26 22x16] glyph_bounding_rect=[181,26 29x15] translation=[181,39] color=rgb(0, 0, 0)
-FillRect@s5/c2/e0 rect=[181,71 133x40] color=rgb(255, 255, 136)
-DrawGlyphRun@s5/c2/e0 font_id=font1 glyphs=3 rect=[181,71 25x16] glyph_bounding_rect=[181,72 29x15] translation=[181,84] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[8,8 324x274] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=Box<DIV>.level1 phase=border
+FillRoundedRectRing@s1/c0/e0 rect=[20,20 145x250] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128) owner=BlockContainer<DIV>.level2 phase=border
+FillRoundedRectRing@s1/c0/e0 rect=[175,20 145x250] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(128, 128, 128) owner=BlockContainer<DIV>.level2 phase=border
+FillRect@s2/c1/e0 rect=[26,26 133x40] color=rgb(255, 136, 136) owner=BlockContainer<DIV>.level3.t1 phase=background
+DrawGlyphRun@s2/c1/e0 font_id=font1 glyphs=3 rect=[26,26 20x16] glyph_bounding_rect=[26,26 26x15] translation=[26,39] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.level3.t1 phase=foreground
+FillRect@s3/c1/e0 rect=[26,71 133x40] color=rgb(136, 255, 136) owner=BlockContainer<DIV>.level3.t2 phase=background
+DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=3 rect=[26,71 22x16] glyph_bounding_rect=[26,72 26x15] translation=[26,84] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.level3.t2 phase=foreground
+FillRect@s4/c2/e0 rect=[181,26 133x40] color=rgb(136, 136, 255) owner=BlockContainer<DIV>.level3.t3 phase=background
+DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=3 rect=[181,26 22x16] glyph_bounding_rect=[181,26 29x15] translation=[181,39] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.level3.t3 phase=foreground
+FillRect@s5/c2/e0 rect=[181,71 133x40] color=rgb(255, 255, 136) owner=BlockContainer<DIV>.level3.t4 phase=background
+DrawGlyphRun@s5/c2/e0 font_id=font1 glyphs=3 rect=[181,71 25x16] glyph_bounding_rect=[181,72 29x15] translation=[181,84] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.level3.t4 phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/nested-overflow-containers.txt b/Tests/LibWeb/Text/expected/display_list/nested-overflow-containers.txt
index 312f342dbd2..577aa4d7af2 100644
--- a/Tests/LibWeb/Text/expected/display_list/nested-overflow-containers.txt
+++ b/Tests/LibWeb/Text/expected/display_list/nested-overflow-containers.txt
@@ -15,19 +15,19 @@ ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[10,
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s2 scrollport_rect=[11,11 300x100] min_scroll_offset=[0,0] max_scroll_offset=[100,0] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x175]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x154]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[8,8 204x154]
-FillRoundedRectRing@s1/e0 rect=[8,8 204x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 255)
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s3 rect=[10,10 302x102]
-FillRect@s2/c0/e0 rect=[10,10 302x102] color=rgb(255, 255, 224)
-FillRoundedRectRing@s2/c0/e0 rect=[10,10 302x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(255, 0, 0)
-CompositorWheelHitTestTarget@s3/c1/e0 target_scroll_node_index=s3 rect=[11,11 400x80]
-FillRect@s3/c1/e0 rect=[11,11 400x80] color=rgb(240, 128, 128)
-DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=21 rect=[11,11 178x16] glyph_bounding_rect=[11,12 184x15] translation=[11,24] color=rgb(0, 0, 0)
-CompositorScrollbar@s2/c0/e0 scroll_node_index=s3 thumb_rect=[13,102 222x7] track_rect=[11,102 300x9] expanded_gutter_rect=[11,96 300x15] expanded_thumb_rect=[13,98 222x11] scroll_size=0.74 expanded_scroll_size=0.74 max_scroll_offset=100 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s2/c0/e0 scroll_node_index=s3 thumb_rect=[13,102 222x7] track_rect=[11,102 300x9] expanded_gutter_rect=[11,96 300x15] scroll_size=0.74 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[12,151 130x7] track_rect=[10,151 200x9] expanded_gutter_rect=[10,145 200x15] expanded_thumb_rect=[12,147 130x11] scroll_size=0.6490502450980392 expanded_scroll_size=0.6490502450980392 max_scroll_offset=102 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[12,151 130x7] track_rect=[10,151 200x9] expanded_gutter_rect=[10,145 200x15] scroll_size=0.6490502450980392 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x175] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x154] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[8,8 204x154] owner=BlockContainer<DIV>.outer-scroll phase=scroll-metadata
+FillRoundedRectRing@s1/e0 rect=[8,8 204x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.outer-scroll phase=border
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s3 rect=[10,10 302x102] owner=BlockContainer<DIV>.inner-scroll phase=scroll-metadata
+FillRect@s2/c0/e0 rect=[10,10 302x102] color=rgb(255, 255, 224) owner=BlockContainer<DIV>.inner-scroll phase=background
+FillRoundedRectRing@s2/c0/e0 rect=[10,10 302x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(255, 0, 0) owner=BlockContainer<DIV>.inner-scroll phase=border
+CompositorWheelHitTestTarget@s3/c1/e0 target_scroll_node_index=s3 rect=[11,11 400x80] owner=BlockContainer<DIV>.content phase=scroll-metadata
+FillRect@s3/c1/e0 rect=[11,11 400x80] color=rgb(240, 128, 128) owner=BlockContainer<DIV>.content phase=background
+DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=21 rect=[11,11 178x16] glyph_bounding_rect=[11,12 184x15] translation=[11,24] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.content phase=foreground
+CompositorScrollbar@s2/c0/e0 scroll_node_index=s3 thumb_rect=[13,102 222x7] track_rect=[11,102 300x9] expanded_gutter_rect=[11,96 300x15] expanded_thumb_rect=[13,98 222x11] scroll_size=0.74 expanded_scroll_size=0.74 max_scroll_offset=100 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.inner-scroll phase=overlay
+PaintScrollBar@s2/c0/e0 scroll_node_index=s3 thumb_rect=[13,102 222x7] track_rect=[11,102 300x9] expanded_gutter_rect=[11,96 300x15] scroll_size=0.74 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.inner-scroll phase=overlay
+CompositorScrollbar@s1/e0 scroll_node_index=s2 thumb_rect=[12,151 130x7] track_rect=[10,151 200x9] expanded_gutter_rect=[10,145 200x15] expanded_thumb_rect=[12,147 130x11] scroll_size=0.6490502450980392 expanded_scroll_size=0.6490502450980392 max_scroll_offset=102 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.outer-scroll phase=overlay
+PaintScrollBar@s1/e0 scroll_node_index=s2 thumb_rect=[12,151 130x7] track_rect=[10,151 200x9] expanded_gutter_rect=[10,145 200x15] scroll_size=0.6490502450980392 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.outer-scroll phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/node-names-follow-print-order.txt b/Tests/LibWeb/Text/expected/display_list/node-names-follow-print-order.txt
index e8d50247cbb..c14f65d2d6b 100644
--- a/Tests/LibWeb/Text/expected/display_list/node-names-follow-print-order.txt
+++ b/Tests/LibWeb/Text/expected/display_list/node-names-follow-print-order.txt
@@ -2,9 +2,9 @@ Named in print order:
[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)
[s2] transform=[1,0,0,1,3,0] origin=(33,133) bounds=[8,108 50x50] (BlockContainer<DIV>)
[c0 in s2] clip=[8,108 50x50] (BlockContainer<DIV>)
-FillRect@s2/c0/e0 rect=[8,108 50x50] color=rgb(0, 128, 0)
+FillRect@s2/c0/e0 rect=[8,108 50x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.painted phase=background
Named by index:
[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)
[s4] transform=[1,0,0,1,3,0] origin=(33,133) bounds=[8,108 50x50] (BlockContainer<DIV>)
[c1 in s4] clip=[8,108 50x50] (BlockContainer<DIV>)
-FillRect@s4/c1/e0 rect=[8,108 50x50] color=rgb(0, 128, 0)
+FillRect@s4/c1/e0 rect=[8,108 50x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.painted phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/opaque-background-image-blend.txt b/Tests/LibWeb/Text/expected/display_list/opaque-background-image-blend.txt
index 7491ed18ab9..db4283be55a 100644
--- a/Tests/LibWeb/Text/expected/display_list/opaque-background-image-blend.txt
+++ b/Tests/LibWeb/Text/expected/display_list/opaque-background-image-blend.txt
@@ -6,6 +6,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[0,0 40x40] color=rgb(45, 22, 0)
-DrawScaledDecodedImageFrame@s1/e0 dst_rect=[0,0 40x40] src_rect=[0,0 40x40] frame_id=image1 scaling_mode=Bilinear compositing_and_blending_operator=Multiply isolated_backdrop_color=rgb(45, 22, 0) inline_clips=[clip=[0,0 40x40]]
+FillRect@s1/e0 rect=[0,0 40x40] color=rgb(45, 22, 0) owner=BlockContainer<DIV>#target phase=background
+DrawScaledDecodedImageFrame@s1/e0 dst_rect=[0,0 40x40] src_rect=[0,0 40x40] frame_id=image1 scaling_mode=Bilinear compositing_and_blending_operator=Multiply isolated_backdrop_color=rgb(45, 22, 0) inline_clips=[clip=[0,0 40x40]] owner=BlockContainer<DIV>#target phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt b/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt
index 9ff45c746b9..1bcbce5c7a5 100644
--- a/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt
+++ b/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt
@@ -9,20 +9,20 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]
-FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]
-FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]] owner=BlockContainer<DIV> phase=foreground
+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8) owner=BlockContainer<DIV> phase=foreground
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]] owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextAreaBox<TEXTAREA>#ta phase=outline
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8) owner=BlockContainer<DIV>#txt phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
-- unfocused --
AccumulatedVisualContext Tree:
@@ -35,19 +35,19 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]
-FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(16, 16, 16, 0.667)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-FillRect@s1/e0 rect=[0,23 23x16] color=rgba(16, 16, 16, 0.667)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]] owner=BlockContainer<DIV> phase=foreground
+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(16, 16, 16, 0.667) owner=BlockContainer<DIV> phase=foreground
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]] owner=BlockContainer<DIV> phase=foreground
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(16, 16, 16, 0.667) owner=BlockContainer<DIV>#txt phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
-- focused again --
AccumulatedVisualContext Tree:
@@ -60,20 +60,20 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]
-FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]
-FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]] owner=BlockContainer<DIV> phase=foreground
+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8) owner=BlockContainer<DIV> phase=foreground
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]] owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextAreaBox<TEXTAREA>#ta phase=outline
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8) owner=BlockContainer<DIV>#txt phase=foreground
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
-- caret, focused --
AccumulatedVisualContext Tree:
@@ -86,18 +86,18 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0)
-PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextAreaBox<TEXTAREA>#ta phase=outline
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
-- caret, unfocused --
AccumulatedVisualContext Tree:
@@ -110,16 +110,16 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
-- caret, focused again --
AccumulatedVisualContext Tree:
@@ -132,16 +132,16 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0)
-PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1
-DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA>#ta phase=background
+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA>#ta phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=3 rect=[3,3 24x14] glyph_bounding_rect=[3,4 27x12] translation=[3,14] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextAreaBox<TEXTAREA>#ta phase=outline
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[65,17] to=[67,15] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[64,17] to=[67,14] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[62,17] to=[67,12] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[61,17] to=[67,11] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[59,17] to=[67,9] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[58,17] to=[67,8] thickness=1 owner=TextAreaBox<TEXTAREA>#ta phase=overlay
+DrawGlyphRun@s1/e0 font_id=font2 glyphs=3 rect=[0,23 24x16] glyph_bounding_rect=[0,24 30x15] translation=[0,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#txt phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/patterned-border-on-a-short-side.txt b/Tests/LibWeb/Text/expected/display_list/patterned-border-on-a-short-side.txt
index d0c37aed643..0c5befeb070 100644
--- a/Tests/LibWeb/Text/expected/display_list/patterned-border-on-a-short-side.txt
+++ b/Tests/LibWeb/Text/expected/display_list/patterned-border-on-a-short-side.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s1/e0 path_bounding_rect=[8,31 40x40] path_data=[path: M8 31L8 31L28 51L28 51L48 31L48 31M48 31L48 31L28 51L28 51L48 71L48 71M48 71L48 71L28 51L28 51L8 71L8 71M8 71L8 71L28 51L28 51L8 31L8 31] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,71 40x40] path_data=[path: M8 71L8 71L28 91L28 91L48 71L48 71M48 71L48 71L28 91L28 91L48 111L48 111M48 111L48 111L28 91L28 91L8 111L8 111M8 111L8 111L28 91L28 91L8 71L8 71] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,8 40x20] path_data=[path: M8 8L8 8L28 28L28 28L48 8L48 8] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[48,8 40x20] path_data=[path: M48 8L48 8L68 28L68 28L88 8L88 8] color=rgb(255, 0, 0) winding_rule=EvenOdd
+FillPath@s1/e0 path_bounding_rect=[8,31 40x40] path_data=[path: M8 31L8 31L28 51L28 51L48 31L48 31M48 31L48 31L28 51L28 51L48 71L48 71M48 71L48 71L28 51L28 51L8 71L8 71M8 71L8 71L28 51L28 51L8 31L8 31] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[8,71 40x40] path_data=[path: M8 71L8 71L28 91L28 91L48 71L48 71M48 71L48 71L28 91L28 91L48 111L48 111M48 111L48 111L28 91L28 91L8 111L8 111M8 111L8 111L28 91L28 91L8 71L8 71] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.dotted phase=border
+FillPath@s1/e0 path_bounding_rect=[8,8 40x20] path_data=[path: M8 8L8 8L28 28L28 28L48 8L48 8] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<SPAN> phase=border
+FillPath@s1/e0 path_bounding_rect=[48,8 40x20] path_data=[path: M48 8L48 8L68 28L68 28L88 8L88 8] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<SPAN>.dotted-top phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/patterned-border-sharing-corners.txt b/Tests/LibWeb/Text/expected/display_list/patterned-border-sharing-corners.txt
index b1457c91a98..78bcc28a091 100644
--- a/Tests/LibWeb/Text/expected/display_list/patterned-border-sharing-corners.txt
+++ b/Tests/LibWeb/Text/expected/display_list/patterned-border-sharing-corners.txt
@@ -6,15 +6,15 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,8 160x20] path_data=[path: M8 18L148 18] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,8 140x20], path: M8 8L8 8L28 28L128 28L148 8L148 8] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,28 160x20] path_data=[path: M8 38L148 38] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,28 140x20], path: M8 28L8 28L28 48L128 48L148 28L148 28] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[128,38 20x120] path_data=[path: M138 48L138 148] color=rgb(0, 0, 255) thickness=20 inline_clips=[clip_path=[bounds: [128,48 20x100], path: M148 48L148 48L128 68L128 128L148 148L148 148] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,128 160x20] path_data=[path: M148 138L8 138] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,128 140x20], path: M148 148L148 148L128 128L28 128L8 148L8 148] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[8,38 20x120] path_data=[path: M18 148L18 48] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,48 20x100], path: M8 148L8 148L28 128L28 68L8 48L8 48] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,48 160x20] path_data=[path: M8 58L148 58] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,48 140x20], path: M8 48L8 48L28 68L128 68L148 48L148 48] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 33.333332] dash_offset=16.666666 path_bounding_rect=[128,138 20x120] path_data=[path: M138 148L138 248] color=rgb(0, 0, 255) thickness=20 inline_clips=[clip_path=[bounds: [128,148 20x100], path: M148 148L148 148L128 168L128 228L148 248L148 248] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,228 160x20] path_data=[path: M148 238L8 238] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,228 140x20], path: M148 248L148 248L128 228L28 228L8 248L8 248] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 33.333332] dash_offset=16.666666 path_bounding_rect=[8,138 20x120] path_data=[path: M18 248L18 148] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,148 20x100], path: M8 248L8 248L28 228L28 168L8 148L8 148] winding_rule=EvenOdd]
-StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,148 160x20] path_data=[path: M8 158L148 158] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,148 140x20], path: M8 148L8 148L28 168L128 168L148 148L148 148] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[-2,248 120x20] path_data=[path: M108 258L8 258] color=rgb(255, 0, 0) thickness=20
+StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,8 160x20] path_data=[path: M8 18L148 18] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,8 140x20], path: M8 8L8 8L28 28L128 28L148 8L148 8] winding_rule=EvenOdd] owner=BlockContainer<DIV> phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,28 160x20] path_data=[path: M8 38L148 38] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,28 140x20], path: M8 28L8 28L28 48L128 48L148 28L148 28] winding_rule=EvenOdd] owner=BlockContainer<DIV>.dotted phase=border
+StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[128,38 20x120] path_data=[path: M138 48L138 148] color=rgb(0, 0, 255) thickness=20 inline_clips=[clip_path=[bounds: [128,48 20x100], path: M148 48L148 48L128 68L128 128L148 148L148 148] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,128 160x20] path_data=[path: M148 138L8 138] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,128 140x20], path: M148 148L148 148L128 128L28 128L8 148L8 148] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[8,38 20x120] path_data=[path: M18 148L18 48] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,48 20x100], path: M8 148L8 148L28 128L28 68L8 48L8 48] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 dash_array=[35, 35] dash_offset=17.5 path_bounding_rect=[-2,48 160x20] path_data=[path: M8 58L148 58] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,48 140x20], path: M8 48L8 48L28 68L128 68L148 48L148 48] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 33.333332] dash_offset=16.666666 path_bounding_rect=[128,138 20x120] path_data=[path: M138 148L138 248] color=rgb(0, 0, 255) thickness=20 inline_clips=[clip_path=[bounds: [128,148 20x100], path: M148 148L148 148L128 168L128 228L148 248L148 248] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors.dotted phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,228 160x20] path_data=[path: M148 238L8 238] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,228 140x20], path: M148 248L148 248L128 228L28 228L8 248L8 248] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors.dotted phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 33.333332] dash_offset=16.666666 path_bounding_rect=[8,138 20x120] path_data=[path: M18 248L18 148] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,148 20x100], path: M8 248L8 248L28 228L28 168L8 148L8 148] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors.dotted phase=border
+StrokePath@s1/e0 cap_style=Round dash_array=[0, 35] dash_offset=17.5 path_bounding_rect=[-2,148 160x20] path_data=[path: M8 158L148 158] color=rgb(255, 0, 0) thickness=20 inline_clips=[clip_path=[bounds: [8,148 140x20], path: M8 148L8 148L28 168L128 168L148 148L148 148] winding_rule=EvenOdd] owner=BlockContainer<DIV>.mixed-colors.dotted phase=border
+StrokePath@s1/e0 dash_array=[50, 50] dash_offset=25 path_bounding_rect=[-2,248 120x20] path_data=[path: M108 258L8 258] color=rgb(255, 0, 0) thickness=20 owner=BlockContainer<DIV>.no-neighbours phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/perspective-basic.txt b/Tests/LibWeb/Text/expected/display_list/perspective-basic.txt
index 55d7e020f1e..97cf107a97f 100644
--- a/Tests/LibWeb/Text/expected/display_list/perspective-basic.txt
+++ b/Tests/LibWeb/Text/expected/display_list/perspective-basic.txt
@@ -8,6 +8,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s3/e0 rect=[8,8 100x100] color=rgb(0, 0, 255)
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=2 rect=[8,8 21x16] glyph_bounding_rect=[8,8 22x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s3/e0 rect=[8,8 100x100] color=rgb(0, 0, 255) owner=BlockContainer<DIV>.rotated phase=background
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=2 rect=[8,8 21x16] glyph_bounding_rect=[8,8 22x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.rotated phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/perspective-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/perspective-invalidation.txt
index 6d454e89c70..512bf4befd8 100644
--- a/Tests/LibWeb/Text/expected/display_list/perspective-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/perspective-invalidation.txt
@@ -8,7 +8,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#child phase=background
After perspective change:
AccumulatedVisualContext Tree:
@@ -21,5 +21,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s3/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s3/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#child phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/positioned-with-transformed-ancestor.txt b/Tests/LibWeb/Text/expected/display_list/positioned-with-transformed-ancestor.txt
index 94094004a8c..5602352201c 100644
--- a/Tests/LibWeb/Text/expected/display_list/positioned-with-transformed-ancestor.txt
+++ b/Tests/LibWeb/Text/expected/display_list/positioned-with-transformed-ancestor.txt
@@ -7,8 +7,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 200x200] color=rgb(211, 211, 211)
-FillRect@s2/e0 rect=[8,8 200x90] color=rgb(173, 216, 230)
-FillRect@s2/e0 rect=[33,33 100x50] color=rgb(255, 127, 80)
-DrawGlyphRun@s2/e0 font_id=font1 glyphs=10 rect=[33,33 84x16] glyph_bounding_rect=[33,34 89x15] translation=[33,46] color=rgb(0, 0, 0)
+FillRect@s2/e0 rect=[8,8 200x200] color=rgb(211, 211, 211) owner=BlockContainer<DIV>.transformed-ancestor phase=background
+FillRect@s2/e0 rect=[8,8 200x90] color=rgb(173, 216, 230) owner=BlockContainer<DIV>.intermediate phase=background
+FillRect@s2/e0 rect=[33,33 100x50] color=rgb(255, 127, 80) owner=BlockContainer<DIV>.positioned phase=background
+DrawGlyphRun@s2/e0 font_id=font1 glyphs=10 rect=[33,33 84x16] glyph_bounding_rect=[33,34 89x15] translation=[33,46] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.positioned phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/record-ids-number-nested-records-and-name-layer-records.txt b/Tests/LibWeb/Text/expected/display_list/record-ids-number-nested-records-and-name-layer-records.txt
index ad48959aa5f..b8e3f0f9c8f 100644
--- a/Tests/LibWeb/Text/expected/display_list/record-ids-number-nested-records-and-name-layer-records.txt
+++ b/Tests/LibWeb/Text/expected/display_list/record-ids-number-nested-records-and-name-layer-records.txt
@@ -4,10 +4,10 @@ Layers:
[L2] painted rect=[97,57 306x46] records=#6
DisplayList:
-L0 #1 FillRect@s1/e0 rect=[0,0 300x10] color=rgb(0, 128, 0)
-L1 #2 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear
-L0 #3 DeclareMaskContent@s1/e1 rect=[300,20 50x50] effect=e1
- #4 PaintLinearGradient@s1/e1 gradient_rect=[300,20 50x50] gradient_angle=180 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[300,20 50x50]]
-L0 #5 FillRect@s1/e1 rect=[300,20 50x50] color=rgb(0, 0, 255)
-L2 #6 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5)
+L0 #1 FillRect@s1/e0 rect=[0,0 300x10] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#below phase=background
+L1 #2 DrawCanvas@s1/e0 dst_rect=[20,20 200x120] canvas_id=canvas1 scaling_mode=Bilinear owner=CanvasBox<CANVAS>#canvas phase=foreground
+L0 #3 DeclareMaskContent@s1/e1 rect=[300,20 50x50] effect=e1 owner=BlockContainer<DIV>#masked phase=preamble
+ #4 PaintLinearGradient@s1/e1 gradient_rect=[300,20 50x50] gradient_angle=180 color_stops=[rgb(0, 0, 0) 0, rgba(0, 0, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} inline_clips=[clip=[300,20 50x50]] owner=BlockContainer<DIV>#masked phase=preamble
+L0 #5 FillRect@s1/e1 rect=[300,20 50x50] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#masked phase=background
+L2 #6 FillRect@s1/e0 rect=[100,60 300x40] color=rgba(255, 255, 255, 0.5) owner=BlockContainer<DIV>#over phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/record-owners-and-phases.txt b/Tests/LibWeb/Text/expected/display_list/record-owners-and-phases.txt
new file mode 100644
index 00000000000..53502153309
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/display_list/record-owners-and-phases.txt
@@ -0,0 +1,10 @@
+DisplayList:
+FillRect@s1/e0 rect=[8,8 104x34] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 104x34] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 255) owner=BlockContainer<DIV>#box phase=border
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[10,10 33x16] glyph_bounding_rect=[10,10 39x15] translation=[10,23] color=rgb(0, 0, 0) owner=BlockContainer<DIV>#box phase=foreground
+FillRoundedRectRing@s1/e0 rect=[5,5 110x40] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(255, 0, 0) owner=BlockContainer<DIV>#box phase=outline
+DeclareMaskContent@s2/c0/e1 rect=[-10,-10 120x120] effect=e1 owner=SVGSVGBox<svg> phase=svg
+ FillPath@s2/c0/e1 path_bounding_rect=[0,0 50x50] path_data=[path: M0 0L50 0L50 50L0 50L0 0Z] color=rgb(255, 255, 255) owner=SVGGeometryBox<rect> phase=foreground
+FillPath@s2/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect>#masked phase=foreground
+
+without owners, no record names its owner or phase: true
diff --git a/Tests/LibWeb/Text/expected/display_list/relative-with-inline-transformed-intermediate.txt b/Tests/LibWeb/Text/expected/display_list/relative-with-inline-transformed-intermediate.txt
index 2ee859da2fc..839306fb788 100644
--- a/Tests/LibWeb/Text/expected/display_list/relative-with-inline-transformed-intermediate.txt
+++ b/Tests/LibWeb/Text/expected/display_list/relative-with-inline-transformed-intermediate.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 300x300] color=rgb(211, 211, 211)
-FillRect@s1/e0 rect=[8,8 100x16] color=rgb(173, 216, 230)
-FillRect@s1/e0 rect=[13,13 100x100] color=rgb(255, 127, 80)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[13,13 65x16] glyph_bounding_rect=[13,14 69x15] translation=[13,26] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,8 300x300] color=rgb(211, 211, 211) owner=BlockContainer<DIV>.block-container phase=background
+FillRect@s1/e0 rect=[8,8 100x16] color=rgb(173, 216, 230) owner=BlockContainer<DIV>.block-container phase=inline-piece
+FillRect@s1/e0 rect=[13,13 100x100] color=rgb(255, 127, 80) owner=BlockContainer<SPAN>.relative-child phase=background
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=8 rect=[13,13 65x16] glyph_bounding_rect=[13,14 69x15] translation=[13,26] color=rgb(0, 0, 0) owner=BlockContainer<SPAN>.relative-child phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/repeated-svg-background-is-tile.txt b/Tests/LibWeb/Text/expected/display_list/repeated-svg-background-is-tile.txt
index a81ca5428cc..5e43ca2b7fc 100644
--- a/Tests/LibWeb/Text/expected/display_list/repeated-svg-background-is-tile.txt
+++ b/Tests/LibWeb/Text/expected/display_list/repeated-svg-background-is-tile.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawRepeatedTile@s1/e0 dst_rect=[8,8 20x20] clip_rect=[8,8 120x80] tile_size=[20x20] tile_step=[20x20] scaling_mode=NearestNeighbor repeat={x=true y=true} inline_clips=[clip=[8,8 120x80], clip=[8,8 120x80]]
- PaintVectorImage@s1/e0 vector_image_id=svg1 rect=[0,0 20x20] recorded_size=[20x20]
- FillPath@s1/e0 path_bounding_rect=[0,0 20x20] path_data=[path: M0 0L20 0L20 20L0 20L0 0Z] color=rgb(0, 128, 0)
- FillPath@s1/e0 path_bounding_rect=[5,5 10x10] path_data=[curved path: 129 commands] color=rgb(255, 255, 255)
+DrawRepeatedTile@s1/e0 dst_rect=[8,8 20x20] clip_rect=[8,8 120x80] tile_size=[20x20] tile_step=[20x20] scaling_mode=NearestNeighbor repeat={x=true y=true} inline_clips=[clip=[8,8 120x80], clip=[8,8 120x80]] owner=BlockContainer<DIV>#target phase=background
+ PaintVectorImage@s1/e0 vector_image_id=svg1 rect=[0,0 20x20] recorded_size=[20x20] owner=BlockContainer<DIV>#target phase=background
+ FillPath@s1/e0 path_bounding_rect=[0,0 20x20] path_data=[path: M0 0L20 0L20 20L0 20L0 0Z] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#target phase=background
+ FillPath@s1/e0 path_bounding_rect=[5,5 10x10] path_data=[curved path: 129 commands] color=rgb(255, 255, 255) owner=BlockContainer<DIV>#target phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/root-background-absolutely-positioned-overflow.txt b/Tests/LibWeb/Text/expected/display_list/root-background-absolutely-positioned-overflow.txt
index e922e201d59..c8c6d57ca14 100644
--- a/Tests/LibWeb/Text/expected/display_list/root-background-absolutely-positioned-overflow.txt
+++ b/Tests/LibWeb/Text/expected/display_list/root-background-absolutely-positioned-overflow.txt
@@ -9,6 +9,6 @@ ScrollNodes:
ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[0,2400] is_viewport=true
DisplayList:
-DrawRepeatedTile@s1/e0 dst_rect=[0,0 50x50] clip_rect=[0,0 800x3000] tile_size=[50x50] tile_step=[50x50] scaling_mode=Bilinear repeat={x=true y=true} inline_clips=[clip=[0,0 800x3000]]
- PaintLinearGradient@s1/e0 gradient_rect=[0,0 50x50] gradient_angle=180 repeating_color_stops=[rgb(0, 128, 0) 0, rgb(0, 128, 0) 0.5, rgb(0, 255, 0) 0.5, rgb(0, 255, 0) 1] repeat_length=0.99999994 interpolation_method={rectangular_color_space=Srgb}
+DrawRepeatedTile@s1/e0 dst_rect=[0,0 50x50] clip_rect=[0,0 800x3000] tile_size=[50x50] tile_step=[50x50] scaling_mode=Bilinear repeat={x=true y=true} inline_clips=[clip=[0,0 800x3000]] owner=BlockContainer<HTML> phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[0,0 50x50] gradient_angle=180 repeating_color_stops=[rgb(0, 128, 0) 0, rgb(0, 128, 0) 0.5, rgb(0, 255, 0) 0.5, rgb(0, 255, 0) 1] repeat_length=0.99999994 interpolation_method={rectangular_color_space=Srgb} owner=BlockContainer<HTML> phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/root-background-propagation-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/root-background-propagation-invalidation.txt
index 07e3a088357..f3da030e66d 100644
--- a/Tests/LibWeb/Text/expected/display_list/root-background-propagation-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/root-background-propagation-invalidation.txt
@@ -7,10 +7,10 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s0 rect=[0,0 800x600] color=rgb(0, 128, 0)
-FillRect@s1/e0 rect=[0,0 800x600] color=rgb(0, 128, 0)
-DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x63] clip_rect=[0,0 800x600] tile_size=[800x63] tile_step=[800x63] scaling_mode=Bilinear compositing_and_blending_operator=Multiply repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]]
- PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x63] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb}
+FillRect@s0 rect=[0,0 800x600] color=rgb(0, 128, 0) phase=canvas
+FillRect@s1/e0 rect=[0,0 800x600] color=rgb(0, 128, 0) owner=BlockContainer<HTML> phase=background
+DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x63] clip_rect=[0,0 800x600] tile_size=[800x63] tile_step=[800x63] scaling_mode=Bilinear compositing_and_blending_operator=Multiply repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]] owner=BlockContainer<HTML> phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x63] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} owner=BlockContainer<HTML> phase=background
Painted by the body:
AccumulatedVisualContext Tree:
@@ -21,10 +21,10 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s0 rect=[0,0 800x600] color=rgb(255, 255, 255)
-FillRect@s1/e0 rect=[0,0 800x600] color=rgb(255, 255, 255)
-FillRect@s1/e0 rect=[0,13 800x50] color=rgb(0, 128, 0)
-PaintLinearGradient@s1/e0 gradient_rect=[0,13 800x50] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[0,13 800x50]]
+FillRect@s0 rect=[0,0 800x600] color=rgb(255, 255, 255) phase=canvas
+FillRect@s1/e0 rect=[0,0 800x600] color=rgb(255, 255, 255) owner=BlockContainer<HTML> phase=background
+FillRect@s1/e0 rect=[0,13 800x50] color=rgb(0, 128, 0) owner=BlockContainer<BODY> phase=background
+PaintLinearGradient@s1/e0 gradient_rect=[0,13 800x50] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} compositing_and_blending_operator=Multiply inline_clips=[clip=[0,13 800x50]] owner=BlockContainer<BODY> phase=background
Propagated to the root again:
AccumulatedVisualContext Tree:
@@ -35,8 +35,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s0 rect=[0,0 800x600] color=rgb(0, 128, 0)
-FillRect@s1/e0 rect=[0,0 800x600] color=rgb(0, 128, 0)
-DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x63] clip_rect=[0,0 800x600] tile_size=[800x63] tile_step=[800x63] scaling_mode=Bilinear compositing_and_blending_operator=Multiply repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]]
- PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x63] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb}
+FillRect@s0 rect=[0,0 800x600] color=rgb(0, 128, 0) phase=canvas
+FillRect@s1/e0 rect=[0,0 800x600] color=rgb(0, 128, 0) owner=BlockContainer<HTML> phase=background
+DrawRepeatedTile@s1/e0 dst_rect=[0,0 800x63] clip_rect=[0,0 800x600] tile_size=[800x63] tile_step=[800x63] scaling_mode=Bilinear compositing_and_blending_operator=Multiply repeat={x=true y=true} inline_clips=[clip=[0,0 800x600]] owner=BlockContainer<HTML> phase=background
+ PaintLinearGradient@s1/e0 gradient_rect=[0,0 800x63] gradient_angle=180 color_stops=[rgb(255, 0, 0) 0, rgb(255, 0, 0) 1] repeat_length=1 interpolation_method={rectangular_color_space=Srgb} owner=BlockContainer<HTML> phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/scroll-node-of-box-with-nothing-to-scroll-that-keeps-its-scrolls.txt b/Tests/LibWeb/Text/expected/display_list/scroll-node-of-box-with-nothing-to-scroll-that-keeps-its-scrolls.txt
index c42f67830ca..fc2fb6016a2 100644
--- a/Tests/LibWeb/Text/expected/display_list/scroll-node-of-box-with-nothing-to-scroll-that-keeps-its-scrolls.txt
+++ b/Tests/LibWeb/Text/expected/display_list/scroll-node-of-box-with-nothing-to-scroll-that-keeps-its-scrolls.txt
@@ -13,11 +13,11 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[0,0 100x100] min_scroll_offset=[0,0] max_scroll_offset=[0,0] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 50x50]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,100 100x100]
-CompositorWheelHitTestTarget@s1/c1/e0 target_scroll_node_index=s0 rect=[0,100 50x50]
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x213] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x200] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 100x100] owner=BlockContainer<DIV>#keeps-its-scrolls phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 50x50] owner=BlockContainer<SPAN> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,100 100x100] owner=BlockContainer<DIV>#passes-its-scrolls-on phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/c1/e0 target_scroll_node_index=s0 rect=[0,100 50x50] owner=BlockContainer<SPAN> phase=scroll-metadata
diff --git a/Tests/LibWeb/Text/expected/display_list/scrollable-in-fixed.txt b/Tests/LibWeb/Text/expected/display_list/scrollable-in-fixed.txt
index 02a8f480786..c0343d205d5 100644
--- a/Tests/LibWeb/Text/expected/display_list/scrollable-in-fixed.txt
+++ b/Tests/LibWeb/Text/expected/display_list/scrollable-in-fixed.txt
@@ -12,18 +12,18 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[33,33 180x100] min_scroll_offset=[0,0] max_scroll_offset=[120,100] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13]
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[20,20 204x154]
-FillRect@s0/e0 rect=[20,20 204x154] color=rgb(211, 211, 211)
-FillRoundedRectRing@s0/e0 rect=[20,20 204x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s2 rect=[32,32 182x102]
-FillRoundedRectRing@s0/e0 rect=[32,32 182x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255)
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[33,33 300x200]
-FillRect@s2/c0/e0 rect=[33,33 300x200] color=rgb(240, 128, 128)
-DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=23 rect=[33,33 179x16] glyph_bounding_rect=[33,34 184x15] translation=[33,46] color=rgb(0, 0, 0)
-CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[204,35 7x48] track_rect=[204,33 9x100] expanded_gutter_rect=[198,33 15x100] expanded_thumb_rect=[200,35 11x48] scroll_size=0.48 expanded_scroll_size=0.48 max_scroll_offset=100 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[204,35 7x48] track_rect=[204,33 9x100] expanded_gutter_rect=[198,33 15x100] scroll_size=0.48 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[35,124 97x7] track_rect=[33,124 165x9] expanded_gutter_rect=[33,118 165x15] expanded_thumb_rect=[35,120 97x11] scroll_size=0.53671875 expanded_scroll_size=0.53671875 max_scroll_offset=120 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[35,124 97x7] track_rect=[33,124 165x9] expanded_gutter_rect=[33,118 165x15] scroll_size=0.53671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[20,20 204x154] owner=BlockContainer<DIV>.fixed-box phase=scroll-metadata
+FillRect@s0/e0 rect=[20,20 204x154] color=rgb(211, 211, 211) owner=BlockContainer<DIV>.fixed-box phase=background
+FillRoundedRectRing@s0/e0 rect=[20,20 204x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=BlockContainer<DIV>.fixed-box phase=border
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s2 rect=[32,32 182x102] owner=BlockContainer<DIV>.scroll-container phase=scroll-metadata
+FillRoundedRectRing@s0/e0 rect=[32,32 182x102] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.scroll-container phase=border
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[33,33 300x200] owner=BlockContainer<DIV>.scroll-content phase=scroll-metadata
+FillRect@s2/c0/e0 rect=[33,33 300x200] color=rgb(240, 128, 128) owner=BlockContainer<DIV>.scroll-content phase=background
+DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=23 rect=[33,33 179x16] glyph_bounding_rect=[33,34 184x15] translation=[33,46] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-content phase=foreground
+CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[204,35 7x48] track_rect=[204,33 9x100] expanded_gutter_rect=[198,33 15x100] expanded_thumb_rect=[200,35 11x48] scroll_size=0.48 expanded_scroll_size=0.48 max_scroll_offset=100 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[204,35 7x48] track_rect=[204,33 9x100] expanded_gutter_rect=[198,33 15x100] scroll_size=0.48 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[35,124 97x7] track_rect=[33,124 165x9] expanded_gutter_rect=[33,118 165x15] expanded_thumb_rect=[35,120 97x11] scroll_size=0.53671875 expanded_scroll_size=0.53671875 max_scroll_offset=120 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[35,124 97x7] track_rect=[33,124 165x9] expanded_gutter_rect=[33,118 165x15] scroll_size=0.53671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/selection-highlight-painting-order.txt b/Tests/LibWeb/Text/expected/display_list/selection-highlight-painting-order.txt
index 13116ba98a8..290009e5db5 100644
--- a/Tests/LibWeb/Text/expected/display_list/selection-highlight-painting-order.txt
+++ b/Tests/LibWeb/Text/expected/display_list/selection-highlight-painting-order.txt
@@ -6,16 +6,16 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintTextShadow@s1/e0 font_id=font1 glyphs=1 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36]
-PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36]
-PaintTextShadow@s1/e0 font_id=font1 glyphs=1 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(1, 2, 3) inline_clips=[clip=[0,20 12x18]]
-FillRect@s1/e0 rect=[0,38 12x2] color=rgb(7, 8, 9)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(1, 2, 3) inline_clips=[clip=[44,20 11x18]]
-FillRect@s1/e0 rect=[44,38 11x2] color=rgb(7, 8, 9)
-FillRect@s1/e0 rect=[12,20 32x20] color=rgb(13, 14, 15)
-PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[4,4] rounded_offset=[4,4] color=rgb(16, 17, 18)}] shadows_bounding_rect=[4,24 56x20] rect=[0,20 56x20] translation=[0,36]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(10, 11, 12) inline_clips=[clip=[12,20 32x18]]
-FillRect@s1/e0 rect=[12,38 32x2] color=rgb(10, 11, 12)
-FillRect@s1/e0 rect=[12,28 32x2] color=rgb(19, 20, 21)
+PaintTextShadow@s1/e0 font_id=font1 glyphs=1 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36] owner=BlockContainer<P>#target phase=foreground
+PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36] owner=BlockContainer<P>#target phase=foreground
+PaintTextShadow@s1/e0 font_id=font1 glyphs=1 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(4, 5, 6)}] shadows_bounding_rect=[2,22 56x20] rect=[0,20 56x20] translation=[0,36] owner=BlockContainer<P>#target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(1, 2, 3) inline_clips=[clip=[0,20 12x18]] owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[0,38 12x2] color=rgb(7, 8, 9) owner=BlockContainer<P>#target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(1, 2, 3) inline_clips=[clip=[44,20 11x18]] owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[44,38 11x2] color=rgb(7, 8, 9) owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[12,20 32x20] color=rgb(13, 14, 15) owner=BlockContainer<P>#target phase=foreground
+PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[4,4] rounded_offset=[4,4] color=rgb(16, 17, 18)}] shadows_bounding_rect=[4,24 56x20] rect=[0,20 56x20] translation=[0,36] owner=BlockContainer<P>#target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[0,20 56x20] glyph_bounding_rect=[0,20 61x18] translation=[0,36] color=rgb(10, 11, 12) inline_clips=[clip=[12,20 32x18]] owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[12,38 32x2] color=rgb(10, 11, 12) owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[12,28 32x2] color=rgb(19, 20, 21) owner=BlockContainer<P>#target phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/selection-vertical-writing-mode.txt b/Tests/LibWeb/Text/expected/display_list/selection-vertical-writing-mode.txt
index e1338c6f2df..3d179452add 100644
--- a/Tests/LibWeb/Text/expected/display_list/selection-vertical-writing-mode.txt
+++ b/Tests/LibWeb/Text/expected/display_list/selection-vertical-writing-mode.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,0 18x12]]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,44 18x11]]
-FillRect@s1/e0 rect=[760,12 20x32] color=rgb(1, 2, 3)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,12 18x32]]
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,0 18x12]] owner=BlockContainer<P>#target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,44 18x11]] owner=BlockContainer<P>#target phase=foreground
+FillRect@s1/e0 rect=[760,12 20x32] color=rgb(1, 2, 3) owner=BlockContainer<P>#target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[760,0 20x56] glyph_bounding_rect=[762,0 18x61] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical inline_clips=[clip=[762,12 18x32]] owner=BlockContainer<P>#target phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/sibling-overflow-containers.txt b/Tests/LibWeb/Text/expected/display_list/sibling-overflow-containers.txt
index 0b19babe975..d6dd3e29d7b 100644
--- a/Tests/LibWeb/Text/expected/display_list/sibling-overflow-containers.txt
+++ b/Tests/LibWeb/Text/expected/display_list/sibling-overflow-containers.txt
@@ -15,10 +15,10 @@ ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[9,9
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s0 scrollport_rect=[131,9 100x80] min_scroll_offset=[0,0] max_scroll_offset=[50,40] is_viewport=false
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 102x82] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 0)
-FillRect@s2/c0/e0 rect=[9,9 150x120] color=rgb(240, 128, 128)
-DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=13 rect=[9,9 110x16] glyph_bounding_rect=[9,10 111x15] translation=[9,22] color=rgb(0, 0, 0)
-FillRoundedRectRing@s1/e0 rect=[130,8 102x82] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 0)
-FillRect@s3/c1/e0 rect=[131,9 150x120] color=rgb(144, 238, 144)
-DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=14 rect=[131,9 119x16] glyph_bounding_rect=[131,10 120x15] translation=[131,22] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[8,8 102x82] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-box phase=border
+FillRect@s2/c0/e0 rect=[9,9 150x120] color=rgb(240, 128, 128) owner=BlockContainer<DIV>.content.red phase=background
+DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=13 rect=[9,9 110x16] glyph_bounding_rect=[9,10 111x15] translation=[9,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.content.red phase=foreground
+FillRoundedRectRing@s1/e0 rect=[130,8 102x82] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-box phase=border
+FillRect@s3/c1/e0 rect=[131,9 150x120] color=rgb(144, 238, 144) owner=BlockContainer<DIV>.content.green phase=background
+DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=14 rect=[131,9 119x16] glyph_bounding_rect=[131,10 120x15] translation=[131,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.content.green phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/sibling-scrollables-in-fixed.txt b/Tests/LibWeb/Text/expected/display_list/sibling-scrollables-in-fixed.txt
index 5c355686473..65e6adedd08 100644
--- a/Tests/LibWeb/Text/expected/display_list/sibling-scrollables-in-fixed.txt
+++ b/Tests/LibWeb/Text/expected/display_list/sibling-scrollables-in-fixed.txt
@@ -18,36 +18,36 @@ ScrollNode scroll_node_index=s3 parent_scroll_node_index=s0 scrollport_rect=[126
ScrollNode scroll_node_index=s4 parent_scroll_node_index=s0 scrollport_rect=[230,23 91x150] min_scroll_offset=[0,0] max_scroll_offset=[108.671875,150] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13]
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[10,10 324x224]
-FillRect@s0/e0 rect=[10,10 324x224] color=rgb(211, 211, 211)
-FillRoundedRectRing@s0/e0 rect=[10,10 324x224] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s2 rect=[22,22 93.328125x152]
-FillRoundedRectRing@s0/e0 rect=[22,22 93x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255)
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[23,23 200x300]
-FillRect@s2/c0/e0 rect=[23,23 200x300] color=rgb(240, 128, 128)
-DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=8 rect=[23,23 71x16] glyph_bounding_rect=[23,24 70x15] translation=[23,36] color=rgb(0, 0, 0)
-CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[105,25 7x73] track_rect=[105,23 9x150] expanded_gutter_rect=[99,23 15x150] expanded_thumb_rect=[101,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[105,25 7x73] track_rect=[105,23 9x150] expanded_gutter_rect=[99,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[25,164 33x7] track_rect=[23,164 76x9] expanded_gutter_rect=[23,158 76x15] expanded_thumb_rect=[25,160 33x11] scroll_size=0.3617541337167505 expanded_scroll_size=0.3617541337167505 max_scroll_offset=108.671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[25,164 33x7] track_rect=[23,164 76x9] expanded_gutter_rect=[23,158 76x15] scroll_size=0.3617541337167505 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s3 rect=[125.328125,22 93.34375x152]
-FillRoundedRectRing@s0/e0 rect=[125,22 94x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255)
-CompositorWheelHitTestTarget@s3/c1/e0 target_scroll_node_index=s3 rect=[126.328125,23 200x300]
-FillRect@s3/c1/e0 rect=[126,23 200x300] color=rgb(144, 238, 144)
-DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=8 rect=[126,23 67x16] glyph_bounding_rect=[126,24 70x15] translation=[126.328125,36] color=rgb(0, 0, 0)
-CompositorScrollbar@s0/e0 scroll_node_index=s3 thumb_rect=[209,25 7x73] track_rect=[209,23 9x150] expanded_gutter_rect=[203,23 15x150] expanded_thumb_rect=[205,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s0/e0 scroll_node_index=s3 thumb_rect=[209,25 7x73] track_rect=[209,23 9x150] expanded_gutter_rect=[203,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s0/e0 scroll_node_index=s3 thumb_rect=[128,164 33x7] track_rect=[126,164 77x9] expanded_gutter_rect=[126,158 77x15] expanded_thumb_rect=[128,160 33x11] scroll_size=0.36180615473109 expanded_scroll_size=0.36180615473109 max_scroll_offset=108.65625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s0/e0 scroll_node_index=s3 thumb_rect=[128,164 33x7] track_rect=[126,164 77x9] expanded_gutter_rect=[126,158 77x15] scroll_size=0.36180615473109 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s4 rect=[228.67188,22 93.328125x152]
-FillRoundedRectRing@s0/e0 rect=[229,22 93x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255)
-CompositorWheelHitTestTarget@s4/c2/e0 target_scroll_node_index=s4 rect=[229.67188,23 200x300]
-FillRect@s4/c2/e0 rect=[230,23 200x300] color=rgb(173, 216, 230)
-DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=8 rect=[229,23 68x16] glyph_bounding_rect=[230,24 70x15] translation=[229.67188,36] color=rgb(0, 0, 0)
-CompositorScrollbar@s0/e0 scroll_node_index=s4 thumb_rect=[312,25 7x73] track_rect=[312,23 9x150] expanded_gutter_rect=[306,23 15x150] expanded_thumb_rect=[308,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s0/e0 scroll_node_index=s4 thumb_rect=[312,25 7x73] track_rect=[312,23 9x150] expanded_gutter_rect=[306,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-CompositorScrollbar@s0/e0 scroll_node_index=s4 thumb_rect=[232,164 33x7] track_rect=[230,164 76x9] expanded_gutter_rect=[230,158 76x15] expanded_thumb_rect=[232,160 33x11] scroll_size=0.3617541337167505 expanded_scroll_size=0.3617541337167505 max_scroll_offset=108.671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
-PaintScrollBar@s0/e0 scroll_node_index=s4 thumb_rect=[232,164 33x7] track_rect=[230,164 76x9] expanded_gutter_rect=[230,158 76x15] scroll_size=0.3617541337167505 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098)
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x13] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[10,10 324x224] owner=Box<DIV>.fixed-box phase=scroll-metadata
+FillRect@s0/e0 rect=[10,10 324x224] color=rgb(211, 211, 211) owner=Box<DIV>.fixed-box phase=background
+FillRoundedRectRing@s0/e0 rect=[10,10 324x224] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=Box<DIV>.fixed-box phase=border
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s2 rect=[22,22 93.328125x152] owner=BlockContainer<DIV>.scroll-container phase=scroll-metadata
+FillRoundedRectRing@s0/e0 rect=[22,22 93x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.scroll-container phase=border
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[23,23 200x300] owner=BlockContainer<DIV>.scroll-content.red phase=scroll-metadata
+FillRect@s2/c0/e0 rect=[23,23 200x300] color=rgb(240, 128, 128) owner=BlockContainer<DIV>.scroll-content.red phase=background
+DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=8 rect=[23,23 71x16] glyph_bounding_rect=[23,24 70x15] translation=[23,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-content.red phase=foreground
+CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[105,25 7x73] track_rect=[105,23 9x150] expanded_gutter_rect=[99,23 15x150] expanded_thumb_rect=[101,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[105,25 7x73] track_rect=[105,23 9x150] expanded_gutter_rect=[99,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorScrollbar@s0/e0 scroll_node_index=s2 thumb_rect=[25,164 33x7] track_rect=[23,164 76x9] expanded_gutter_rect=[23,158 76x15] expanded_thumb_rect=[25,160 33x11] scroll_size=0.3617541337167505 expanded_scroll_size=0.3617541337167505 max_scroll_offset=108.671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s2 thumb_rect=[25,164 33x7] track_rect=[23,164 76x9] expanded_gutter_rect=[23,158 76x15] scroll_size=0.3617541337167505 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s3 rect=[125.328125,22 93.34375x152] owner=BlockContainer<DIV>.scroll-container phase=scroll-metadata
+FillRoundedRectRing@s0/e0 rect=[125,22 94x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.scroll-container phase=border
+CompositorWheelHitTestTarget@s3/c1/e0 target_scroll_node_index=s3 rect=[126.328125,23 200x300] owner=BlockContainer<DIV>.scroll-content.green phase=scroll-metadata
+FillRect@s3/c1/e0 rect=[126,23 200x300] color=rgb(144, 238, 144) owner=BlockContainer<DIV>.scroll-content.green phase=background
+DrawGlyphRun@s3/c1/e0 font_id=font1 glyphs=8 rect=[126,23 67x16] glyph_bounding_rect=[126,24 70x15] translation=[126.328125,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-content.green phase=foreground
+CompositorScrollbar@s0/e0 scroll_node_index=s3 thumb_rect=[209,25 7x73] track_rect=[209,23 9x150] expanded_gutter_rect=[203,23 15x150] expanded_thumb_rect=[205,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s3 thumb_rect=[209,25 7x73] track_rect=[209,23 9x150] expanded_gutter_rect=[203,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorScrollbar@s0/e0 scroll_node_index=s3 thumb_rect=[128,164 33x7] track_rect=[126,164 77x9] expanded_gutter_rect=[126,158 77x15] expanded_thumb_rect=[128,160 33x11] scroll_size=0.36180615473109 expanded_scroll_size=0.36180615473109 max_scroll_offset=108.65625 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s3 thumb_rect=[128,164 33x7] track_rect=[126,164 77x9] expanded_gutter_rect=[126,158 77x15] scroll_size=0.36180615473109 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s4 rect=[228.67188,22 93.328125x152] owner=BlockContainer<DIV>.scroll-container phase=scroll-metadata
+FillRoundedRectRing@s0/e0 rect=[229,22 93x152] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.scroll-container phase=border
+CompositorWheelHitTestTarget@s4/c2/e0 target_scroll_node_index=s4 rect=[229.67188,23 200x300] owner=BlockContainer<DIV>.scroll-content.blue phase=scroll-metadata
+FillRect@s4/c2/e0 rect=[230,23 200x300] color=rgb(173, 216, 230) owner=BlockContainer<DIV>.scroll-content.blue phase=background
+DrawGlyphRun@s4/c2/e0 font_id=font1 glyphs=8 rect=[229,23 68x16] glyph_bounding_rect=[230,24 70x15] translation=[229.67188,36] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.scroll-content.blue phase=foreground
+CompositorScrollbar@s0/e0 scroll_node_index=s4 thumb_rect=[312,25 7x73] track_rect=[312,23 9x150] expanded_gutter_rect=[306,23 15x150] expanded_thumb_rect=[308,25 11x73] scroll_size=0.4866666666666667 expanded_scroll_size=0.4866666666666667 max_scroll_offset=150 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s4 thumb_rect=[312,25 7x73] track_rect=[312,23 9x150] expanded_gutter_rect=[306,23 15x150] scroll_size=0.4866666666666667 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>.scroll-container phase=overlay
+CompositorScrollbar@s0/e0 scroll_node_index=s4 thumb_rect=[232,164 33x7] track_rect=[230,164 76x9] expanded_gutter_rect=[230,158 76x15] expanded_thumb_rect=[232,160 33x11] scroll_size=0.3617541337167505 expanded_scroll_size=0.3617541337167505 max_scroll_offset=108.671875 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
+PaintScrollBar@s0/e0 scroll_node_index=s4 thumb_rect=[232,164 33x7] track_rect=[230,164 76x9] expanded_gutter_rect=[230,158 76x15] scroll_size=0.3617541337167505 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) owner=BlockContainer<DIV>.scroll-container phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/sibling-transforms.txt b/Tests/LibWeb/Text/expected/display_list/sibling-transforms.txt
index 44f3ca062ed..e7715706c2e 100644
--- a/Tests/LibWeb/Text/expected/display_list/sibling-transforms.txt
+++ b/Tests/LibWeb/Text/expected/display_list/sibling-transforms.txt
@@ -8,8 +8,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 80x80] color=rgb(255, 0, 0)
-DrawGlyphRun@s2/e0 font_id=font1 glyphs=1 rect=[8,8 15x16] glyph_bounding_rect=[8,8 13x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s3/e0 rect=[98,8 80x80] color=rgb(0, 0, 255)
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=1 rect=[98,8 10x16] glyph_bounding_rect=[98,8 13x15] translation=[98,21] color=rgb(0, 0, 0)
+FillRect@s2/e0 rect=[8,8 80x80] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.box.left phase=background
+DrawGlyphRun@s2/e0 font_id=font1 glyphs=1 rect=[8,8 15x16] glyph_bounding_rect=[8,8 13x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box.left phase=foreground
+FillRect@s3/e0 rect=[98,8 80x80] color=rgb(0, 0, 255) owner=BlockContainer<DIV>.box.right phase=background
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=1 rect=[98,8 10x16] glyph_bounding_rect=[98,8 13x15] translation=[98,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box.right phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/simple-overflow-hidden.txt b/Tests/LibWeb/Text/expected/display_list/simple-overflow-hidden.txt
index 0eaab25534e..0d5b80dbfe4 100644
--- a/Tests/LibWeb/Text/expected/display_list/simple-overflow-hidden.txt
+++ b/Tests/LibWeb/Text/expected/display_list/simple-overflow-hidden.txt
@@ -12,7 +12,7 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[10,10 200x100] min_scroll_offset=[0,0] max_scroll_offset=[100,50] is_viewport=false
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 204x104] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-FillRect@s2/c0/e0 rect=[10,10 300x150] color=rgb(240, 128, 128)
-DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=4 rect=[10,10 38x16] glyph_bounding_rect=[10,10 44x15] translation=[10,23] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[8,8 204x104] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=BlockContainer<DIV>.container phase=border
+FillRect@s2/c0/e0 rect=[10,10 300x150] color=rgb(240, 128, 128) owner=BlockContainer<DIV>.inner-box phase=background
+DrawGlyphRun@s2/c0/e0 font_id=font1 glyphs=4 rect=[10,10 38x16] glyph_bounding_rect=[10,10 44x15] translation=[10,23] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.inner-box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/solid-border-edge-before-a-groove-edge.txt b/Tests/LibWeb/Text/expected/display_list/solid-border-edge-before-a-groove-edge.txt
index 201c20e523a..9fc2a192b05 100644
--- a/Tests/LibWeb/Text/expected/display_list/solid-border-edge-before-a-groove-edge.txt
+++ b/Tests/LibWeb/Text/expected/display_list/solid-border-edge-before-a-groove-edge.txt
@@ -6,11 +6,11 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s1/e0 path_bounding_rect=[8,8 140x20] path_data=[path: M8 8L8 8L28 28L128 28L148 8L148 8] color=rgb(48, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[138,8 10x100] path_data=[path: M148 8L148 8L138 18L138 98L148 108L148 108] color=rgb(133, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[128,18 10x80] path_data=[path: M138 18L138 18L128 28L128 88L138 98L138 98] color=rgb(48, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,98 140x10] path_data=[path: M148 108L148 108L138 98L18 98L8 108L8 108] color=rgb(133, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[18,88 120x10] path_data=[path: M138 98L138 98L128 88L28 88L18 98L18 98] color=rgb(48, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,8 10x100] path_data=[path: M8 108L8 108L18 98L18 18L8 8L8 8] color=rgb(48, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[18,18 10x80] path_data=[path: M18 98L18 98L28 88L28 28L18 18L18 18] color=rgb(133, 0, 0) winding_rule=EvenOdd
+FillPath@s1/e0 path_bounding_rect=[8,8 140x20] path_data=[path: M8 8L8 8L28 28L128 28L148 8L148 8] color=rgb(48, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[138,8 10x100] path_data=[path: M148 8L148 8L138 18L138 98L148 108L148 108] color=rgb(133, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[128,18 10x80] path_data=[path: M138 18L138 18L128 28L128 88L138 98L138 98] color=rgb(48, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[8,98 140x10] path_data=[path: M148 108L148 108L138 98L18 98L8 108L8 108] color=rgb(133, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[18,88 120x10] path_data=[path: M138 98L138 98L128 88L28 88L18 98L18 98] color=rgb(48, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[8,8 10x100] path_data=[path: M8 108L8 108L18 98L18 18L8 8L8 8] color=rgb(48, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
+FillPath@s1/e0 path_bounding_rect=[18,18 10x80] path_data=[path: M18 98L18 98L28 88L28 28L18 18L18 18] color=rgb(133, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV> phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/solid-border-edges-with-a-dashed-edge.txt b/Tests/LibWeb/Text/expected/display_list/solid-border-edges-with-a-dashed-edge.txt
index af2547df124..5815a8e8680 100644
--- a/Tests/LibWeb/Text/expected/display_list/solid-border-edges-with-a-dashed-edge.txt
+++ b/Tests/LibWeb/Text/expected/display_list/solid-border-edges-with-a-dashed-edge.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s1/e0 path_bounding_rect=[8,8 120x80] path_data=[path: M8 8L8 8L18 18L118 18L128 8L128 8M128 8L128 8L118 18L118 78L128 88L128 88M128 88L128 88L118 78L18 78L8 88L8 88] color=rgb(255, 0, 0) winding_rule=EvenOdd
-StrokePath@s1/e0 dash_array=[20, 20] dash_offset=10 path_bounding_rect=[8,3 10x90] path_data=[path: M13 88L13 8] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,8 10x80], path: M8 88L8 88L18 78L18 18L8 8L8 8] winding_rule=EvenOdd]
-StrokePath@s1/e0 dash_array=[20, 20] dash_offset=10 path_bounding_rect=[3,88 130x10] path_data=[path: M8 93L128 93] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,88 120x10], path: M8 88L8 88L18 98L118 98L128 88L128 88] winding_rule=EvenOdd]
-FillPath@s1/e0 path_bounding_rect=[8,88 120x80] path_data=[path: M128 88L128 88L118 98L118 158L128 168L128 168M128 168L128 168L118 158L18 158L8 168L8 168M8 168L8 168L18 158L18 98L8 88L8 88] color=rgb(255, 0, 0) winding_rule=EvenOdd
+FillPath@s1/e0 path_bounding_rect=[8,8 120x80] path_data=[path: M8 8L8 8L18 18L118 18L128 8L128 8M128 8L128 8L118 18L118 78L128 88L128 88M128 88L128 88L118 78L18 78L8 88L8 88] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.last-edge-dashed phase=border
+StrokePath@s1/e0 dash_array=[20, 20] dash_offset=10 path_bounding_rect=[8,3 10x90] path_data=[path: M13 88L13 8] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,8 10x80], path: M8 88L8 88L18 78L18 18L8 8L8 8] winding_rule=EvenOdd] owner=BlockContainer<DIV>.last-edge-dashed phase=border
+StrokePath@s1/e0 dash_array=[20, 20] dash_offset=10 path_bounding_rect=[3,88 130x10] path_data=[path: M8 93L128 93] color=rgb(255, 0, 0) thickness=10 inline_clips=[clip_path=[bounds: [8,88 120x10], path: M8 88L8 88L18 98L118 98L128 88L128 88] winding_rule=EvenOdd] owner=BlockContainer<DIV>.first-edge-dashed phase=border
+FillPath@s1/e0 path_bounding_rect=[8,88 120x80] path_data=[path: M128 88L128 88L118 98L118 158L128 168L128 168M128 168L128 168L118 158L18 158L8 168L8 168M8 168L8 168L18 158L18 98L8 88L8 88] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.first-edge-dashed phase=border
diff --git a/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-mask-after-relayout.txt b/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-mask-after-relayout.txt
index 4a42484709d..46fd5f097b5 100644
--- a/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-mask-after-relayout.txt
+++ b/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-mask-after-relayout.txt
@@ -12,7 +12,7 @@ AccumulatedVisualContext Tree:
[e1 in s3 out=c0] mask=[-10,-10 120x120] kind=luminance origin=svg-mask (SVGForeignObjectBox<foreignObject>#fo)
DisplayList:
-DeclareMaskContent@s3/c0/e1 rect=[-10,-10 120x120] effect=e1
- FillPath@s3/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[curved path: 129 commands] color=rgb(255, 255, 255)
-FillRect@s3/c1/e1 rect=[0,0 100x100] color=rgb(0, 0, 0)
+DeclareMaskContent@s3/c0/e1 rect=[-10,-10 120x120] effect=e1 owner=SVGForeignObjectBox<foreignObject>#fo phase=preamble
+ FillPath@s3/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[curved path: 129 commands] color=rgb(255, 255, 255) owner=SVGGeometryBox<circle> phase=foreground
+FillRect@s3/c1/e1 rect=[0,0 100x100] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-scroller-after-relayout.txt b/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-scroller-after-relayout.txt
index 26e64784c94..3024185a2bf 100644
--- a/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-scroller-after-relayout.txt
+++ b/Tests/LibWeb/Text/expected/display_list/svg-foreignobject-scroller-after-relayout.txt
@@ -15,16 +15,16 @@ ScrollNodes:
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s0 scrollport_rect=[0,0 80x80] min_scroll_offset=[0,0] max_scroll_offset=[0,220] is_viewport=false
DisplayList:
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x124]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x103]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x103]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 100x100]
-StrokePath@s2/c0/e0 path_bounding_rect=[9.5,9.5 81x81] path_data=[path: M10 10L90 90] color=rgb(0, 0, 0) thickness=1
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s0 rect=[0,0 100x100]
-CompositorWheelHitTestTarget@s2/c1/e0 target_scroll_node_index=s3 rect=[0,0 80x80]
-CompositorWheelHitTestTarget@s3/c2/e0 target_scroll_node_index=s3 rect=[0,0 80x300]
-FillRect@s3/c2/e0 rect=[0,0 80x300] color=rgb(0, 0, 0)
-CompositorScrollbar@s2/c1/e0 scroll_node_index=s3 thumb_rect=[71,2 7x24] track_rect=[71,0 9x80] expanded_gutter_rect=[65,0 15x80] expanded_thumb_rect=[67,2 11x24] scroll_size=0.23636363636363636 expanded_scroll_size=0.23636363636363636 max_scroll_offset=220 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
-PaintScrollBar@s2/c1/e0 scroll_node_index=s3 thumb_rect=[71,2 7x24] track_rect=[71,0 9x80] expanded_gutter_rect=[65,0 15x80] scroll_size=0.23636363636363636 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x124] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x103] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 784x103] owner=BlockContainer(anonymous) phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[8,8 100x100] owner=SVGSVGBox<svg> phase=scroll-metadata
+StrokePath@s2/c0/e0 path_bounding_rect=[9.5,9.5 81x81] path_data=[path: M10 10L90 90] color=rgb(0, 0, 0) thickness=1 owner=SVGGeometryBox<path>#p phase=foreground
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s0 rect=[0,0 100x100] owner=SVGForeignObjectBox<foreignObject> phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c1/e0 target_scroll_node_index=s3 rect=[0,0 80x80] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s3/c2/e0 target_scroll_node_index=s3 rect=[0,0 80x300] owner=BlockContainer<DIV> phase=scroll-metadata
+FillRect@s3/c2/e0 rect=[0,0 80x300] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=background
+CompositorScrollbar@s2/c1/e0 scroll_node_index=s3 thumb_rect=[71,2 7x24] track_rect=[71,0 9x80] expanded_gutter_rect=[65,0 15x80] expanded_thumb_rect=[67,2 11x24] scroll_size=0.23636363636363636 expanded_scroll_size=0.23636363636363636 max_scroll_offset=220 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
+PaintScrollBar@s2/c1/e0 scroll_node_index=s3 thumb_rect=[71,2 7x24] track_rect=[71,0 9x80] expanded_gutter_rect=[65,0 15x80] scroll_size=0.23636363636363636 thumb_color=rgba(0, 0, 0, 0.5) thumb_outline_color=rgba(255, 255, 255, 0.25) track_color=rgba(0, 0, 0, 0.098) vertical=true owner=BlockContainer<DIV>#scroller phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/svg-in-img-is-recorded-without-visual-contexts.txt b/Tests/LibWeb/Text/expected/display_list/svg-in-img-is-recorded-without-visual-contexts.txt
index 9c1536f9642..f87d212b2f9 100644
--- a/Tests/LibWeb/Text/expected/display_list/svg-in-img-is-recorded-without-visual-contexts.txt
+++ b/Tests/LibWeb/Text/expected/display_list/svg-in-img-is-recorded-without-visual-contexts.txt
@@ -6,12 +6,12 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintVectorImage@s1/e0 vector_image_id=svg1 rect=[8,13 300x200] recorded_size=[300x200]
- FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(255, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575]
- FillPath@s1/e0 path_bounding_rect=[0,100 100x100] path_data=[path: M0 100L100 100L100 200L0 200L0 100Z] color=rgb(255, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575]
- DrawIsolatedGroup@s1/e0 clip_rect=[0,0 300x200] inline_clips=[clip_path=[bounds: [4,10 55x56], path: M9.0903902 10.833505L58.900124 15.191292L54.542339 65.00103L4.7326026 60.643242L9.0903902 10.833505Z]]
- FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575]
- FillPath@s1/e0 path_bounding_rect=[0,100 100x100] path_data=[path: M0 100L100 100L100 200L0 200L0 100Z] color=rgb(0, 0, 255) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575]
+PaintVectorImage@s1/e0 vector_image_id=svg1 rect=[8,13 300x200] recorded_size=[300x200] owner=ImageBox<IMG> phase=foreground
+ FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(255, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575] owner=ImageBox<IMG> phase=foreground
+ FillPath@s1/e0 path_bounding_rect=[0,100 100x100] path_data=[path: M0 100L100 100L100 200L0 200L0 100Z] color=rgb(255, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575] owner=ImageBox<IMG> phase=foreground
+ DrawIsolatedGroup@s1/e0 clip_rect=[0,0 300x200] inline_clips=[clip_path=[bounds: [4,10 55x56], path: M9.0903902 10.833505L58.900124 15.191292L54.542339 65.00103L4.7326026 60.643242L9.0903902 10.833505Z]] owner=ImageBox<IMG> phase=foreground
+ FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 128, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575] owner=ImageBox<IMG> phase=foreground
+ FillPath@s1/e0 path_bounding_rect=[0,100 100x100] path_data=[path: M0 100L100 100L100 200L0 200L0 100Z] color=rgb(0, 0, 255) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.961947,0.8715575] owner=ImageBox<IMG> phase=foreground
Mask:
- FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.09039,10.833505]
+ FillPath@s1/e0 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(0, 0, 0) inline_transform=[0.49809736,0.043577872,-0.043577872,0.49809736,9.09039,10.833505] owner=ImageBox<IMG> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/svg-overflow-on-inner-elements.txt b/Tests/LibWeb/Text/expected/display_list/svg-overflow-on-inner-elements.txt
index 654a63cf077..837ecd96a45 100644
--- a/Tests/LibWeb/Text/expected/display_list/svg-overflow-on-inner-elements.txt
+++ b/Tests/LibWeb/Text/expected/display_list/svg-overflow-on-inner-elements.txt
@@ -9,5 +9,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillPath@s2/c0/e0 path_bounding_rect=[10,10 100x100] path_data=[path: M10 10L110 10L110 110L10 110L10 10Z] color=rgb(0, 128, 0)
+FillPath@s2/c0/e0 path_bounding_rect=[10,10 100x100] path_data=[path: M10 10L110 10L110 110L10 110L10 10Z] color=rgb(0, 128, 0) owner=SVGGeometryBox<rect> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/svg-transform-with-opacity.txt b/Tests/LibWeb/Text/expected/display_list/svg-transform-with-opacity.txt
index ddb2a0b2a4d..a875ada6a7f 100644
--- a/Tests/LibWeb/Text/expected/display_list/svg-transform-with-opacity.txt
+++ b/Tests/LibWeb/Text/expected/display_list/svg-transform-with-opacity.txt
@@ -11,5 +11,5 @@ AccumulatedVisualContext Tree:
[e1 in s2 out=c0] effects=[opacity=0.5] (SVGGeometryBox<rect>)
DisplayList:
-FillPath@s3/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(255, 0, 0)
+FillPath@s3/c0/e1 path_bounding_rect=[0,0 100x100] path_data=[path: M0 0L100 0L100 100L0 100L0 0Z] color=rgb(255, 0, 0) owner=SVGGeometryBox<rect> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/text-decoration-thin-lines-cover-whole-pixels.txt b/Tests/LibWeb/Text/expected/display_list/text-decoration-thin-lines-cover-whole-pixels.txt
index 82901e8e999..5e99bec2739 100644
--- a/Tests/LibWeb/Text/expected/display_list/text-decoration-thin-lines-cover-whole-pixels.txt
+++ b/Tests/LibWeb/Text/expected/display_list/text-decoration-thin-lines-cover-whole-pixels.txt
@@ -6,11 +6,11 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,14 45x14] glyph_bounding_rect=[8,14 48x13] translation=[8,25] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,27 44x1] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,29 44x1] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,42 43x14] glyph_bounding_rect=[8,42 47x13] translation=[8,53] color=rgb(0, 0, 0)
-StrokePath@s1/e0 dash_array=[1, 1] path_bounding_rect=[7.5,55 43x1] path_data=[path: M8 55.5L50 55.5] color=rgb(0, 0, 0) thickness=1
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,70 46x14] glyph_bounding_rect=[8,70 51x13] translation=[8,81] color=rgb(0, 0, 0)
-StrokePath@s1/e0 dash_array=[2, 2] path_bounding_rect=[7.5,83 47x1] path_data=[path: M8 83.5L54 83.5] color=rgb(0, 0, 0) thickness=1
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,14 45x14] glyph_bounding_rect=[8,14 48x13] translation=[8,25] color=rgb(0, 0, 0) owner=BlockContainer<P> phase=text-fragment
+FillRect@s1/e0 rect=[8,27 44x1] color=rgb(0, 0, 0) owner=BlockContainer<P> phase=text-fragment
+FillRect@s1/e0 rect=[8,29 44x1] color=rgb(0, 0, 0) owner=BlockContainer<P> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,42 43x14] glyph_bounding_rect=[8,42 47x13] translation=[8,53] color=rgb(0, 0, 0) owner=BlockContainer<P> phase=text-fragment
+StrokePath@s1/e0 dash_array=[1, 1] path_bounding_rect=[7.5,55 43x1] path_data=[path: M8 55.5L50 55.5] color=rgb(0, 0, 0) thickness=1 owner=BlockContainer<P> phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=6 rect=[8,70 46x14] glyph_bounding_rect=[8,70 51x13] translation=[8,81] color=rgb(0, 0, 0) owner=BlockContainer<P> phase=text-fragment
+StrokePath@s1/e0 dash_array=[2, 2] path_bounding_rect=[7.5,83 47x1] path_data=[path: M8 83.5L54 83.5] color=rgb(0, 0, 0) thickness=1 owner=BlockContainer<P> phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/text-decoration-underline-partial-selection.txt b/Tests/LibWeb/Text/expected/display_list/text-decoration-underline-partial-selection.txt
index cde16bc9e67..c7b17e189d0 100644
--- a/Tests/LibWeb/Text/expected/display_list/text-decoration-underline-partial-selection.txt
+++ b/Tests/LibWeb/Text/expected/display_list/text-decoration-underline-partial-selection.txt
@@ -6,13 +6,13 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[9,-15 60x91]]
-FillRect@s1/e0 rect=[8,65 37x10] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[57,65 10x10] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[116,-15 61x91]]
-FillRect@s1/e0 rect=[116,65 37x10] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[165,65 12x10] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[69,-17 47x100] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[69,-15 47x91]]
-FillRect@s1/e0 rect=[109,65 7x10] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[9,-15 60x91]] owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[8,65 37x10] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[57,65 10x10] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[116,-15 61x91]] owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[116,65 37x10] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[165,65 12x10] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[69,-17 47x100] color=rgba(101, 2, 0, 0.8) owner=BlockContainer(anonymous) phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[8,-17 169x100] glyph_bounding_rect=[9,-15 191x91] translation=[8,63] color=rgb(0, 0, 0) inline_clips=[clip=[69,-15 47x91]] owner=BlockContainer(anonymous) phase=text-fragment
+FillRect@s1/e0 rect=[109,65 7x10] color=rgb(0, 0, 0) owner=BlockContainer(anonymous) phase=text-fragment
diff --git a/Tests/LibWeb/Text/expected/display_list/text-input-clip-is-not-rounded.txt b/Tests/LibWeb/Text/expected/display_list/text-input-clip-is-not-rounded.txt
index 73c280d1cd5..2f19c176da2 100644
--- a/Tests/LibWeb/Text/expected/display_list/text-input-clip-is-not-rounded.txt
+++ b/Tests/LibWeb/Text/expected/display_list/text-input-clip-is-not-rounded.txt
@@ -9,7 +9,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/c1/e0 rect=[8,11 23x13] color=rgba(101, 2, 0, 0.8)
-DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=3 rect=[8,11 23x13] glyph_bounding_rect=[8,11 26x12] translation=[8,21] color=rgb(0, 0, 0)
-FillRoundedRectRing@s1/e0 rect=[6,9 160x17] corner_radii=[8x8,8x8,8x8,8x8] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
+FillRect@s1/c1/e0 rect=[8,11 23x13] color=rgba(101, 2, 0, 0.8) owner=BlockContainer<DIV> phase=foreground
+DrawGlyphRun@s1/c1/e0 font_id=font1 glyphs=3 rect=[8,11 23x13] glyph_bounding_rect=[8,11 26x12] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[6,9 160x17] corner_radii=[8x8,8x8,8x8,8x8] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextInputBox<INPUT>#input phase=outline
diff --git a/Tests/LibWeb/Text/expected/display_list/text-shadow-multiple-layers.txt b/Tests/LibWeb/Text/expected/display_list/text-shadow-multiple-layers.txt
index 2e8039b4bb5..a424172513d 100644
--- a/Tests/LibWeb/Text/expected/display_list/text-shadow-multiple-layers.txt
+++ b/Tests/LibWeb/Text/expected/display_list/text-shadow-multiple-layers.txt
@@ -6,6 +6,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintTextShadow@s1/e0 font_id=font1 glyphs=7 layers=[{blur_radius=4 color=rgb(0, 0, 0)}, {offset=[-1,-1] rounded_offset=[-1,-1] color=rgba(45, 45, 45, 0.6)}, {offset=[1,1] rounded_offset=[1,1] color=rgba(45, 45, 45, 0.6)}, {offset=[-1,0] rounded_offset=[-1,0] color=rgba(0, 0, 0, 0.5)}, {offset=[1,0] rounded_offset=[1,0] color=rgba(0, 0, 0, 0.5)}] shadows_bounding_rect=[-8,-8 100x36] rect=[0,0 84x20] translation=[0,16]
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[0,0 84x20] glyph_bounding_rect=[0,0 88x18] translation=[0,16] color=rgb(255, 255, 255)
+PaintTextShadow@s1/e0 font_id=font1 glyphs=7 layers=[{blur_radius=4 color=rgb(0, 0, 0)}, {offset=[-1,-1] rounded_offset=[-1,-1] color=rgba(45, 45, 45, 0.6)}, {offset=[1,1] rounded_offset=[1,1] color=rgba(45, 45, 45, 0.6)}, {offset=[-1,0] rounded_offset=[-1,0] color=rgba(0, 0, 0, 0.5)}, {offset=[1,0] rounded_offset=[1,0] color=rgba(0, 0, 0, 0.5)}] shadows_bounding_rect=[-8,-8 100x36] rect=[0,0 84x20] translation=[0,16] owner=BlockContainer<P> phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=7 rect=[0,0 84x20] glyph_bounding_rect=[0,0 88x18] translation=[0,16] color=rgb(255, 255, 255) owner=BlockContainer<P> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/text-shadow-vertical-writing-mode.txt b/Tests/LibWeb/Text/expected/display_list/text-shadow-vertical-writing-mode.txt
index bba26c0fea6..17a60d405fe 100644
--- a/Tests/LibWeb/Text/expected/display_list/text-shadow-vertical-writing-mode.txt
+++ b/Tests/LibWeb/Text/expected/display_list/text-shadow-vertical-writing-mode.txt
@@ -6,6 +6,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(255, 0, 0)}] shadows_bounding_rect=[762,2 20x35] rect=[760,0 20x35] translation=[760,16] orientation=Vertical
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[760,0 20x35] glyph_bounding_rect=[762,0 18x40] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical
+PaintTextShadow@s1/e0 font_id=font1 glyphs=3 layers=[{offset=[2,2] rounded_offset=[2,2] color=rgb(255, 0, 0)}] shadows_bounding_rect=[762,2 20x35] rect=[760,0 20x35] translation=[760,16] orientation=Vertical owner=BlockContainer<P> phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=3 rect=[760,0 20x35] glyph_bounding_rect=[762,0 18x40] translation=[760,16] color=rgb(0, 0, 0) orientation=Vertical owner=BlockContainer<P> phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt b/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt
index 8309720d160..b333956a5eb 100644
--- a/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt
@@ -8,15 +8,15 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 106x34] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4]
-FillRoundedRectRing@s1/e0 rect=[8,8 106x34] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=5 rect=[11,11 31x14] glyph_bounding_rect=[11,12 33x12] translation=[11,22] color=rgb(0, 0, 0)
-PaintCaret@s1/c0/e0 rect=[11,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
-FillRoundedRectRing@s1/e0 rect=[6,6 110x38] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233)
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[109,39] to=[111,37] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[108,39] to=[111,36] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[106,39] to=[111,34] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[105,39] to=[111,33] thickness=1
-DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[103,39] to=[111,31] thickness=1
-DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[102,39] to=[111,30] thickness=1
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 106x34] color=rgb(255, 255, 255) corner_radii=[4x4,4x4,4x4,4x4] owner=TextAreaBox<TEXTAREA> phase=background
+FillRoundedRectRing@s1/e0 rect=[8,8 106x34] corner_radii=[4x4,4x4,4x4,4x4] top_width=1 right_width=1 bottom_width=1 left_width=1 color=rgb(118, 118, 118) owner=TextAreaBox<TEXTAREA> phase=border
+DrawGlyphRun@s1/c0/e0 font_id=font1 glyphs=5 rect=[11,11 31x14] glyph_bounding_rect=[11,12 33x12] translation=[11,22] color=rgb(0, 0, 0) owner=BlockContainer<DIV> phase=foreground
+PaintCaret@s1/c0/e0 rect=[11,11 1x14] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
+FillRoundedRectRing@s1/e0 rect=[6,6 110x38] corner_radii=[6x6,6x6,6x6,6x6] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(61, 174, 233) owner=TextAreaBox<TEXTAREA> phase=outline
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[109,39] to=[111,37] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[108,39] to=[111,36] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[106,39] to=[111,34] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[105,39] to=[111,33] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
+DrawLine@s1/e0 color=rgba(255, 255, 255, 0.392) from=[103,39] to=[111,31] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
+DrawLine@s1/e0 color=rgba(0, 0, 0, 0.392) from=[102,39] to=[111,30] thickness=1 owner=TextAreaBox<TEXTAREA> phase=overlay
diff --git a/Tests/LibWeb/Text/expected/display_list/three-way-branch.txt b/Tests/LibWeb/Text/expected/display_list/three-way-branch.txt
index 1725c840a91..8ec2991dfe1 100644
--- a/Tests/LibWeb/Text/expected/display_list/three-way-branch.txt
+++ b/Tests/LibWeb/Text/expected/display_list/three-way-branch.txt
@@ -9,10 +9,10 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 60x60] color=rgb(255, 0, 0)
-DrawGlyphRun@s2/e0 font_id=font1 glyphs=1 rect=[8,8 7x16] glyph_bounding_rect=[8,8 13x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s3/e0 rect=[73,8 60x60] color=rgb(0, 128, 0)
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=1 rect=[73,8 9x16] glyph_bounding_rect=[73,8 13x15] translation=[73,21] color=rgb(0, 0, 0)
-FillRect@s4/e0 rect=[138,8 60x60] color=rgb(0, 0, 255)
-DrawGlyphRun@s4/e0 font_id=font1 glyphs=1 rect=[138,8 10x16] glyph_bounding_rect=[138,8 13x15] translation=[138,21] color=rgb(0, 0, 0)
+FillRect@s2/e0 rect=[8,8 60x60] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.box.a phase=background
+DrawGlyphRun@s2/e0 font_id=font1 glyphs=1 rect=[8,8 7x16] glyph_bounding_rect=[8,8 13x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box.a phase=foreground
+FillRect@s3/e0 rect=[73,8 60x60] color=rgb(0, 128, 0) owner=BlockContainer<DIV>.box.b phase=background
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=1 rect=[73,8 9x16] glyph_bounding_rect=[73,8 13x15] translation=[73,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box.b phase=foreground
+FillRect@s4/e0 rect=[138,8 60x60] color=rgb(0, 0, 255) owner=BlockContainer<DIV>.box.c phase=background
+DrawGlyphRun@s4/e0 font_id=font1 glyphs=1 rect=[138,8 10x16] glyph_bounding_rect=[138,8 13x15] translation=[138,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box.c phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/transform-basic.txt b/Tests/LibWeb/Text/expected/display_list/transform-basic.txt
index de534f6fd8f..880cea6a07a 100644
--- a/Tests/LibWeb/Text/expected/display_list/transform-basic.txt
+++ b/Tests/LibWeb/Text/expected/display_list/transform-basic.txt
@@ -7,6 +7,6 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 0, 255)
-DrawGlyphRun@s2/e0 font_id=font1 glyphs=4 rect=[8,8 38x16] glyph_bounding_rect=[8,8 44x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 0, 255) owner=BlockContainer<DIV>.box phase=background
+DrawGlyphRun@s2/e0 font_id=font1 glyphs=4 rect=[8,8 38x16] glyph_bounding_rect=[8,8 44x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.box phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/transform-invertibility-invalidation.txt b/Tests/LibWeb/Text/expected/display_list/transform-invertibility-invalidation.txt
index 1b27d86bbca..956874be592 100644
--- a/Tests/LibWeb/Text/expected/display_list/transform-invertibility-invalidation.txt
+++ b/Tests/LibWeb/Text/expected/display_list/transform-invertibility-invalidation.txt
@@ -15,5 +15,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0)
+FillRect@s2/e0 rect=[8,8 100x100] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#box phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/transform-nested.txt b/Tests/LibWeb/Text/expected/display_list/transform-nested.txt
index b2674d389a4..a5c4ea22ec1 100644
--- a/Tests/LibWeb/Text/expected/display_list/transform-nested.txt
+++ b/Tests/LibWeb/Text/expected/display_list/transform-nested.txt
@@ -8,7 +8,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s2/e0 rect=[8,8 200x200] color=rgb(173, 216, 230)
-FillRect@s3/e0 rect=[8,8 100x100] color=rgb(255, 127, 80)
-DrawGlyphRun@s3/e0 font_id=font1 glyphs=6 rect=[8,8 52x16] glyph_bounding_rect=[8,8 57x15] translation=[8,21] color=rgb(0, 0, 0)
+FillRect@s2/e0 rect=[8,8 200x200] color=rgb(173, 216, 230) owner=BlockContainer<DIV>.outer phase=background
+FillRect@s3/e0 rect=[8,8 100x100] color=rgb(255, 127, 80) owner=BlockContainer<DIV>.inner phase=background
+DrawGlyphRun@s3/e0 font_id=font1 glyphs=6 rect=[8,8 52x16] glyph_bounding_rect=[8,8 57x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.inner phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/transform-with-clip.txt b/Tests/LibWeb/Text/expected/display_list/transform-with-clip.txt
index 0df199a10b8..79a39e1d225 100644
--- a/Tests/LibWeb/Text/expected/display_list/transform-with-clip.txt
+++ b/Tests/LibWeb/Text/expected/display_list/transform-with-clip.txt
@@ -13,7 +13,7 @@ ScrollNodes:
ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[10,10 150x150] min_scroll_offset=[0,0] max_scroll_offset=[70,70] is_viewport=false
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 154x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0)
-FillRect@s3/c0/e0 rect=[10,10 200x200] color=rgb(144, 238, 144)
-DrawGlyphRun@s3/c0/e0 font_id=font1 glyphs=21 rect=[10,10 185x16] glyph_bounding_rect=[10,10 190x15] translation=[10,23] color=rgb(0, 0, 0)
+FillRoundedRectRing@s1/e0 rect=[8,8 154x154] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 0) owner=BlockContainer<DIV>.container phase=border
+FillRect@s3/c0/e0 rect=[10,10 200x200] color=rgb(144, 238, 144) owner=BlockContainer<DIV>.transformed phase=background
+DrawGlyphRun@s3/c0/e0 font_id=font1 glyphs=21 rect=[10,10 185x16] glyph_bounding_rect=[10,10 190x15] translation=[10,23] color=rgb(0, 0, 0) owner=BlockContainer<DIV>.transformed phase=foreground
diff --git a/Tests/LibWeb/Text/expected/display_list/uniform-solid-border-ring.txt b/Tests/LibWeb/Text/expected/display_list/uniform-solid-border-ring.txt
index a4dc22eb506..8a909f3472a 100644
--- a/Tests/LibWeb/Text/expected/display_list/uniform-solid-border-ring.txt
+++ b/Tests/LibWeb/Text/expected/display_list/uniform-solid-border-ring.txt
@@ -9,23 +9,23 @@ ScrollNodes:
ScrollNode scroll_node_index=s1 parent_scroll_node_index=s0 scrollport_rect=[0,0 800x600] min_scroll_offset=[0,0] max_scroll_offset=[0,20] is_viewport=true
DisplayList:
-FillRoundedRectRing@s1/e0 rect=[8,8 106x46] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(255, 0, 0)
-FillRoundedRectRing@s1/e0 rect=[8,64 104x44] corner_radii=[8x8,8x8,8x8,8x8] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 255)
-FillRoundedRectRing@s1/e0 rect=[8,118 100x41] bottom_width=1 color=rgb(0, 128, 0)
-FillRoundedRectRing@s1/e0 rect=[8,169 104x44] corner_radii=[10x10,10x10,10x10,10x10] top_width=4 left_width=4 color=rgb(255, 0, 0)
-FillRoundedRectRing@s1/e0 rect=[8,223 106x44] corner_radii=[12x6,12x6,12x6,12x6] top_width=1 right_width=2 bottom_width=3 left_width=4 color=rgb(255, 165, 0)
-FillRoundedRectRing@s1/e0 rect=[8,277 118x58] corner_radii=[10x10,10x10,10x10,10x10] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(128, 0, 128)
-FillRoundedRectRing@s1/e0 rect=[14,283 106x46] corner_radii=[4x4,4x4,4x4,4x4] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(128, 0, 128)
-FillRoundedRectRing@s1/e0 rect=[8,345 104x44] top_width=4 left_width=4 color=rgb(43, 43, 43)
-FillPath@s1/e0 path_bounding_rect=[8,399 108x48] path_data=[path: M116 399L116 399L112 403L112 443L116 447L116 447M116 447L116 447L112 443L12 443L8 447L8 447] color=rgb(128, 128, 128) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,399 108x48] path_data=[path: M8 447L8 447L12 443L12 403L8 399L8 399M8 399L8 399L12 403L112 403L116 399L116 399] color=rgb(43, 43, 43) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[110,457 2x44] path_data=[path: M112 457L112 457L110 459L110 499L112 501L112 501] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,499 104x2] path_data=[path: M112 501L112 501L110 499L10 499L8 501L8 501] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,457 2x44] path_data=[path: M8 501L8 501L10 499L10 459L8 457L8 457] color=rgb(0, 0, 255) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,457 104x2] path_data=[path: M8 457L8 457L10 459L110 459L112 457L112 457] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,511 106x46] path_data=[path: M8 511L8 511L11 514L111 514L114 511L114 511M114 511L114 511L111 514L111 554L114 557L114 557] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,556 106x1] path_data=[path: M114 557L114 557L113 556L9 556L8 557L8 557] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[10,554 102x1] path_data=[path: M112 555L112 555L111 554L11 554L10 555L10 555] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillPath@s1/e0 path_bounding_rect=[8,511 3x46] path_data=[path: M8 557L8 557L11 554L11 514L8 511L8 511] color=rgb(255, 0, 0) winding_rule=EvenOdd
-FillRoundedRectRing@s1/e0 rect=[4,563 108x48] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 128, 128)
+FillRoundedRectRing@s1/e0 rect=[8,8 106x46] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(255, 0, 0) owner=BlockContainer<DIV>.solid phase=border
+FillRoundedRectRing@s1/e0 rect=[8,64 104x44] corner_radii=[8x8,8x8,8x8,8x8] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 0, 255) owner=BlockContainer<DIV>.rounded phase=border
+FillRoundedRectRing@s1/e0 rect=[8,118 100x41] bottom_width=1 color=rgb(0, 128, 0) owner=BlockContainer<DIV>.bottom-only phase=border
+FillRoundedRectRing@s1/e0 rect=[8,169 104x44] corner_radii=[10x10,10x10,10x10,10x10] top_width=4 left_width=4 color=rgb(255, 0, 0) owner=BlockContainer<DIV>.partial-rounded phase=border
+FillRoundedRectRing@s1/e0 rect=[8,223 106x44] corner_radii=[12x6,12x6,12x6,12x6] top_width=1 right_width=2 bottom_width=3 left_width=4 color=rgb(255, 165, 0) owner=BlockContainer<DIV>.uneven-widths phase=border
+FillRoundedRectRing@s1/e0 rect=[8,277 118x58] corner_radii=[10x10,10x10,10x10,10x10] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(128, 0, 128) owner=BlockContainer<DIV>.double phase=border
+FillRoundedRectRing@s1/e0 rect=[14,283 106x46] corner_radii=[4x4,4x4,4x4,4x4] top_width=3 right_width=3 bottom_width=3 left_width=3 color=rgb(128, 0, 128) owner=BlockContainer<DIV>.double phase=border
+FillRoundedRectRing@s1/e0 rect=[8,345 104x44] top_width=4 left_width=4 color=rgb(43, 43, 43) owner=BlockContainer<DIV>.inset-top-left-only phase=border
+FillPath@s1/e0 path_bounding_rect=[8,399 108x48] path_data=[path: M116 399L116 399L112 403L112 443L116 447L116 447M116 447L116 447L112 443L12 443L8 447L8 447] color=rgb(128, 128, 128) winding_rule=EvenOdd owner=BlockContainer<DIV>.inset phase=border
+FillPath@s1/e0 path_bounding_rect=[8,399 108x48] path_data=[path: M8 447L8 447L12 443L12 403L8 399L8 399M8 399L8 399L12 403L112 403L116 399L116 399] color=rgb(43, 43, 43) winding_rule=EvenOdd owner=BlockContainer<DIV>.inset phase=border
+FillPath@s1/e0 path_bounding_rect=[110,457 2x44] path_data=[path: M112 457L112 457L110 459L110 499L112 501L112 501] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV>.two-colors phase=border
+FillPath@s1/e0 path_bounding_rect=[8,499 104x2] path_data=[path: M112 501L112 501L110 499L10 499L8 501L8 501] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.two-colors phase=border
+FillPath@s1/e0 path_bounding_rect=[8,457 2x44] path_data=[path: M8 501L8 501L10 499L10 459L8 457L8 457] color=rgb(0, 0, 255) winding_rule=EvenOdd owner=BlockContainer<DIV>.two-colors phase=border
+FillPath@s1/e0 path_bounding_rect=[8,457 104x2] path_data=[path: M8 457L8 457L10 459L110 459L112 457L112 457] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.two-colors phase=border
+FillPath@s1/e0 path_bounding_rect=[8,511 106x46] path_data=[path: M8 511L8 511L11 514L111 514L114 511L114 511M114 511L114 511L111 514L111 554L114 557L114 557] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.mixed-styles phase=border
+FillPath@s1/e0 path_bounding_rect=[8,556 106x1] path_data=[path: M114 557L114 557L113 556L9 556L8 557L8 557] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.mixed-styles phase=border
+FillPath@s1/e0 path_bounding_rect=[10,554 102x1] path_data=[path: M112 555L112 555L111 554L11 554L10 555L10 555] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.mixed-styles phase=border
+FillPath@s1/e0 path_bounding_rect=[8,511 3x46] path_data=[path: M8 557L8 557L11 554L11 514L8 511L8 511] color=rgb(255, 0, 0) winding_rule=EvenOdd owner=BlockContainer<DIV>.mixed-styles phase=border
+FillRoundedRectRing@s1/e0 rect=[4,563 108x48] top_width=2 right_width=2 bottom_width=2 left_width=2 color=rgb(0, 128, 128) owner=BlockContainer<DIV>.outlined phase=outline
diff --git a/Tests/LibWeb/Text/expected/display_list/will-change-visual-context-nodes.txt b/Tests/LibWeb/Text/expected/display_list/will-change-visual-context-nodes.txt
index 10c260072e1..6f1c3831ab9 100644
--- a/Tests/LibWeb/Text/expected/display_list/will-change-visual-context-nodes.txt
+++ b/Tests/LibWeb/Text/expected/display_list/will-change-visual-context-nodes.txt
@@ -10,9 +10,9 @@ AccumulatedVisualContext Tree:
[e2 in s1] effects=[] (BlockContainer<DIV>#filter)
DisplayList:
-FillRect@s1/e0 rect=[0,200 50x50] color=rgb(128, 128, 128)
-FillRect@s2/e0 rect=[0,0 50x50] color=rgb(0, 128, 0)
-FillRect@s3/e0 rect=[0,50 50x50] color=rgb(0, 0, 255)
-FillRect@s1/e1 rect=[0,100 50x50] color=rgb(255, 0, 0)
-FillRect@s1/e2 rect=[0,150 50x50] color=rgb(255, 255, 0)
+FillRect@s1/e0 rect=[0,200 50x50] color=rgb(128, 128, 128) owner=BlockContainer<DIV>#other phase=background
+FillRect@s2/e0 rect=[0,0 50x50] color=rgb(0, 128, 0) owner=BlockContainer<DIV>#transform phase=background
+FillRect@s3/e0 rect=[0,50 50x50] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#translate phase=background
+FillRect@s1/e1 rect=[0,100 50x50] color=rgb(255, 0, 0) owner=BlockContainer<DIV>#opacity phase=background
+FillRect@s1/e2 rect=[0,150 50x50] color=rgb(255, 255, 0) owner=BlockContainer<DIV>#filter phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/z-index-change-no-double-paint.txt b/Tests/LibWeb/Text/expected/display_list/z-index-change-no-double-paint.txt
index d9da939e347..97145cf9200 100644
--- a/Tests/LibWeb/Text/expected/display_list/z-index-change-no-double-paint.txt
+++ b/Tests/LibWeb/Text/expected/display_list/z-index-change-no-double-paint.txt
@@ -7,7 +7,7 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 50x50] color=rgb(0, 0, 255)
+FillRect@s1/e0 rect=[8,8 50x50] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#target.target phase=background
After z-index change:
AccumulatedVisualContext Tree:
@@ -18,5 +18,5 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 50x50] color=rgb(0, 0, 255)
+FillRect@s1/e0 rect=[8,8 50x50] color=rgb(0, 0, 255) owner=BlockContainer<DIV>#target.target phase=background
diff --git a/Tests/LibWeb/Text/expected/display_list/zero-area-clip-commands.txt b/Tests/LibWeb/Text/expected/display_list/zero-area-clip-commands.txt
index 0d6994c7ca0..d29da5eb1ab 100644
--- a/Tests/LibWeb/Text/expected/display_list/zero-area-clip-commands.txt
+++ b/Tests/LibWeb/Text/expected/display_list/zero-area-clip-commands.txt
@@ -16,7 +16,7 @@ ScrollNode scroll_node_index=s2 parent_scroll_node_index=s0 scrollport_rect=[8,8
ScrollNode scroll_node_index=s3 parent_scroll_node_index=s0 scrollport_rect=[8,108 100x0] min_scroll_offset=[0,0] max_scroll_offset=[0,50] is_viewport=false
DisplayList:
-FillRect@s2/c0/e0 rect=[8,8 50x50] color=rgb(255, 0, 0)
-FillRect@s3/c1/e0 rect=[8,108 50x50] color=rgb(255, 0, 0)
-FillRect@s1/c2/e0 rect=[8,108 50x50] color=rgb(255, 0, 0)
+FillRect@s2/c0/e0 rect=[8,8 50x50] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.child phase=background
+FillRect@s3/c1/e0 rect=[8,108 50x50] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.child phase=background
+FillRect@s1/c2/e0 rect=[8,108 50x50] color=rgb(255, 0, 0) owner=BlockContainer<DIV>.child phase=background
diff --git a/Tests/LibWeb/Text/expected/input-scrolls-caret-width-into-view.txt b/Tests/LibWeb/Text/expected/input-scrolls-caret-width-into-view.txt
index b0f074d2ce1..1a50140f73b 100644
--- a/Tests/LibWeb/Text/expected/input-scrolls-caret-width-into-view.txt
+++ b/Tests/LibWeb/Text/expected/input-scrolls-caret-width-into-view.txt
@@ -1,3 +1,3 @@
scrolls to caret: true
-rect=[18,8 1x16] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1
+rect=[18,8 1x16] color=rgb(0, 0, 0) blink_cycle_start_time_ns=t1 owner=BlockContainer<DIV> phase=foreground
RTL caret needs no scroll: true
diff --git a/Tests/LibWeb/Text/expected/multicol-broken-box-wheel-targets.txt b/Tests/LibWeb/Text/expected/multicol-broken-box-wheel-targets.txt
index d0d1d05763d..097436d1076 100644
--- a/Tests/LibWeb/Text/expected/multicol-broken-box-wheel-targets.txt
+++ b/Tests/LibWeb/Text/expected/multicol-broken-box-wheel-targets.txt
@@ -1,12 +1,12 @@
blocking regions: 2
-CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x239]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x226]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 420x200]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x60]
-CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 200x500]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,60 200x140]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[220,0 200x160]
-CompositorBlockingWheelEventRegion@s1/e0 rect=[0,60 200x140]
-CompositorBlockingWheelEventRegion@s1/e0 rect=[220,0 200x160]
-CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,213 800x13]
+CompositorWheelHitTestTarget@s0/e0 target_scroll_node_index=s0 rect=[0,0 800x600] owner=Viewport<#document> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x239] owner=BlockContainer<HTML> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 800x226] owner=BlockContainer<BODY> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,0 420x200] owner=BlockContainer<DIV>#multicol phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s2 rect=[0,0 200x60] owner=BlockContainer<DIV>#scroller phase=scroll-metadata
+CompositorWheelHitTestTarget@s2/c0/e0 target_scroll_node_index=s2 rect=[0,0 200x500] owner=BlockContainer<DIV> phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,60 200x140] owner=BlockContainer<DIV>#broken phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[220,0 200x160] owner=BlockContainer<DIV>#broken phase=scroll-metadata
+CompositorBlockingWheelEventRegion@s1/e0 rect=[0,60 200x140] owner=BlockContainer<DIV>#broken phase=scroll-metadata
+CompositorBlockingWheelEventRegion@s1/e0 rect=[220,0 200x160] owner=BlockContainer<DIV>#broken phase=scroll-metadata
+CompositorWheelHitTestTarget@s1/e0 target_scroll_node_index=s0 rect=[0,213 800x13] owner=BlockContainer<PRE>#out phase=scroll-metadata
diff --git a/Tests/LibWeb/Text/expected/text-transform-contextual-selection-offset-mapping.txt b/Tests/LibWeb/Text/expected/text-transform-contextual-selection-offset-mapping.txt
index cbe2d83ffed..62778ca613e 100644
--- a/Tests/LibWeb/Text/expected/text-transform-contextual-selection-offset-mapping.txt
+++ b/Tests/LibWeb/Text/expected/text-transform-contextual-selection-offset-mapping.txt
@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,16 55x16] glyph_bounding_rect=[8,-8 59x39] translation=[8,29] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,32 35x16] glyph_bounding_rect=[8,32 38x15] translation=[8,45] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,48 51x16] color=rgb(1, 2, 3)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,48 51x16] glyph_bounding_rect=[8,48 55x15] translation=[8,61] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=9 rect=[8,16 55x16] glyph_bounding_rect=[8,-8 59x39] translation=[8,29] color=rgb(0, 0, 0) owner=BlockContainer<P>#selection-target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[8,32 35x16] glyph_bounding_rect=[8,32 38x15] translation=[8,45] color=rgb(0, 0, 0) owner=BlockContainer<P>#selection-target phase=foreground
+FillRect@s1/e0 rect=[8,48 51x16] color=rgb(1, 2, 3) owner=BlockContainer<P>#selection-target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=5 rect=[8,48 51x16] glyph_bounding_rect=[8,48 55x15] translation=[8,61] color=rgb(0, 0, 0) owner=BlockContainer<P>#selection-target phase=foreground
diff --git a/Tests/LibWeb/Text/expected/text-transform-selection-offset-mapping.txt b/Tests/LibWeb/Text/expected/text-transform-selection-offset-mapping.txt
index 764622b074d..930b5167185 100644
--- a/Tests/LibWeb/Text/expected/text-transform-selection-offset-mapping.txt
+++ b/Tests/LibWeb/Text/expected/text-transform-selection-offset-mapping.txt
@@ -6,10 +6,10 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-FillRect@s1/e0 rect=[8,8 24x16] color=rgb(1, 2, 3)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,8 24x16] glyph_bounding_rect=[8,8 25x15] translation=[8,21] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,40 22x16] glyph_bounding_rect=[8,40 25x15] translation=[8,53] color=rgb(4, 5, 6)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[8,8 24x16] color=rgb(1, 2, 3) owner=BlockContainer<P>#selection-target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,8 24x16] glyph_bounding_rect=[8,8 25x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<P>#selection-target phase=foreground
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,40 22x16] glyph_bounding_rect=[8,40 25x15] translation=[8,53] color=rgb(4, 5, 6) owner=BlockContainer<P>#capitalized phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0) owner=BlockContainer<P>#capitalized phase=text-fragment
AccumulatedVisualContext Tree:
spatial:
@@ -19,10 +19,10 @@ AccumulatedVisualContext Tree:
[e0 in s0] effects=[]
DisplayList:
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,8 24x16] glyph_bounding_rect=[8,8 25x15] translation=[8,21] color=rgb(0, 0, 0)
-FillRect@s1/e0 rect=[8,40 21x16] color=rgb(1, 2, 3)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,40 22x16] glyph_bounding_rect=[8,40 25x15] translation=[8,53] color=rgb(4, 5, 6)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0) inline_clips=[clip=[38,40 19x15]]
-FillRect@s1/e0 rect=[29,40 9x16] color=rgb(1, 2, 3)
-DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0) inline_clips=[clip=[29,40 9x15]]
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,8 24x16] glyph_bounding_rect=[8,8 25x15] translation=[8,21] color=rgb(0, 0, 0) owner=BlockContainer<P>#selection-target phase=foreground
+FillRect@s1/e0 rect=[8,40 21x16] color=rgb(1, 2, 3) owner=BlockContainer<P>#capitalized phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=2 rect=[8,40 22x16] glyph_bounding_rect=[8,40 25x15] translation=[8,53] color=rgb(4, 5, 6) owner=BlockContainer<P>#capitalized phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0) inline_clips=[clip=[38,40 19x15]] owner=BlockContainer<P>#capitalized phase=text-fragment
+FillRect@s1/e0 rect=[29,40 9x16] color=rgb(1, 2, 3) owner=BlockContainer<P>#capitalized phase=text-fragment
+DrawGlyphRun@s1/e0 font_id=font1 glyphs=4 rect=[29,40 28x16] glyph_bounding_rect=[29,40 31x15] translation=[29.3125,53] color=rgb(0, 0, 0) inline_clips=[clip=[29,40 9x15]] owner=BlockContainer<P>#capitalized phase=text-fragment
diff --git a/Tests/LibWeb/Text/input/display_list/record-owners-and-phases.html b/Tests/LibWeb/Text/input/display_list/record-owners-and-phases.html
new file mode 100644
index 00000000000..1a0c0ce8ea0
--- /dev/null
+++ b/Tests/LibWeb/Text/input/display_list/record-owners-and-phases.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script src="../include.js"></script>
+<style>
+ #box { width: 100px; height: 30px; background: green; border: 2px solid blue; outline: 3px solid red; }
+</style>
+<div id="box">text</div>
+<svg width="100" height="100">
+ <mask id="fade"><rect width="50" height="50" fill="white"></rect></mask>
+ <rect id="masked" width="100" height="100" fill="green" mask="url(#fade)"></rect>
+</svg>
+<script>
+ test(() => {
+ const dump = internals.dumpDisplayList();
+ println(dump.slice(dump.indexOf("DisplayList:")));
+ const withoutOwners = internals.dumpDisplayList({ owners: false });
+ println(`without owners, no record names its owner or phase: ${!withoutOwners.includes(" owner=") && !withoutOwners.includes(" phase=")}`);
+ });
+</script>