Auto merge of #10438 - KiChjang:text-decoration-fix, r=mbrubeck

Properly inherit text decorations

Fixes #8684.
Fixes #8783.

<!-- 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/10438)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-08 03:39:41 +05:30
commit eda8784c34
14 changed files with 62 additions and 52 deletions

View file

@ -1,3 +0,0 @@
[text-decoration-applies-to-006.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[text-decoration-applies-to-008.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[text-decoration-applies-to-009.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[text-decoration-applies-to-010.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[text-decoration-applies-to-011.htm]
type: reftest
expected: FAIL

View file

@ -3299,6 +3299,18 @@
"url": "/_mozilla/css/no_image_background_a.html"
}
],
"css/non-inline-block-resets-underline-property.html": [
{
"path": "css/non-inline-block-resets-underline-property.html",
"references": [
[
"/_mozilla/css/non-inline-block-resets-underline-property-ref.html",
"=="
]
],
"url": "/_mozilla/css/non-inline-block-resets-underline-property.html"
}
],
"css/noscript.html": [
{
"path": "css/noscript.html",
@ -9769,6 +9781,18 @@
"url": "/_mozilla/css/no_image_background_a.html"
}
],
"css/non-inline-block-resets-underline-property.html": [
{
"path": "css/non-inline-block-resets-underline-property.html",
"references": [
[
"/_mozilla/css/non-inline-block-resets-underline-property-ref.html",
"=="
]
],
"url": "/_mozilla/css/non-inline-block-resets-underline-property.html"
}
],
"css/noscript.html": [
{
"path": "css/noscript.html",

View file

@ -1,4 +0,0 @@
[text_decoration_propagation_a.html]
type: reftest
expected: FAIL
bug: https://github.com/servo/servo/issues/8783

View file

@ -0,0 +1,11 @@
<!doctype html>
<meta charset="utf-8">
<title></title>
<body>
<style>
.u { text-decoration: underline; }
</style>
<div class='u'>a</div>
<div class='u'>b</div>
<div class='u'>c</div>
</body>

View file

@ -0,0 +1,12 @@
<!doctype html>
<meta charset="utf-8">
<title></title>
<link rel="match" href="non-inline-block-resets-underline-property-ref.html">
<body>
<style>
.u { text-decoration: underline; }
</style>
<div class='u'>a</div>
<div class='u'><div>b</div></div>
<div class='u'><div style="display:inline">c</div></div>
</body>