Bug 1633228 [wpt PR 23254] - Fix mobile table, a=testonly

Automatic update from web-platform-tests
for larger tables on mobile, you have to wrap in a div

and set overflow to auto so that they'll scroll the div instead of the window

--

wpt-commits: 5e7cbed423a3040dc8ca50359dd033a46dba5cf4
wpt-pr: 23254
This commit is contained in:
Anthony Frehner 2020-04-28 11:45:02 +00:00
Родитель 711e677ef3
Коммит bd409af798
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -4,4 +4,8 @@ div.body {
#video-introduction-transcript iframe { #video-introduction-transcript iframe {
max-width: 100%; max-width: 100%;
}
.table-container {
overflow: auto;
} }

Просмотреть файл

@ -482,6 +482,8 @@ use [git](https://git-scm.com) to perform more powerful searches.
The following table lists some common search criteria and examples of how they The following table lists some common search criteria and examples of how they
can be expressed using regular expressions: can be expressed using regular expressions:
<div class="table-container">
```eval_rst ```eval_rst
================================= ================== ========================== ================================= ================== ==========================
Criteria Example match Example regular expression Criteria Example match Example regular expression
@ -494,6 +496,8 @@ CSS property name ``style="foo: 4"`` ``([{;=\"']|\s|^)foo\s+:``
================================= ================== ========================== ================================= ================== ==========================
``` ```
</div>
Bear in mind that searches like this are not necessarily exhaustive. Depending Bear in mind that searches like this are not necessarily exhaustive. Depending
on the feature, it may be difficult (or even impossible) to write a query that on the feature, it may be difficult (or even impossible) to write a query that
correctly identifies all relevant tests. This strategy can give a helpful correctly identifies all relevant tests. This strategy can give a helpful