Auto merge of #13737 - pcwalton:expand-matches, r=emilio

resources: Avoid using `:matches` in `presentational-hints.css`, since we don't support it.

Based on IRC discussions, this was determined to be an acceptable
stopgap in lieu of implementing `:matches`, which has complicated
precedence rules.

Improves Google search results.

r? @nox

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13737)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-13 12:51:53 -05:00 committed by GitHub
commit dc5dc5e614
4 changed files with 93 additions and 24 deletions

View file

@ -5220,6 +5220,18 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/table_valign_presentational_hint_a.html": [
{
"path": "css/table_valign_presentational_hint_a.html",
"references": [
[
"/_mozilla/css/table_valign_presentational_hint_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_valign_presentational_hint_a.html"
}
],
"css/table_vertical_align_margin_padding.html": [
{
"path": "css/table_vertical_align_margin_padding.html",
@ -19002,6 +19014,30 @@
"url": "/_mozilla/css/table_specified_width_a.html"
}
],
"css/table_valign_presentational_hint_a.html": [
{
"path": "css/table_valign_presentational_hint_a.html",
"references": [
[
"/_mozilla/css/table_valign_presentational_hint_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_valign_presentational_hint_a.html"
}
],
"css/table_valign_presentational_hint_ref.html": [
{
"path": "css/table_valign_presentational_hint_ref.html",
"references": [
[
"/_mozilla/css/table_valign_presentational_hint_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_valign_presentational_hint_ref.html"
}
],
"css/table_vertical_align_margin_padding.html": [
{
"path": "css/table_vertical_align_margin_padding.html",

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="table_valign_presentational_hint_ref.html">
<table>
<tr valign=top>
<td>Hello<br>world</td>
<td>Hi</td>
</tr>
</table>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="table_valign_presentational_hint_ref.html">
<table>
<tr style="vertical-align: top">
<td>Hello<br>world</td>
<td>Hi</td>
</tr>
</table>