mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
Issue #1826 - Serialize special calc() number values
This commit is contained in:
parent
79800a9113
commit
6a0c0925e5
4 changed files with 235 additions and 14 deletions
|
|
@ -782,7 +782,6 @@ public:
|
|||
float GetFloatValue() const
|
||||
{
|
||||
MOZ_ASSERT(eCSSUnit_Number <= mUnit, "not a float value");
|
||||
MOZ_ASSERT(!mozilla::IsNaN(mValue.mFloat));
|
||||
return mValue.mFloat;
|
||||
}
|
||||
|
||||
|
|
@ -2040,4 +2039,3 @@ private:
|
|||
} // namespace mozilla
|
||||
|
||||
#endif /* nsCSSValue_h___ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue