servo/etc
Martin Robinson 850e59f98e
servoshell: Allow overriding screen resolution with a command-line argument (#34038)
There is a command-line argument to override the default window size,
but not one for overriding the default screen resolution. This is
important for testing pages that use screen size to have different
behavior.

In addition to adding the new option this change:

 - Renames the `--resolution` command-line argument to `--window-size`
   to remove ambiguity with the `--screen-size` argument.
 - Passes the screen size as device independent (device pixels scaled by
   HiDPI factor) to Servo internals. Not only it make it simpler to pass
   the `--window-size` override, it makes more sense. Different screens
   can have different HiDPI factors and these can be different from the
   scale of the window. This makes the screen HiDPI factor totally
   independent of the one that Servo uses for the window.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-30 11:54:13 +00:00
..
ci do WPT reports as GitHub job summery (#33587) 2024-10-02 15:24:49 +00:00
doc.servo.org Update in-tree docs to point to the new book (#32743) 2024-07-09 15:42:00 +00:00
layout_viewer Update branch name to main (#30877) 2023-12-16 09:32:20 +00:00
crates-graph.py Add a minimal alternative to cargo graph 2020-04-21 10:54:21 +02:00
devtools_parser.py DevTools: Add parser tool (#32684) 2024-07-04 09:15:31 +00:00
install_macos_gstreamer.sh Consume official GStreamer binaries on MacOS 2023-05-12 00:14:38 +05:30
jsdefine Use #!/usr/bin/env bash in shell scripts for NixOS compatibility 2021-06-14 22:06:09 +09:00
memory_chart.html Add tool to chart memory usage from reports. 2018-03-08 22:46:42 -05:00
memory_reports_over_time.py Improve formatting of Python files (#30919) 2023-12-24 23:58:37 +00:00
patch-trace-template.py profile: Integrate the time profiler with the macOS signpost 2016-10-01 00:12:49 -07:00
profilicate.py Convert etc/profilicate.py to Python 3 (#31259) 2024-02-05 06:07:19 +00:00
run_in_headless_android_emulator.py android: Rename the Android app to reflect servo.org ownership and servoshell (#32554) 2024-06-24 15:39:57 +00:00
servo.sb Cargoify servo 2014-09-08 20:21:42 -06:00
servo_automation_screenshot.py Improve formatting of Python files (#30919) 2023-12-24 23:58:37 +00:00
servo_gdb.py Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
shell.nix Upgrade Android Gradle (#33681) 2024-10-09 05:25:22 +00:00
start_servo.py servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
valgrind-memcheck.supp Add a valgrind suppression file. 2015-12-17 10:36:03 -06:00
wpt-summarize.py Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
wpt-timing.py Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
wpt_result_analyzer.py Update scripts to reflect new WPT directory name 2023-06-26 10:48:02 +02:00