mirror of
https://github.com/servo/servo.git
synced 2025-10-02 01:29:15 +01:00
Auto merge of #10319 - Mylainos:Issue-#10284, r=emilio
Issue #10284 Ignore alternate stylesheets <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10319) <!-- Reviewable:end -->
This commit is contained in:
commit
6171188f59
6 changed files with 5460 additions and 4 deletions
File diff suppressed because it is too large
Load diff
|
@ -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