mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:37:45 +00:00
LibWeb: Add ic
and ric
Length units
Using the rough heuristic instead of the actual spec measurement. It's allowed by the spec, but not ideal: > In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.
This commit is contained in:
parent
03ed37eb14
commit
0dd585ba7b
2 changed files with 18 additions and 0 deletions
|
@ -26,6 +26,8 @@ public:
|
|||
Rcap,
|
||||
Ch,
|
||||
Rch,
|
||||
Ic,
|
||||
Ric,
|
||||
Lh,
|
||||
Rlh,
|
||||
|
||||
|
@ -94,6 +96,8 @@ public:
|
|||
|| m_type == Type::Rcap
|
||||
|| m_type == Type::Ch
|
||||
|| m_type == Type::Rch
|
||||
|| m_type == Type::Ic
|
||||
|| m_type == Type::Ric
|
||||
|| m_type == Type::Lh
|
||||
|| m_type == Type::Rlh;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue