mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Auto merge of #13870 - pcwalton:anonymous-table-rewrite, r=mbrubeck
layout: Rewrite anonymous table code, simplify and fix table intrinsic width calculation, and improve safety of flexbox code. Closes #13782. <!-- 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/13870) <!-- Reviewable:end -->
This commit is contained in:
commit
6b40f97289
139 changed files with 932 additions and 896 deletions
|
@ -171,3 +171,47 @@ svg > * {
|
|||
*|*::-servo-input-text {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
*|*::-servo-table-wrapper {
|
||||
display: table;
|
||||
border: none;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table-wrapper {
|
||||
position: static;
|
||||
margin: 0;
|
||||
counter-increment: none;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table {
|
||||
display: table;
|
||||
position: static;
|
||||
border: none;
|
||||
padding: 0;
|
||||
counter-increment: none;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table-row {
|
||||
display: table-row;
|
||||
position: static;
|
||||
border: none;
|
||||
counter-increment: none;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table-cell {
|
||||
display: table-cell;
|
||||
position: static;
|
||||
border: none;
|
||||
counter-increment: none;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-block {
|
||||
display: block;
|
||||
position: static;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue