mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Upgrade stylo to 2024-07-16 (#32812)
* Upgrade stylo to 2024-07-16 Signed-off-by: Martin Robinson <mrobinson@igalia.com> * Use the new `dom` crate from stylo Signed-off-by: Martin Robinson <mrobinson@igalia.com> --------- Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
60e65c175d
commit
569fd5d8b5
33 changed files with 70 additions and 106 deletions
|
@ -7,9 +7,9 @@ https://html.spec.whatwg.org/multipage/#presentational-hints
|
|||
|
||||
pre[wrap] { white-space: pre-wrap; }
|
||||
|
||||
div[align=left i] { text-align: -servo-left; }
|
||||
div[align=right i] { text-align: -servo-right; }
|
||||
div[align=center i], div[align=middle i] { text-align: -servo-center; }
|
||||
div[align=left i] { text-align: -moz-left; }
|
||||
div[align=right i] { text-align: -moz-right; }
|
||||
div[align=center i], div[align=middle i] { text-align: -moz-center; }
|
||||
div[align=justify i] { text-align: justify; }
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ table {
|
|||
/*
|
||||
* FIXME(pcwalton): Actually saying `text-align: initial` above breaks `<table>` inside `<center>`
|
||||
* in quirks mode. This is because we (following Gecko, WebKit, and Blink) implement the HTML5
|
||||
* align-descendants rules with a special `text-align: -servo-center`. `text-align: initial`, if
|
||||
* align-descendants rules with a special `text-align: -moz-center`. `text-align: initial`, if
|
||||
* placed on the `<table>` element per the spec, would break this behavior. So we place it on
|
||||
* `<tbody>` instead.
|
||||
*/
|
||||
|
|
|
@ -112,7 +112,7 @@ td[align="left"] { text-align: left; }
|
|||
td[align="center"] { text-align: center; }
|
||||
td[align="right"] { text-align: right; }
|
||||
|
||||
center { text-align: -servo-center; }
|
||||
center { text-align: -moz-center; }
|
||||
|
||||
label { cursor: default; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue