<hr> elements are expected to have a default overflow:hidden#31297
<hr> elements are expected to have a default overflow:hidden#31297Loirooriol merged 3 commits intoservo:mainfrom
Conversation
|
🔨 Triggering try run (#7840633245) for Linux WPT layout-2020 |
|
Test results for linux-wpt-layout-2020 from try job (#7840633245): Flaky unexpected result (10)
Stable unexpected results that are known to be intermittent (16)
Stable unexpected results (1)
|
|
|
mrobinson
left a comment
There was a problem hiding this comment.
This is a nice change, but while fixing this would it be possible to update <hr> to use the full set of style defined at https://html.spec.whatwg.org/multipage/rendering.html#the-hr-element-2:
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;
}See whatwg/html#2724 Signed-off-by: Sebastian C <[email protected]>
Signed-off-by: Sebastian C <[email protected]>
fa17cf2 to
b124d8e
Compare
|
🔨 Triggering try run (#7848928684) for Linux WPT layout-2020 |
|
Test results for linux-wpt-layout-2020 from try job (#7848928684): Flaky unexpected result (18)
Stable unexpected results that are known to be intermittent (18)
|
|
✨ Try run (#7848928684) succeeded. |
|
The test is also passing on legacy layout, you need to remove |
Signed-off-by: Sebastian C <[email protected]>
…1297) * <hr> elements are expected to have a default overflow:hidden See whatwg/html#2724 Signed-off-by: Sebastian C <[email protected]> * Use full defined hr style Signed-off-by: Sebastian C <[email protected]> * update legacy test expectation Signed-off-by: Sebastian C <[email protected]> --------- Signed-off-by: Sebastian C <[email protected]>
See whatwg/html#2724
This adds the required styling to the UA stylesheet.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsI'm not sure why the WPT test /html/rendering/non-replaced-elements/the-hr-element-0/hr.html currently passes, but while fixing #22838 the test started failing. Once both these land the test should be passing again.