Module fontsize

Module fontsize 

Source

Enumsยง

ParsingMode ๐Ÿ”’

Functionsยง

css_font_to_font_size ๐Ÿ”’
execute_fontsize_command ๐Ÿ”’
https://w3c.github.io/editing/docs/execCommand/#the-fontsize-command
font_size_loosely_equivalent ๐Ÿ”’
Handles fontsize command part of https://w3c.github.io/editing/docs/execCommand/#loosely-equivalent-values
font_size_to_css_font ๐Ÿ”’
legacy_font_size_for ๐Ÿ”’
https://w3c.github.io/editing/docs/execCommand/#legacy-font-size-for
maybe_normalize_pixels ๐Ÿ”’
Only in the case we have resolved to actual pixels, we need to do its conversion. In other cases, we already have the relevant font size or corresponding css value. This avoids expensive conversions of pixels to other values.
value_for_fontsize_command ๐Ÿ”’
https://w3c.github.io/editing/docs/execCommand/#the-fontsize-command