mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Implement RemoveProperty, SetProperty, and supported property indices.
This commit is contained in:
parent
acf86a65e4
commit
9d82e06e64
6 changed files with 173 additions and 70 deletions
|
@ -5,6 +5,7 @@
|
|||
// This file is a Mako template: http://www.makotemplates.org/
|
||||
|
||||
pub use std::ascii::AsciiExt;
|
||||
use std::fmt;
|
||||
use std::fmt::Show;
|
||||
|
||||
use servo_util::logical_geometry::{WritingMode, LogicalMargin};
|
||||
|
@ -2673,6 +2674,12 @@ impl PropertyDeclaration {
|
|||
}
|
||||
}
|
||||
|
||||
impl Show for PropertyDeclaration {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{}: {}", self.name(), self.value())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub mod style_structs {
|
||||
use super::longhands;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue