aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorSebastian C <sebscoolmail@gmail.com>2024-02-10 15:27:50 -0600
committerGitHub <noreply@github.com>2024-02-10 21:27:50 +0000
commit0342d6beb006e402f393df46d1ebb82eb0578462 (patch)
tree2708d9b0d028b3dea37a01a2a085302d741d3926 /resources
parent35fb95ca8586f404795c3f5fae4d975d8d5a7ef4 (diff)
downloadservo-0342d6beb006e402f393df46d1ebb82eb0578462.tar.gz
servo-0342d6beb006e402f393df46d1ebb82eb0578462.zip
<hr> elements are expected to have a default overflow:hidden (#31297)
* <hr> elements are expected to have a default overflow:hidden See https://github.com/whatwg/html/pull/2724 Signed-off-by: Sebastian C <sebsebmc@gmail.com> * Use full defined hr style Signed-off-by: Sebastian C <sebsebmc@gmail.com> * update legacy test expectation Signed-off-by: Sebastian C <sebsebmc@gmail.com> --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/user-agent.css11
1 files changed, 10 insertions, 1 deletions
diff --git a/resources/user-agent.css b/resources/user-agent.css
index 8cd49048d4c..34ddc161c47 100644
--- a/resources/user-agent.css
+++ b/resources/user-agent.css
@@ -266,7 +266,16 @@ input[type="submit"], select, button {
input, textarea, select, button { display: inline-block; }
-hr { color: gray; border-style: inset; border-width: 1px; margin: 0.5em auto; }
+hr {
+ color: gray;
+ border-style: inset;
+ border-width: 1px;
+ margin-block-start: 0.5em;
+ margin-inline-end: auto;
+ margin-block-end: 0.5em;
+ margin-inline-start: auto;
+ overflow: hidden;
+}
fieldset {