mirror of
https://github.com/servo/servo.git
synced 2025-09-10 23:18:20 +01:00
Auto merge of #13445 - pcwalton:button-whitespace, r=mbrubeck
resources: Give button elements `white-space: normal` again.
Fixes Twitter.
Originally regressed in 0a86543e6d
.
r? @metajack
<!-- 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/13445)
<!-- Reviewable:end -->
This commit is contained in:
commit
6693c92c03
4 changed files with 40 additions and 1 deletions
|
@ -1220,6 +1220,18 @@
|
|||
"url": "/_mozilla/css/button_css_width.html"
|
||||
}
|
||||
],
|
||||
"css/button_whitespace_a.html": [
|
||||
{
|
||||
"path": "css/button_whitespace_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/button_whitespace_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/button_whitespace_a.html"
|
||||
}
|
||||
],
|
||||
"css/calc-basic.html": [
|
||||
{
|
||||
"path": "css/calc-basic.html",
|
||||
|
@ -14918,6 +14930,18 @@
|
|||
"url": "/_mozilla/css/button_css_width.html"
|
||||
}
|
||||
],
|
||||
"css/button_whitespace_a.html": [
|
||||
{
|
||||
"path": "css/button_whitespace_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/button_whitespace_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/button_whitespace_a.html"
|
||||
}
|
||||
],
|
||||
"css/calc-basic.html": [
|
||||
{
|
||||
"path": "css/calc-basic.html",
|
||||
|
|
7
tests/wpt/mozilla/tests/css/button_whitespace_a.html
Normal file
7
tests/wpt/mozilla/tests/css/button_whitespace_a.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="button_whitespace_ref.html">
|
||||
<button>A
|
||||
|
||||
B</button>
|
5
tests/wpt/mozilla/tests/css/button_whitespace_ref.html
Normal file
5
tests/wpt/mozilla/tests/css/button_whitespace_ref.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<button>A B</button>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue