servo/components/shared
Shubham Gupta aff2a85372
Add support for parsing and applying viewport <meta> (#35901)
This patch comprises following steps:
1. Parses the `viewport` Attribute from `<meta>`.
2. Creates a `ViewportDescription` struct.
3. Populate values into Viewport struct.
4. Pass & Stash Viewport Description to Webview.
5. Process parsed values of `viewport <meta>`

Testing: Tested locally.
Fixes: #36159

---------

Signed-off-by: Shubham Gupta <shubham13297@gmail.com>
Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
Co-authored-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
2025-06-06 15:13:51 +00:00
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base imagebitmap: Make ImageBitmap serializable and transferable (#37101) 2025-05-23 20:40:25 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas constellation: Wait for canvas thread to shut down before shutting down system font service (#37182) 2025-05-30 11:44:16 +00:00
compositing Add support for parsing and applying viewport <meta> (#35901) 2025-06-06 15:13:51 +00:00
constellation Constellation can now optionally report memory usage when the page is loaded. (#37151) 2025-05-30 17:15:06 +00:00
devtools devtools: Allow highlighting elements from the inspector (#35822) 2025-05-05 10:10:25 +00:00
embedder Implement wb element send keys for file input (#37224) 2025-06-05 06:48:14 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net Implement basics of link preloading (#37036) 2025-05-29 11:26:27 +00:00
profile Refactor the memory profiler code to return the struct. (#37155) 2025-05-28 00:58:05 +00:00
script constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
script_layout Add support for static SVG images using resvg crate (#36721) 2025-05-27 11:02:40 +00:00
snapshot imagebitmap: Use snapshot::Snapshot as bitmap data (#37131) 2025-05-27 06:41:25 +00:00
webgpu Introduce snapshot concept of canvas (#36119) 2025-04-23 07:32:47 +00:00
webxr libservo: Move EventLooperWaker from webxr_traits to embedder_traits (#36420) 2025-04-09 14:19:33 +00:00