, , , , , , , , API ()
– accessibility, execCommand()
– servo:config, F5 to reload
– font fallback, cookies, IndexedDB, First and Largest Contentful Paint
– Windows arm64, layout, DOM events, shadow DOM
We’ve started working on accessibility support for web content (, ), gated by a pref (--pref accessibility_enabled).
Each webview will be able to expose its own accessibility tree, which the embedder can then integrate into its own accessibility tree.
As part of this work:
, , , has been migrated to the new AccessKit API (, , API for activating accessibility features (, API
We’ve started implementing document.execCommand() (, ), gated by a pref (--pref dom_exec_command_enabled).
This feature is also enabled in experimental mode, and together with contenteditable, it’s critical for rich text editing on the web.
The work done in February includes:
- document.queryCommandEnabled() ()
- document.queryCommandSupported() ()
- document.queryCommandIndeterm(), queryCommandState(), and queryCommandValue() ()
- the , , )
Developer tools has seen some big improvements in February!
When enabled in servoshell, the DevTools server is more secure by default, listening only on localhost when only a port number is specified ().
You can open the port for remote debugging by passing a full , ).
You can now list the event type and phase of event listeners attached to a DOM node as well ().
In the Console tab, objects can now be previewed when passed to console.log() and friends (, ), and boolean values are now syntax highlighted ().
In the Debugger tab, you can now pause and resume script execution, both manually and when breakpoints are hit (, , , ), including stepping execution (, ,
Back in August, we added a servo:preferences page to servoshell that allows you to set some of Servo’s most common preferences at runtime ().
,
You can now press F5 to reload the page in servoshell (), in addition to pressing Ctrl+R or ⌘R.
We’ve fixed a regression where the caret stopped being visible in the location bar ().
Embedding API , ::, and remove user scripts with ().
Previously user stylesheets were only configurable via servoshell’s --user-stylesheet option.
JavaScript and DOM bugs:
event.targetbeing incorrect on touchmove, touchend, and touchcancel events ()- touchmove events not being fired when part of a two-finger pinch zoom ()
- touchend events erroneously firing after touchcancel events ()
- assignedNodes() on HTMLSlotElement returning incorrect results after the <slot> was removed from the shadow tree ()
- Largest Contentful Paint timings no longer being collected after reloading or navigating ()
- PerformancePaintTiming being exposed to Worker globals when they shouldn’t be ()
- JavaScript modules resolved incorrectly when there are overlapping
.importsor.scopesor import maps (, , ()
WebDriver bugs:
- behaving incorrectly when devicePixelRatio ≠ 1 (, throwing incorrect exceptions when they are missing properties ()
- , , ), when exiting Servo while DevTools is connected (), when setting breakpoints (), and after clients disconnect ().
We’ve fixed crashes in layout, when using ‘background-repeat: round’ (), when using ‘list-style-image’ or ‘content: <image>’ (), when calling elementFromPoint() on Document (, ), and when handling layout queries like getBoundingClientRect() on inline <svg> (, , , , , , , , , ), and when certain pages are run with a mozjs debug build ().
Donations
, one of our latest that helps more people contribute to Servo.
Servo is also on , , or could be a good way for you (or your employer) to give back to the community.
We now have , and active proposals are tracked in .
↗ Original-Artikel auf servo.org lesenVollständiger Original-BerichtAusführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf servo.org.
SOCIAL SHARE CARD GENERATOR