mirror of
https://github.com/servo/servo.git
synced 2025-07-12 18:03:49 +01:00
Issue #10284 Ignore alternate stylesheets
This commit is contained in:
parent
d1e8b79583
commit
c39c7533ca
6 changed files with 5460 additions and 4 deletions
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Reference of Alternate css</title>
|
||||
<link rel="match" href="alternate-css-ref.html">
|
||||
<link rel="stylesheet" href="preferred.css" title="preferred">
|
||||
<div>foobar</div>
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Alternate css</title>
|
||||
<link rel="match" href="alternate-css-ref.html">
|
||||
<link rel="stylesheet" href="preferred.css" title="preferred">
|
||||
<link rel="alternate stylesheet" href="alternate.css" title="alternate">
|
||||
<div>foobar</div>
|
|
@ -0,0 +1,3 @@
|
|||
div {
|
||||
background-color: red;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
div {
|
||||
border: 4px solid green;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue