mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
style: Preserve font-family identifier sequence when serializing.
This commit is contained in:
parent
b701d726f2
commit
8899328634
4 changed files with 59 additions and 26 deletions
|
@ -14,7 +14,7 @@ use servo_url::ServoUrl;
|
|||
use std::borrow::ToOwned;
|
||||
use std::sync::Mutex;
|
||||
use std::sync::atomic::AtomicBool;
|
||||
use style::computed_values::font_family::FamilyName;
|
||||
use style::computed_values::font_family::{FamilyName, FamilyNameSyntax};
|
||||
use style::context::QuirksMode;
|
||||
use style::error_reporting::{ParseErrorReporter, ContextualParseError};
|
||||
use style::media_queries::MediaList;
|
||||
|
@ -254,7 +254,7 @@ fn test_parse_stylesheet() {
|
|||
CssRule::FontFeatureValues(Arc::new(stylesheet.shared_lock.wrap(FontFeatureValuesRule {
|
||||
family_names: vec![FamilyName {
|
||||
name: Atom::from("test"),
|
||||
quoted: false,
|
||||
syntax: FamilyNameSyntax::Identifiers(String::from("test")),
|
||||
}],
|
||||
swash: vec![
|
||||
FFVDeclaration {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue