mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +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
Notes:
sideshowbarker
2024-07-17 09:49:33 +09:00
Author: https://github.com/AtkinsSJ
Commit: 0dd585ba7b
Pull-request: https://github.com/SerenityOS/serenity/pull/18563
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