mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add some documentation to the style crate.
This commit is contained in:
parent
14dc1199df
commit
79e0d18a1d
21 changed files with 123 additions and 21 deletions
|
@ -2,6 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//! High-level interface to CSS selector matching.
|
||||
|
||||
#![allow(unsafe_code)]
|
||||
|
||||
use animation::{self, Animation};
|
||||
|
@ -27,8 +29,6 @@ use util::cache::{LRUCache, SimpleHashCache};
|
|||
use util::opts;
|
||||
use util::vec::ForgetfulSink;
|
||||
|
||||
/// High-level interface to CSS selector matching.
|
||||
|
||||
fn create_common_style_affecting_attributes_from_element<E: TElement>(element: &E)
|
||||
-> CommonStyleAffectingAttributes {
|
||||
let mut flags = CommonStyleAffectingAttributes::empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue