diff --git a/Cargo.lock b/Cargo.lock index 89a654dbd84..f3a5627ae5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1298,7 +1298,7 @@ dependencies = [ [[package]] name = "derive_common" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "darling", "proc-macro2", @@ -1486,7 +1486,7 @@ dependencies = [ [[package]] name = "dom" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "bitflags 2.6.0", ] @@ -4117,7 +4117,7 @@ dependencies = [ [[package]] name = "malloc_size_of" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "accountable-refcell", "app_units", @@ -5910,7 +5910,7 @@ dependencies = [ [[package]] name = "selectors" version = "0.24.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "bitflags 2.6.0", "cssparser", @@ -6198,7 +6198,7 @@ dependencies = [ [[package]] name = "servo_arc" version = "0.2.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "serde", "stable_deref_trait", @@ -6207,7 +6207,7 @@ dependencies = [ [[package]] name = "servo_atoms" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "string_cache", "string_cache_codegen", @@ -6425,7 +6425,7 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "size_of_test" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "static_assertions", ] @@ -6566,7 +6566,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_prefs" version = "0.1.0" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" [[package]] name = "strck" @@ -6619,7 +6619,7 @@ dependencies = [ [[package]] name = "style" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "app_units", "arrayvec", @@ -6677,7 +6677,7 @@ dependencies = [ [[package]] name = "style_config" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "lazy_static", ] @@ -6685,7 +6685,7 @@ dependencies = [ [[package]] name = "style_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "darling", "derive_common", @@ -6716,7 +6716,7 @@ dependencies = [ [[package]] name = "style_traits" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "app_units", "bitflags 2.6.0", @@ -7083,7 +7083,7 @@ dependencies = [ [[package]] name = "to_shmem" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "cssparser", "servo_arc", @@ -7096,7 +7096,7 @@ dependencies = [ [[package]] name = "to_shmem_derive" version = "0.0.1" -source = "git+https://github.com/servo/stylo?branch=2024-07-16#e70c56124cdb7064ebafcd3bf3392d48b5aa3de8" +source = "git+https://github.com/servo/stylo?branch=2024-07-16#f1f1ce0e737ae8f99522cc52c47e2c6363789e28" dependencies = [ "darling", "derive_common", diff --git a/resources/user-agent.css b/resources/user-agent.css index 33884f8ea0f..aaefb90d866 100644 --- a/resources/user-agent.css +++ b/resources/user-agent.css @@ -296,7 +296,10 @@ table { text-indent: initial; } td, th { padding: 1px; } -th { font-weight: bold; } +th { + font-weight: bold; + text-align: -moz-center-or-inherit; +} thead, tbody, tfoot, table > tr { vertical-align: middle; } tr, td, th { vertical-align: inherit; } diff --git a/tests/wpt/meta/css/css-tables/th-text-align.html.ini b/tests/wpt/meta/css/css-tables/th-text-align.html.ini deleted file mode 100644 index 01a4b1f4e58..00000000000 --- a/tests/wpt/meta/css/css-tables/th-text-align.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[th-text-align.html] - expected: FAIL diff --git a/tests/wpt/meta/html/rendering/non-replaced-elements/tables/table-attribute.html.ini b/tests/wpt/meta/html/rendering/non-replaced-elements/tables/table-attribute.html.ini index 187307c0f5f..85eb50a84b9 100644 --- a/tests/wpt/meta/html/rendering/non-replaced-elements/tables/table-attribute.html.ini +++ b/tests/wpt/meta/html/rendering/non-replaced-elements/tables/table-attribute.html.ini @@ -113,12 +113,6 @@ [table td align attribute justify is correct] expected: FAIL - [table th align attribute center is correct] - expected: FAIL - - [table th align attribute middle is correct] - expected: FAIL - [table th align attribute left is correct] expected: FAIL @@ -145,6 +139,3 @@ [table cellpadding attribute is correct] expected: FAIL - - [th default align attribute is center] - expected: FAIL