mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Wait as late as possible to assign ClipIds
This will allow Servo to create ClipScrollNodes later during display list construction, which will be necessary once rounded rectangles are removed from the LocalClip structure. Instead of keeping track of the ClipId of each ClipScrollNode, we keep track of its index in an array of ClipScrollNodes. This will allow us to access them without a hash lookup.
This commit is contained in:
parent
a296e386af
commit
5937f62352
8 changed files with 365 additions and 274 deletions
|
@ -189,6 +189,11 @@ svg > * {
|
|||
position: static;
|
||||
margin: 0;
|
||||
counter-increment: none;
|
||||
|
||||
/* We don't want anonymous table parts to inherit hidden overflow, because
|
||||
* they will create extra unnecessary ClipScrollNodes which also throws
|
||||
* off assignment of contained flows. */
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table {
|
||||
|
@ -197,6 +202,7 @@ svg > * {
|
|||
border: none;
|
||||
padding: 0;
|
||||
counter-increment: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table-row {
|
||||
|
@ -204,6 +210,7 @@ svg > * {
|
|||
position: static;
|
||||
border: none;
|
||||
counter-increment: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-table-cell {
|
||||
|
@ -211,6 +218,7 @@ svg > * {
|
|||
position: static;
|
||||
border: none;
|
||||
counter-increment: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
*|*::-servo-anonymous-block {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue