Bug 1157083 <abbr> and <acronym> should use dotted underline of text-decoration instead of border-bottom r=dbaron

This commit is contained in:
Masayuki Nakano 2015-04-24 11:02:35 +09:00
parent ee333796b2
commit cadd376534
4 changed files with 1 additions and 38 deletions

View File

@ -60,7 +60,6 @@ fuzzy(116,64) HTTP(..) == 1115916-1-vertical-metrics.html 1115916-1-vertical-met
== ua-style-sheet-border-3.html ua-style-sheet-border-3-ref.html
== ua-style-sheet-border-4.html ua-style-sheet-border-4-ref.html
== ua-style-sheet-border-5.html ua-style-sheet-border-5-ref.html
== ua-style-sheet-border-6.html ua-style-sheet-border-6-ref.html
== ua-style-sheet-size-1.html ua-style-sheet-size-1-ref.html
== ua-style-sheet-size-2.html ua-style-sheet-size-2-ref.html

View File

@ -1,20 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Test for logical margins on abbr elements in the UA style sheet</title>
<style>
.v-rl { writing-mode: vertical-rl; }
.ltr, .rtl, .v-rl { border: 1px solid blue; padding: 16px; }
abbr { border: none; }
.ltr abbr { border-bottom: 1px dotted; }
.rtl abbr { border-bottom: 1px dotted; }
.v-rl abbr { border-left: 1px dotted; }
</style>
<div class=ltr>
<abbr title=Title>Abbrev.</abbr>
</div>
<div class=rtl dir=rtl>
<abbr title=Title>Abbrev.</abbr>
</div>
<div class=v-rl>
<abbr title=Title>Abbrev.</abbr>
</div>

View File

@ -1,16 +0,0 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Test for logical borders on abbr elements in the UA style sheet</title>
<style>
.v-rl { writing-mode: vertical-rl; }
.ltr, .rtl, .v-rl { border: 1px solid blue; padding: 16px; }
</style>
<div class=ltr>
<abbr title=Title>Abbrev.</abbr>
</div>
<div class=rtl dir=rtl>
<abbr title=Title>Abbrev.</abbr>
</div>
<div class=v-rl>
<abbr title=Title>Abbrev.</abbr>
</div>

View File

@ -560,7 +560,7 @@ mark {
/* titles */
abbr[title], acronym[title] {
border-block-end: dotted 1px;
text-decoration: dotted underline;
}
/* lists */