Update details to support ::details-content pseudo element.#42107
Update details to support ::details-content pseudo element.#42107mrobinson merged 1 commit intoservo:mainfrom
::details-content pseudo element.#42107Conversation
| .unwrap(); | ||
| details_content | ||
| .upcast::<Node>() | ||
| .set_implemented_pseudo_element(PseudoElement::DetailsContent); |
There was a problem hiding this comment.
Was ::-servo-details-content even working? I don't see where it was assigned to this node.
There was a problem hiding this comment.
No I don't think it was, because when I got the new one wired up the rendering was wonky with the original styles.
There was a problem hiding this comment.
It seems to have been created in 2016 so probably got partially refactored out at some point.
There was a problem hiding this comment.
I definitely didn't wire it up when I implemented the current version of <details> :D
62741be to
5aef944
Compare
|
🔨 Triggering try run (#21288678797) for Linux (WPT) |
|
🔨 Triggering try run (#21290625117) for Linux (WPT) |
|
|
|
Test results for linux-wpt from try job (#21290625117): Flaky unexpected result (41)
Stable unexpected results that are known to be intermittent (24)
Stable unexpected results (1)
|
|
|
5beadd0 to
fc8ebb8
Compare
|
Shouldn't this wait for the stylo PR to be merged? |
|
Yep, jumped the gun there. Thanks for catching that! |
|
The Servo PR should land shortly. |
fc8ebb8 to
52240c6
Compare
This is currently not element-backed but will support the basic styling. Signed-off-by: Luke Warlow <[email protected]>
52240c6 to
903df4b
Compare
|
Have updated this to use the new stylo revision and then squashed. |
Update details to support
::details-contentpseudo element.This is currently not element-backed but will support the basic styling.
This replaces the existing
::-servo-details-contentstyling.Testing: WPTs and manually using https://demo.lukewarlow.dev/css-forms.html
Stylo PR: servo/stylo#292