mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Fix various typos
Corresponds to: - https://github.com/whatwg/html/pull/10934 - https://github.com/whatwg/html/pull/10950
This commit is contained in:
parent
c5d793c4a9
commit
3775f3399c
Notes:
github-actions[bot]
2025-01-30 15:01:16 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3775f3399c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3404
13 changed files with 25 additions and 26 deletions
|
@ -419,7 +419,7 @@ void SourceSet::normalize_source_densities(DOM::Element const& element)
|
|||
|
||||
// 2. Otherwise, if the image source has a width descriptor,
|
||||
// replace the width descriptor with a pixel density descriptor
|
||||
// with a value of the width descriptor value divided by the source size and a unit of x.
|
||||
// with a value of the width descriptor value divided by source size and a unit of x.
|
||||
auto descriptor_value_set = false;
|
||||
if (image_source.descriptor.has<ImageSource::WidthDescriptorValue>()) {
|
||||
auto& width_descriptor = image_source.descriptor.get<ImageSource::WidthDescriptorValue>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue