Cleanup generic font-family handling.
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
It was itching since I fixed bug 1536718, so I cleaned it up a bit.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
To be more similar between Rust and C++. This introduces GenericFontFamily and
exposes that plus FontFamilyNameSyntax to C++, using that where appropriate
instead of plain uint8_t as we were doing.
As a follow-up, as discussed on IRC with Jonathan, we can remove the -moz-fixed
family, and turn it just into an alias of Monospace.
The only non-trivial change is the MatchType changes, but they're ok I think.
The code already assumed at most one CSS generic, and the struct still takes 8
bits. I've verified that the relevant tests are passing (though try is closed).
Depends on D24271
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Backed out 3 changesets (bug 1537594, bug 1537575) for causing build bustages on mathml/nsMathMLChar.cpp CLOSED TREE
Backout revision https://hg.mozilla.org/integration/autoland/rev/8d2f695cecaf1cbbaa38623569e55357ab8cd5a9
Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=237409659&repo=autoland
Emilio could you please take a look?
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/429346732b02
https://hg.mozilla.org/mozilla-central/rev/15c4170c3192
Description
•