mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Implement CanvasRenderingContext2d.fillText The PR consists of broadly two main changes: - Implementation of Canvas2dRenderingContext.font - Basic implementation of Canvas2dRenderingContext.fillText Although I am not fully sure about the long term goals for the canvas backend in Servo, I assumed limited scope for font and text handling (should support simple text drawing with font selection) in the current implementation as I believe a more complete implementation would eventually be brought in as a part of #22957. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #11681 - [x] There are tests for these changes |
||
---|---|---|
.. | ||
display_list | ||
flexbox | ||
flow | ||
Cargo.toml | ||
cell.rs | ||
context.rs | ||
data.rs | ||
dom_traversal.rs | ||
element_data.rs | ||
formatting_contexts.rs | ||
fragments.rs | ||
geom.rs | ||
layout_debug.rs | ||
lib.rs | ||
opaque_node.rs | ||
positioned.rs | ||
query.rs | ||
replaced.rs | ||
sizing.rs | ||
style_ext.rs | ||
traversal.rs | ||
wrapper.rs |