mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add a user agent style for the <slot>
element (#37174)
In Chromium, the slot user agent stylesheet is located in [html.css](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=1654). Testing: This change fixes `tests/wpt/meta/shadow-dom/directionality-001.tentative.html.ini`. Signed-off-by: kongbai1996 <1782765876@qq.com>
This commit is contained in:
parent
c6e37e83e4
commit
1f315e6c9c
2 changed files with 4 additions and 2 deletions
|
@ -265,4 +265,8 @@ select {
|
|||
padding: 0 0.25em;
|
||||
/* Don't show a text cursor when hovering selected option */
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
slot {
|
||||
display: contents;
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
[directionality-001.tentative.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue