<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>
This commit is contained in:
Sebastian C 2024-02-10 15:27:50 -06:00 committed by GitHub
parent 35fb95ca85
commit 0342d6beb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 7 deletions

View file

@ -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 {

View file

@ -1,8 +1,5 @@
[setting-overflow-visible.html]
type: testharness
[control]
expected: FAIL
[overflow: visible]
expected: FAIL

View file

@ -1,3 +0,0 @@
[setting-overflow-visible.html]
[control]
expected: FAIL