mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
CSSOM bits for @supports: CSSConditionRule and CSSSupportsRule, with conditionText attribute
This commit is contained in:
parent
1b0842e228
commit
b4a83b6cec
12 changed files with 199 additions and 5 deletions
|
@ -185,3 +185,9 @@ impl Index<Range<Position>> for ServoUrl {
|
|||
&self.0[range]
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Url> for ServoUrl {
|
||||
fn from(url: Url) -> Self {
|
||||
ServoUrl::from_url(url)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue